Skip to content

0.1.0-beta.6

Pre-release
Pre-release
Compare
Choose a tag to compare
@coderdiaz coderdiaz released this 08 Mar 21:45
· 3 commits to main since this release
01a77d0

Changelog

Feature 🚀

  • Added support for using component props to define styles using styled components. Check the example below:
    const StyledView = styled(View)<{ direction?: 'row' | 'column' }>((props) => {
       flexDirection: props.direction,
    });
    
    // Usage
    <StyledView direction="row" />