import * as React from "react"; import { StoryFn, Meta } from "@storybook/react"; import { Link, ResetLink } from ".."; import { Text } from "../../styleUtils/typography"; import { LinkProps } from "../types"; export default { title: "Navigation/Link", component: Link, subcomponents: { ResetLink } }; const Template: StoryFn = args => ( Visit D2iQ ); export const Default = { render: Template }; export const _ResetLink = { render: args => (
ResetLink will reset inherited Link styles to take on new styles. This red text is a link {" "} that is inheriting color from a Text component.
) };