Skip to content

Commit

Permalink
chore: add text #id to StoryCopyClipboard component
Browse files Browse the repository at this point in the history
  • Loading branch information
wrspada02 committed Oct 8, 2024
1 parent 4124fea commit dda5275
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { CopyToClipboard } from 'react-copy-to-clipboard';

const StoryCopyIdClipboard = ({ id }) => (
<CopyToClipboard text={id}>
<CopyToClipboard text={`#${id}`}>
<p>#{id}</p>
</CopyToClipboard>
);
Expand Down

0 comments on commit dda5275

Please sign in to comment.