885e5e8950 | ||
---|---|---|
.. | ||
demos/js-demo | ||
scripts | ||
src | ||
README.md | ||
package.json | ||
tsconfig.json |
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-icon></o-icon>
API
Props
{
path?: string,
paths?: object,
view?: number,
scale?: number,
color?: string,
rotate?: boolean
}
默认属性
{
view: 1024,
scale: 2
)