Skip to content

Commit

Permalink
docs: improve demo
Browse files Browse the repository at this point in the history
  • Loading branch information
aojunhao123 committed Jan 16, 2025
1 parent 94ce65e commit 1e6b29e
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion components/button/demo/component-token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,18 @@ const App: React.FC = () => (
<Button type="primary" disabled>
CONTAINED
</Button>
<Button disabled>OUTLINED</Button>
<ConfigProvider
theme={{
components: {
Button: {
colorBorderDisabled: 'rgba(0, 0, 0, 0.12)',
colorBgContainerDisabled: 'transparent',
},
},
}}
>
<Button disabled>OUTLINED</Button>
</ConfigProvider>
</Flex>
<Flex wrap gap="small">
<Button type="text" size="small">
Expand Down

0 comments on commit 1e6b29e

Please sign in to comment.