/*! Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. */
import * as React from 'react';
import Screener, { Steps } from 'screener-storybook/src/screener';
import { storiesOf } from '@storybook/react';
import { FabricDecorator } from '../utilities';
import { Link } from 'office-ui-fabric-react';
storiesOf('Link', module)
.addDecorator(FabricDecorator)
.addDecorator(story => (
{story()}
))
.addStory(
'Root',
() => (
I'm a link
),
{ rtl: true },
)
.addStory('Disabled', () => (
I'm a disabled link
))
.addStory('No Href', () => (
I'm rendered as a button because I have no href
))
.addStory('No Href Disabled', () => (
I'm rendered as a button because I have no href and am disabled
));