extended-twind-theme
v0.2.0
Published
## Initial Setup
Downloads
4
Readme
Example using Twind
Initial Setup
import { setup } from 'twind';
import { plugins } from 'extended-twind-theme';
setup({
plugins: {
...plugins,
},
});
Now you can use these utility classes!
import { tw } from 'twind';
document.getElementById('app').innerHTML = `
<div class="${tw(['no-scrollbar', 'h-screen', 'overflow-y-auto'])}">
${Array.from({ length: 1000 }, () => 'Very long content<br />')}
</div>
`;