Skip to content

Commit 2aee256

Browse files
committed
fix import copied from illustrations
1 parent 9349d12 commit 2aee256

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook-s2/docs/Illustrations.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function Illustrations() {
3535
size="XS"
3636
isQuiet
3737
aria-label="Copy"
38-
onPress={() => navigator.clipboard.writeText(`import ${name} from '@react-spectrum/s2/illustrations/gradient/${gradientStyle}/${icon}';`)}>
38+
onPress={() => navigator.clipboard.writeText(`import ${icon} from '@react-spectrum/s2/illustrations/gradient/${gradientStyle}/${icon}';`)}>
3939
<Paste />
4040
</ActionButton>
4141
</span>

0 commit comments

Comments
 (0)