Skip to content

Commit 19bc0b8

Browse files
authored
fix gradient illustration path copied by in docs (#7503)
1 parent 993de98 commit 19bc0b8

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
@@ -36,7 +36,7 @@ export function Illustrations() {
3636
size="XS"
3737
isQuiet
3838
aria-label="Copy"
39-
onPress={() => navigator.clipboard.writeText(`import ${name} from '@react-spectrum/s2/illustrations/${gradientStyle}/${icon}';`)}>
39+
onPress={() => navigator.clipboard.writeText(`import ${name} from '@react-spectrum/s2/illustrations/gradient/${gradientStyle}/${icon}';`)}>
4040
<Paste />
4141
</ActionButton>
4242
</span>

0 commit comments

Comments
 (0)