Package Exports
- @welcome-ui/icons
- @welcome-ui/icons/dist/icons.cjs.js
- @welcome-ui/icons/dist/icons.es.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@welcome-ui/icons) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@welcome-ui/icons
The Icons component from @welcome-ui.
Installation
yarn add @welcome-ui/iconsImport
import { ActionIcon } from '@welcome-ui/icons.actions'
import * as Icons from '@welcome-ui/icons'Documentation
See the documentation or package source for more details.
How to add icons in welcome-ui (from abstract)
Download the svg from abstract into the
icons/_assets/folder, using snake_case for the nameIf your icon is monochrome, check the presence of
fill="black"in the svg. If it is not present, change thefillattribute.Run
yarn iconsAdd your new icon(s) in the doc for
IconsandIconsFontrespectively indocs/pages/components/icons.mdxanddocs/pages/components/icons-font.mdxStart/Restart your front server
Go fetch a 🍺, you're done!