import { css, styled } from 'jstyles';
const titleClass = css`
color: 'red'
`
// <h2 className={titleClass}>hello world</h2>
const Div = styled('div')`
padding: '20px',
font-size ${p => p.size || '20px'};
`;
// <Div size={'32px'} />
-
Notifications
You must be signed in to change notification settings - Fork 0
A css-in-js package.
License
romellogoodman/jstyles
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A css-in-js package.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published