import Basic from './demo/basic';
import WithComplexChild from './demo/with-complex-child';
import WithCustomParentFontColor from './demo/with-custom-parent-font-color';
import CopyButton from './demo/copy-button';

export default {
  title: 'Basic/ClickToCopy',

  parameters: {
    docs: {
      description: {
        component: 'ClickToCopy allows the content that is wrapped in it to be copied with a single click.',
      },
    },
  },
};

Basic.argTypes = {
  locale: { control: 'select', options: ['en', 'zh'] },
  tip: { control: 'text' },
  unstyled: { control: 'boolean', defaultValue: false },
};

export { Basic, WithComplexChild, WithCustomParentFontColor, CopyButton };
