1
0
Fork 0
freesewing/sites/shared/components/ribbon.js
2022-09-20 09:08:51 +02:00

10 lines
283 B
JavaScript

import themes from 'shared/themes/runtime.js'
const Ribbon = ({ loading=false, theme='light' }) => (
<div className={`flex flex-col justify-between p-0 transition-transform
${loading ? 'theme-gradient loading h-2' : 'h-0 -translate-y-2'}
`}></div>
)
export default Ribbon