import React from 'react' import { Flex, Link } from '../' import { HIDE_CONTROL, Story } from '../helpers/storybook' export default { title: 'Link', component: Link, args: { to: 'https://repaygithub.github.io/cactus/' }, } as const export const BasicUsage: Story = ({ children, to }) => ( {children} I'm a dark link! ) BasicUsage.argTypes = { variant: HIDE_CONTROL, children: { name: 'text' } } BasicUsage.args = { children: 'Click me!' } export const WithinABlockOfText: Story = (args) => ( To review the cactus documentation site, click here. ) WithinABlockOfText.storyName = 'Within a block of text' export const MultiLineLink: Story = (args) => ( To review the cactus documentation site, click here. ) MultiLineLink.storyName = 'Multi-line link'