Skip to content

Commit

Permalink
semi
Browse files Browse the repository at this point in the history
  • Loading branch information
Arashayo committed Dec 2, 2023
1 parent 195505a commit 6880ef1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ui/src/components/TextLink/TextLink.stories.jsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
import React from 'react';
import TextLink from './TextLink';
import React from 'react'
import TextLink from './TextLink'

export default {
title: 'Components/TextLink',
component: TextLink,
argTypes: {
external: {
control: 'boolean',
},
},
};
control: 'boolean'
}
}
}

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

export const InternalLink = Template.bind({});
export const InternalLink = Template.bind({})
InternalLink.args = {
url: '/page',
text: 'Internal Link',
external: false,
external: false
};

export const ExternalLink = Template.bind({});
ExternalLink.args = {
url: 'https://www.put.poznan.pl',
text: 'External Link',
external: true,
};
external: true
}

0 comments on commit 6880ef1

Please sign in to comment.