plain-design 1.0.0-beta.2 → 1.0.0-beta.3

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plain-design",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "",
5
5
  "main": "dist/plain-design.min.js",
6
6
  "module": "dist/plain-design.commonjs.min.js",
@@ -3,7 +3,7 @@ import Plain from './index';
3
3
  import allIcons from 'plain-icons/dist/icons.js';
4
4
 
5
5
  // @ts-ignore
6
- Plain.Icon.PlainIcon.props.getIcon.default = (icon: string) => {
6
+ Plain.Icon.PlainIcon.use.options.props.getIcon.default = (icon: string) => {
7
7
  const iconMeta = (allIcons as any)[icon];
8
8
  if (!iconMeta) {
9
9
  throw new Error(`getIcon: can't find icon match ${icon}`);