import { useState } from 'react'; import { action } from '@storybook/addon-actions'; import { Button } from '@storybook/react/demo'; import { Meta, Story, Preview, Props } from '@storybook/addon-docs/blocks';
Hello Button 😀 😎 👍 💯 {() => { const [counter, setCounter] = useState(0); const label = `Testing: ${counter}`; return setCounter(counter + 1)}>{label}; }}