25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

23 satır
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. };