Update box component

This commit is contained in:
Hazem Krimi
2021-05-06 01:43:43 +01:00
parent 303d2d3610
commit b53a1e82ae
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -5,6 +5,9 @@ export type BoxProps = {
className?: string;
children?: React.ReactNode | JSX.Element | string;
onClick?: () => void;
cursor?: 'pointer' | 'default';
position?: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky';
zIndex?: string;
top?: string;
@@ -40,6 +43,8 @@ export type BoxProps = {
| 'flex-end'
| 'space-between'
| 'space-around';
alignSelf?: 'center' | 'flex-start' | 'flex-end';
justifySelf?: 'center' | 'flex-start' | 'flex-end';
boxSizing?: 'content-box' | 'border-box';
width?: string;