Skip to content

Commit

Permalink
improving the locale and scale for Chromatic Languages/ActionButton
Browse files Browse the repository at this point in the history
  • Loading branch information
ktabors committed Mar 29, 2023
1 parent 7f07155 commit a937d59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,13 @@ storiesOf('Button/ActionButton', module)
);

storiesOf('Languages/ActionButton', module)
.addParameters({chromaticProvider: {locales: ['en-US', 'ja-JP']}})
.addParameters({
chromaticProvider: {
colorSchemes: ['light'],
express: false,
locales: ['en-US', 'ja-JP'],
scales: ['large', 'medium']
}})
.add(
'Japanese, icon + text, staticColor: white',
() => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
*/
import {ComponentMeta, Story} from '@storybook/react';
import {Item, Picker, Section} from '..';
import {SpectrumPickerProps} from '@react-types/select';
import React from 'react';
import {SpectrumPickerProps} from '@react-types/select';

export default {
title: 'Languages/Picker',
Expand Down

0 comments on commit a937d59

Please sign in to comment.