Skip to content

Commit

Permalink
docs: Add default stories; switch default theme to ENCOURA
Browse files Browse the repository at this point in the history
  • Loading branch information
joncursi committed Mar 22, 2024
1 parent 9fc83d1 commit ef67e79
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const decorators = [

export const globalTypes = {
theme: {
defaultValue: 'ACT_ET',
defaultValue: 'ENCOURA',
description: 'Global theme for components',
name: 'Theme',
toolbar: {
Expand Down
2 changes: 2 additions & 0 deletions src/components/AreaChart/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export default {
title: 'Molecules / Charts / AreaChart',
} as Meta<AreaChartProps>;

export const Default: StoryObj<AreaChartProps> = {};

export const WithMoreThanOneArea: StoryObj<AreaChartProps> = {
args: {
areaKeys: ['A', 'B'],
Expand Down
2 changes: 2 additions & 0 deletions src/components/BarChart/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export default {
title: 'Molecules / Charts / BarChart',
} as Meta<BarChartProps>;

export const Default: StoryObj<BarChartProps> = {};

export const WithCustomBarColors: StoryObj<BarChartProps> = {
args: {
barKeys: defaultBarKeys,
Expand Down
4 changes: 1 addition & 3 deletions src/components/LineChart/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@ export default {
title: 'Molecules / Charts / LineChart',
} as Meta<LineChartProps>;

export const Default: StoryObj<LineChartProps> = {
args: {},
};
export const Default: StoryObj<LineChartProps> = {};

export const WithCustomLineColors: StoryObj<LineChartProps> = {
args: {
Expand Down
4 changes: 1 addition & 3 deletions src/components/OverlappedBarChart/index.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ export default {
title: 'Molecules / Charts / OverlappedBarChart',
} as Meta<OverlappedBarChartProps>;

export const Default: StoryObj<OverlappedBarChartProps> = {
args: {},
};
export const Default: StoryObj<OverlappedBarChartProps> = {};

export const CustomBarColors: StoryObj<OverlappedBarChartProps> = {
args: {
Expand Down

0 comments on commit ef67e79

Please sign in to comment.