0.2.7 • Published 7 months ago
v6desginsystem v0.2.7
Component List
Button Componet
It will take Following Interface
interface ButtonProps extends margin, labelProps {
variant?: keyof typeof theme.colors;
title?: string;
width?: number;
height?: number;
textColor?: keyof typeof theme.colors;
selected?: boolean;
borderColor?: keyof typeof theme.colors;
bgColor?: keyof typeof theme.colors;
radius?: 'circle' | keyof typeof theme.genericSizes;
onPress?: () => void;
isShadow?: boolean;
selectedColor?: keyof typeof theme.colors;
}
interface labelProps {
isLabelVisibel?: boolean;
label: string;
iKey: string;
labelColor?: keyof typeof theme.colors;
fontWeight?: keyof typeof theme.weight;
fontSize?: keyof typeof theme.genericSizes;
}
## Text Component
**It will take Following Interface**
```javascript
interface TextProps {
size?: number;
color?: string;
bold?: number;
italic?: boolean;
children: string;
textAlign?: 'left' | 'right' | 'center' | 'justify' | 'auto';
}
***EXAMPLE***
`<TextComponent bold={600} color={theme.colors.secondary} size={18} key={"KnightBoys"}>Knight Boys</TextComponent>`
0.2.7
7 months ago
0.2.6
8 months ago
0.2.5
8 months ago
0.2.4
8 months ago
0.2.3
8 months ago
0.2.2
8 months ago
0.2.1
8 months ago
0.2.0
8 months ago
0.1.9
8 months ago
0.1.8
8 months ago
0.1.7
8 months ago
0.1.6
8 months ago
0.1.5
8 months ago
0.1.4
9 months ago
0.1.3
9 months ago
0.0.3
9 months ago
0.0.2
9 months ago
1.0.0
9 months ago