glamorous-pseudo
Install
npm install -S glamorous-pseudo
Basic Usage
<Pseudo = = = = = = ="block" = ="center"> <h1>Hello</h1></Pseudo> // Create your own ui libraryconst A = props <Pseudo = /> <A = ="https://startup.com"> Startup</A>
Props
GlamorousComponent
component glamorousDiv glamorousA glamorousSpan ...
Any props passed to Pseudo
will be passed through to component
object
after :after
styles
object
before :before
styles
object
focus :focus
styles
object
hover :hover
styles
object
active :active
styles
object
visited :visited
styles