From 2b99eed2579bcd722e2385b5daec4521ed5cd052 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Tue, 15 Jun 2021 02:04:59 +0100 Subject: [PATCH] Update components --- src/components/FeatureCard/index.tsx | 9 ++++++++- src/components/index.tsx | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/components/FeatureCard/index.tsx b/src/components/FeatureCard/index.tsx index c6592d1..f900594 100644 --- a/src/components/FeatureCard/index.tsx +++ b/src/components/FeatureCard/index.tsx @@ -1,12 +1,14 @@ import { Box, Text } from '..'; import { Backend, Frontend } from '../../assets'; import { FeatureOutput } from '../../graphql/types'; +import { theme } from '../../themes'; type FeatureCardProps = { feature: FeatureOutput; selectable?: boolean; selected?: boolean; toggleSelect?: () => void; + color?: 'client' | 'productOwner' | 'developer' | 'admin'; }; const FeatureCard = ({ @@ -14,13 +16,18 @@ const FeatureCard = ({ selectable = false, selected = false, toggleSelect = () => {}, + color, }: FeatureCardProps) => { return ( {}} display='grid' gridTemplateRows='auto' diff --git a/src/components/index.tsx b/src/components/index.tsx index f3eed71..2248e62 100644 --- a/src/components/index.tsx +++ b/src/components/index.tsx @@ -26,6 +26,8 @@ import FrontendFeatureCard from './FrontendFeatureCard'; import BackendFeatureCard from './BackendFeatureCard'; import Specification from './Specification'; import Chip from './Chip'; +import CategoryCard from './CategoryCard'; +import TemplateCard from './TemplateCard'; export { Button, @@ -56,4 +58,6 @@ export { BackendFeatureCard, Specification, Chip, + CategoryCard, + TemplateCard, };