import React from "react"; import styled from "styled-components"; /* eslint-disable import/no-unresolved */ import { Meta } from "@storybook/react/types-6-0"; import Heading from "../Heading/Heading"; import Input from "./Input"; import { scales } from "./types"; const Row = styled.div` display: flex; margin-bottom: 32px; & > input + input { margin-left: 16px; } `; export default { title: "Components/Input", component: Input, argTypes: {}, } as Meta; export const Default: React.FC = () => { return (
{Object.keys(scales).map((key) => ( <> {key} ))}
); };