We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c371aa8 commit dffdef4Copy full SHA for dffdef4
packages/uui-copy/lib/uui-copy.story.ts
@@ -219,3 +219,25 @@ export const AnimationDelay: Story = {
219
},
220
221
};
222
+
223
+export const WithDifferentIcon: Story = {
224
+ name: 'Different Icon',
225
+ args: {
226
+ value: 'I have used a different icon',
227
+ },
228
+ render: args => html`
229
+ <uui-copy .value=${args.value}>
230
+ <uui-icon name="clipboard"></uui-icon> Copy to Clipboard
231
+ </uui-copy>
232
+ `,
233
+ parameters: {
234
+ docs: {
235
+ source: {
236
+ code: `
237
+<uui-copy value="I have used a different icon">
238
239
+</uui-copy>`,
240
241
242
243
+};
0 commit comments