Skip to content

Commit

Permalink
Tags quick fix (#45)
Browse files Browse the repository at this point in the history
* fix: tag to Tag in Storybook

* fix: Tags to Tag in Storybook
  • Loading branch information
dkireev committed Feb 20, 2023
1 parent ca14a16 commit 57f6751
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example/lib/src/storybook/stories/tag.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:storybook_flutter/storybook_flutter.dart';
class TagStory extends Story {
TagStory()
: super(
name: "Tags",
name: "Tag",
builder: (context) {
final customLabelTextKnob = context.knobs.text(
label: "Custom label text",
Expand All @@ -15,7 +15,7 @@ class TagStory extends Story {

final colorsKnob = context.knobs.options(
label: "backgroundColor",
description: "MoonColors variants for tag.",
description: "MoonColors variants for Tag.",
initial: 5, // bulma
options: colorOptions,
);
Expand All @@ -26,7 +26,7 @@ class TagStory extends Story {
max: 12,
initial: 4,
label: "borderRadius",
description: "Border radius for tag.",
description: "Border radius for Tag.",
);

final tagSizesKnob = context.knobs.options(
Expand All @@ -46,7 +46,7 @@ class TagStory extends Story {

final setUpperCase = context.knobs.boolean(
label: "isUpperCase",
description: "Sets the text style of the tag to upper case.",
description: "Sets the text style of the Tag to upper case.",
);

final showLeftIconKnob = context.knobs.boolean(
Expand Down

0 comments on commit 57f6751

Please sign in to comment.