aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/toolbar/settings.stories.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/organisms/toolbar/settings.stories.tsx')
-rw-r--r--src/components/organisms/toolbar/settings.stories.tsx24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/organisms/toolbar/settings.stories.tsx b/src/components/organisms/toolbar/settings.stories.tsx
index aab4b9e..9d04932 100644
--- a/src/components/organisms/toolbar/settings.stories.tsx
+++ b/src/components/organisms/toolbar/settings.stories.tsx
@@ -8,7 +8,21 @@ import Settings from './settings';
export default {
title: 'Organisms/Toolbar/Settings',
component: Settings,
+ args: {
+ ackeeStorageKey: 'ackee-tracking',
+ motionStorageKey: 'reduced-motion',
+ },
argTypes: {
+ ackeeStorageKey: {
+ control: {
+ type: 'text',
+ },
+ description: 'Set Ackee settings local storage key.',
+ type: {
+ name: 'string',
+ required: true,
+ },
+ },
className: {
control: {
type: 'text',
@@ -32,6 +46,16 @@ export default {
required: true,
},
},
+ motionStorageKey: {
+ control: {
+ type: 'text',
+ },
+ description: 'Set Reduced motion settings local storage key.',
+ type: {
+ name: 'string',
+ required: true,
+ },
+ },
setIsActive: {
control: {
type: null,