Box 🆕
box works as a View element
const Box = () => {
return <Box></Box>;
};
export default Box;
Api References
Parameter | Type | Description |
---|---|---|
bg | string | background color |
ws | number | width |
ht | number | height |
bd | number | borderRadius |
el | string | elevation |
sc | string | shadowColor |
sfw | number | shadowOffset Width |
sfh | number | shadowOffset height |
sho | number | shadowOpacity |
sR | number | shadowRadius |
style | any | your custom styles |