Skip to content

Commit f0d1e0c

Browse files
committed
fix: update IconProps import path to phosphor-react-native to allow ts type augmentation
1 parent 7f2d5c5 commit f0d1e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/generate-svg.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ const generateMainIconFile = (icon) => {
141141
const component = Case.pascal(icon);
142142
// const componentFileName = fileNameMap[component] || component;
143143
const componentName = componentNameMap[component] || component;
144-
const componentCode = `import { type IconProps } from '../lib'
144+
const componentCode = `import { type IconProps } from 'phosphor-react-native'
145145
146146
import IconBase from "../lib/icon-base";
147147
import weights from '../defs/${component}'

0 commit comments

Comments
 (0)