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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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}`);