cf5a4cfa27 | ||
---|---|---|
.. | ||
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-o-icon></o-o-icon>
API
Props
{
path?: string,
paths?: object,
view?: number,
scale?: number,
color?: string,
rotate?: boolean
}
默认属性
{
view: 1024,
scale: 2
)