選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

23 行
447 B

  1. import {createSearchForm} from "./SearchFormComponent";
  2. export default {
  3. title: 'Components/Search Form',
  4. parameters: {
  5. layout: 'padded',
  6. },
  7. args: {
  8. isExtended: false,
  9. }
  10. }
  11. const Template = ({...args}) => {
  12. return createSearchForm({...args});
  13. };
  14. export const SimpleSearchForm = Template.bind({});
  15. SimpleSearchForm.args = {};
  16. export const EventsSearchForm = Template.bind({});
  17. EventsSearchForm.args = {
  18. isExtended: true,
  19. };