I am working on developing a small and straightforward npm package that leverages react. The challenge I'm facing is the need to import the CSS file from the dist folder and have it automatically imported with the export. Is this achievable?
import React from 'react'
import FlyingButton from 'react-flying-item'
import 'react-flying-item/dist/index.css'
const App = () => {
return (
<div>
<img
src='https://lp2.hm.com/hmgoepprod?set=source[/50/8f/508f356497bf61b98794ad904348d4b7599284c2.jpg],origin[dam],category[men_shirts_longsleeved],type[DESCRIPTIVESTILLLIFE],res[m],hmver[2]&call=url[file:/product/style]'
alt=''
/>
<FlyingButton src='https://lp2.hm.com/hmgoepprod?set=source[/50/8f/508f356497bf61b98794ad904348d4b7599284c2.jpg],origin[dam],category[men_shirts_longsleeved],type[DESCRIPTIVESTILLLIFE],res[m],hmver[2]&call=url[file:/product/style]'>
fly
</FlyingButton>
</div>
)
}
export default App