1
0
Fork 0
freesewing/sites/shared/components/ribbon.mjs

8 lines
230 B
JavaScript
Raw Normal View History

export const Ribbon = ({ loading = false, theme = 'light' }) => (
2022-10-04 19:25:35 +02:00
<div
className={`flex flex-col justify-between p-0 transition-transform
${loading ? 'theme-gradient loading h-1' : 'h-0 -translate-y-1'}
`}
></div>
2022-09-20 09:08:51 +02:00
)