autoSelectText.stories.js 379 B

12345678910111213141516
  1. import AutoSelectText from 'sentry/components/autoSelectText';
  2. export default {
  3. title: 'Utilities/Text/Auto Select',
  4. component: AutoSelectText,
  5. };
  6. export const Default = () => <AutoSelectText>Click to highlight text</AutoSelectText>;
  7. Default.storyName = 'Auto Select';
  8. Default.parameters = {
  9. docs: {
  10. description: {
  11. story: 'Select text on click',
  12. },
  13. },
  14. };