Open Geczy opened 1 year ago
It is not planned to introduce these features as they might increase bundle size significantly or mess up with tree-shaking
why would it increase bundle size or mess up tree shaking? these are just css classes
see here https://github.com/Yummygum/react-flagpack/blob/main/src/Flag.scss#L100
and usage here https://github.com/Yummygum/react-flagpack/blob/main/src/Flag.tsx#L27
@rtivital any update?
I'm not planning to work on this any time soon. If you want this feature, you are welcome to submit a PR. Note that you will need to test that tree shacking works.
how do we take advantage of the original flagpack options?
https://flagpack.xyz/docs/design/#styles
https://www.npmjs.com/package/react-flagpack
hoping for all props to become available