- I choose the "Variant" attribute name instead of "Type" because the latter has a different HTML meaning and I did not want it to be mixed up.
- The IconButton component depends on @fiscozen/Icon, therefore the IconButton exposes the same (prefixed) props. Importing actual icons will not be necessary when using the
string
icon name. Using theArray<string>
iconName prop requires to import icons, please refer to its README.
@fiscozen/button
0.1.2 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @fiscozen/button
Weekly Downloads
445
Version
0.1.2
License
ISC
Unpacked Size
235 kB
Total Files
25