cjet-icon
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Icon

install

npm install @rainbow_deer/icon
or
yarn add @rainbow_deer/icon

Usage

import React, { useState } from 'react'
import Icon from '@rainbow_deer/icon'

export default () => {
  return (
    <>
      <Icon type='close' />
      <Icon type='success' />
      <Icon type='error' />
      <Icon type='warning' />
    </>
  )
}

props

export interface IconProps {
  icon: string
  className?: string
  style?: React.CSSProperties
}

Readme

Keywords

Package Sidebar

Install

npm i cjet-icon

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

34.2 kB

Total Files

8

Last publish

Collaborators

  • xiahao6898