Skip to content

Commit 81c5c74

Browse files
authored
fix: update IconProps import path to phosphor-react-native to allow ts type augmentation (#69)
1 parent 7f2d5c5 commit 81c5c74

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)