You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
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. };