@omiu/o-icon

SVG Icon

Usage no npm install needed!

<script type="module">
  import omiuOIcon from 'https://cdn.skypack.dev/@omiu/o-icon';
</script>

README

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
)