import { Description, Meta, Canvas, Story } from "@storybook/addon-docs"

import VBackToSearchResultsLink from "~/components/VBackToSearchResultsLink.vue"

<Meta
  title="Components/VBackToSearchResultsLink"
  component={VBackToSearchResultsLink}
/>

export const Template = (args) => ({
  template: `<VBackToSearchResultsLink v-bind="args"/>`,
  components: { VBackToSearchResultsLink },
  setup() {
    return { args }
  },
})

# VBackToSearchResultsLink

<Description of={VBackToSearchResultsLink} />

<Canvas>
  <Story name="Default" args={{ href: "#" }}>
    {Template.bind({})}
  </Story>
</Canvas>
