We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9adfb7 commit 7510a33Copy full SHA for 7510a33
.storybook/components/Icons.tsx
@@ -203,15 +203,17 @@ export function Icons() {
203
)}
204
/>
205
206
- <IconButton
207
- variant="tertiary"
208
- size="s"
209
- icon={iconComponents.Link}
210
- className={classes.copy}
211
- onClick={copyIconURL}
212
- >
213
- Copy URL
214
- </IconButton>
+ {navigator.clipboard && (
+ <IconButton
+ variant="tertiary"
+ size="s"
+ icon={iconComponents.Link}
+ className={classes.copy}
+ onClick={copyIconURL}
+ >
+ Copy URL
215
+ </IconButton>
216
+ )}
217
</div>
218
);
219
})}
0 commit comments