import React from 'react';
import { Legend } from '../..';
export default {
  title: 'Atoms / Legend',
  parameters: {
    component: Legend
  }
};
export var Docs = function Docs() {
  return React.createElement("p", null, "The Legend component defines a caption for the Fieldset component.");
};
export var DefaultStory = {
  render: function render() {
    return React.createElement(Legend, null, "Caption text");
  },
  name: 'Default'
};
export var LookingLikeALabel = {
  render: function render() {
    return React.createElement(Legend, {
      styleType: "label"
    }, "Caption text");
  },
  name: 'Looking like a label'
};