Skip to content

Commit

Permalink
docs: update themization (#1468)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulcanellee authored Nov 27, 2024
1 parent 4dfb7fc commit 60e26e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .storybook/theming-wizard/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ export const config: Question[] = [
label: 'corp',
value: 'corp',
},
{
label: 'mobile',
value: 'mobile',
},
{
label: 'site',
value: 'site',
Expand Down
6 changes: 3 additions & 3 deletions .storybook/theming-wizard/questions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const Questions: FC<QuestionsProps> = ({ config = [], answers, onChange =

return (
<Space>
{config.map(question => (
{config.map((question) => (
<RadioGroup
key={question.name}
label={<Typography.Text weight='bold'>{question.title}</Typography.Text>}
Expand All @@ -34,8 +34,8 @@ export const Questions: FC<QuestionsProps> = ({ config = [], answers, onChange =
onChange={(_, payload) => handleChange(question.name, payload)}
value={answers[question.name]}
>
{question.variants.map(variant => (
<Radio {...variant} key={variant.value} />
{question.variants.map((variant) => (
<Radio {...variant} key={variant.value} align='center' />
))}
</RadioGroup>
))}
Expand Down

0 comments on commit 60e26e2

Please sign in to comment.