We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using an array on the css prop to merge styles, I expect the order to be in reverse, like CSS.
css
Expected:
export const H1: FramerComponent<{}> = props => { const style = Style({fontSize: 32}); return <h1 css={[style, props.css]}>{props.children}</h1>; };
Currently should do this to make it work:
export const H1: FramerComponent<{}> = props => { const style = Style({fontSize: 32}); return <h1 css={[props.css, style]}>{props.children}</h1>; };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using an array on the
css
prop to merge styles, I expect the order to be in reverse, like CSS.Expected:
Currently should do this to make it work:
The text was updated successfully, but these errors were encountered: