Open vbylen opened 3 years ago
Can you show some example use-case code-snippet?
Thats interesting case, so you can add
width: 100%;
border: none;
to your button
styles.
By default Squircle has 100% width while button by default is inlined which means it does not stretch horizontally.
Adding those it seems to look ok:
Could we implement an option to change the default width?
Wrapping an element with
<Squircle />
in thecomponent.js
file does not play nice with css imported from thecomponent.module.css
file.Any suggestions besides switching to styled components?
Great work.