@antscorp/icons
v0.27.54
Published
ANTS icons
Downloads
1,599
Keywords
Readme
Install
npm i @antscorp/icons
Basic Usage
// Icon global
import Icon from '@antscorp/icons';
import '@antscorp/icons/main.css';
ReactDOM.render(<Icon type='icon-ants-laptop' />, document.getElementById('root'));
//Icon antsomi
import Icon from '@antscorp/icons/antsomi';
ReactDOM.render(<Icon type='icon-antsomi' />, document.getElementById('root'))
Component Interface
interface IIcon extends React.HtmlHTMLAttributes<HTMLElement> {
overlayStyle?: React.CSSProperties
type?: string,
disabled?: boolean
}