import { moduleMetadata }                       from '@storybook/angular';
import { Canvas, Meta, Story, Props }  from '@storybook/addon-docs';

import { TwigContainerComponent }               from '../../../../utils/twig-container/twig-container.component';


<Meta
    title='Components/Link'
    decorators={[
        moduleMetadata({ declarations: [TwigContainerComponent]})
    ]}
    argTypes={{}}
/>


# Link

<br/>


## Drupal

> There is no Link Drupal component in Bifrost.
> Just, use Bifrost classes <b>.bf-link</b>.

export const Drupal = (args) => ({
    component: TwigContainerComponent,
    props: args,
});


<Canvas withSource='none'>
    <Story
        name='Drupal'
        height='600px'
        args={{
            elementPath : 'components/link/_doc/template.drupal',
        }}
    >
        {Drupal.bind({})}
    </Story>
</Canvas>
