Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags quick fix #45

Merged
merged 2 commits into from
Feb 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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