mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 11:00:58 +00:00
17 lines
398 B
TypeScript
17 lines
398 B
TypeScript
import { Meta } from '@storybook/react'
|
|
|
|
export const bootstrapVersionArg = 'bootstrapVersion'
|
|
|
|
export const bsVersionDecorator: Meta = {
|
|
argTypes: {
|
|
[bootstrapVersionArg]: {
|
|
name: 'Bootstrap Version',
|
|
description: 'Bootstrap version for components',
|
|
control: { type: 'inline-radio' },
|
|
options: ['3', '5'],
|
|
},
|
|
},
|
|
args: {
|
|
[bootstrapVersionArg]: '3',
|
|
},
|
|
}
|