1.0.2 • Published 3 years ago

@chrisryu/icons-react v1.0.2

Weekly downloads
39
License
MIT
Repository
-
Last release
3 years ago

@coreui/icons-react for CoreUI for React

npm package NPM downloads

docs:

https://coreui.io/react/docs/components/-Icon

install:
npm install @coreui/icons
npm install @coreui/icons-react
import:
import { CIcon } from '@coreui/icons-react';
import { cifAU } from '@coreui/icons';

or:

@import '~@coreui/icons/css/all.css';
usage:
...
class CoreUIIcons extends Component {
...
render() {
    return (
      <CIcon name="cil-list" size="2xl"/>
    )
}
...

  • bootstrapped with nwb toolkit
npm run scripts

package.json is configured with "scripts" we can use with npm run while developing the project.

CommandDescription
npm run buildprepare for publishing to npm
npm run cleandelete built resources
npm testrun tests
npm run test:coveragerun tests and produce a code coverage report in coverage/
npm run test:watchn/a start a test server and re-run tests on every change
npm startn/a start a development server for the demo app

see also: