Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix: fix textbutton imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mthomann committed Jan 8, 2023
1 parent 321f4a1 commit fe58bc0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/form/form.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Form } from './form';
import { Label, LabelSizes } from '../typography/label';
import { Stack, StackDirections, StackSpacings } from '../../layout/stack/stack';
import { Input, InputTypes } from './form-input';
import { TextButton, TextButtonColors, TextButtonDisplayModes, TextButtonSizes } from '../buttons/text-button';
import { TextButton, TextButtonColor, TextButtonDisplayMode, TextButtonSize } from '../buttons/text-button';
import { IconCancel } from '../icons/icon-cancel';
import { IconCheckmark } from '../icons/icon-checkmark';

Expand Down Expand Up @@ -72,19 +72,19 @@ export const ExampleForm: ComponentStory<typeof Form> = () => {
/>
<Stack direction={StackDirections.row} spacing={StackSpacings.xs}>
<TextButton
color={TextButtonColors.slate}
size={TextButtonSizes.m}
color={TextButtonColor.slate}
size={TextButtonSize.m}
icon={<IconCancel />}
displayMode={TextButtonDisplayModes.fullWidth}
displayMode={TextButtonDisplayMode.fullWidth}
onClick={() => action('Form cancel')}
>
Abbrechen
</TextButton>
<TextButton
color={TextButtonColors.violet}
size={TextButtonSizes.m}
color={TextButtonColor.violet}
size={TextButtonSize.m}
icon={<IconCheckmark />}
displayMode={TextButtonDisplayModes.fullWidth}
displayMode={TextButtonDisplayMode.fullWidth}
onClick={() => action('Form submit')}
>
Speichern
Expand Down

0 comments on commit fe58bc0

Please sign in to comment.