omi/components/o-icon
dntzhang cf5a4cfa27 publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00
..
demos/js-demo publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00
scripts publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00
src publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00
README.md publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00
package.json publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00
tsconfig.json publish(@omiu/o-icon) 2020-04-28 18:48:58 +08:00

README.md

OIcon

SVG Icon

Import

import '@omiu/o-icon'

Or use script tag to ref it.

<script src="https://unpkg.com/@omiu/o-icon"></script>

Usage

<o-o-icon></o-o-icon>

API

Props

{
  path?: string,
  paths?: object,
  view?: number,
  scale?: number,
  color?: string,
  rotate?: boolean
}

默认属性

{
  view: 1024,
  scale: 2
)