styled_jsx 2.0.0

AST transforms visitor for styled-jsx
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export default function Home() {
    return (
        <>
            <style jsx>{`
            div {
                mask-image: -webkit-radial-gradient(
                    white,
                    black
                ); // Fixing a Safari bug where the corners of the polaroid are not rounded properly
            }
        `}</style>
        </>
    );
}