headingLink.stories.mdx

PHOTO EMBED

Mon Mar 25 2024 17:03:25 GMT+0000 (Coordinated Universal Time)

Saved by @rafal_rydz

import {HeadingLink} from "ui";
import {ArgsTable, Meta, Story} from "@storybook/addon-docs";

<Meta title="Components/Text/HeadingLink/old" component={HeadingLink}/>

export const Template = (args) => <HeadingLink {...args} />;

# HeadingLink

This component renders a styled `<H2>` and should be used for the most important headings on the page.

## Props

<ArgsTable story="Default"/>

## Examples

<Story
    name="Default"
    args={{
        icon: "home",
        text: "Example",
        href: "https://www.spot-ship.com",
        removeHover: false,
        background: "Info",
        fullWidth: false,
    }}
>
    {Template.bind({})}
</Story>
content_copyCOPY