Repository of icons used inside of CoBlocks, ready to use either as a React Component or plain SVG file.
See the complete list.
npm install @godaddy-wordpress/coblocks-icons
import { SettingsIcon } from '@godaddy-wordpress/coblocks-icons
return (
<div>{ SettingsIcon }</div>
)
import { Icon } from '@wordpress/icons';
import { SettingsIcon } from '@godaddy-wordpress/coblocks-icons';
return (
<Icon icon={ SettingsIcon } size={ 32 } />
)
npm version minor
git push
git push --tags
npm publish