destyle-ts
v1.0.5
Published
Style reset for typescript. Converted desyle.css to style object.
Downloads
18
Maintainers
Readme
Destyle.ts
Style reset for typescript. Converted desyle.css to style object.
🚀 Install
npm i destyle-ts
📕 Example
Detach default styles example with Stitches.
import { destyle } from 'destyle-ts'
// Stitches
import { globalCss } from '@stitches/react'
const initStyle = globalCss(destyle)
// Root Component
const App = () => {
return (
<>
{initStyle()}
<YOUR_COMPONENT />
</>
)
}