mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +08:00
732 B
732 B
order | title | debug | ||||
---|---|---|---|---|---|---|
999 |
|
true |
import { Button, ConfigProvider, Space } from 'antd';
export default () => (
<ConfigProvider
theme={{
override: {
Button: {
colorBgTextHover: 'red',
colorBgTextActive: 'blue',
},
},
}}
>
<Space>
<Button type="text">Text 1</Button>
<ConfigProvider
theme={{
override: {
Button: {
colorBgTextHover: 'orange',
colorBgTextActive: 'blue',
},
},
}}
>
<Button type="text">Text 2</Button>
</ConfigProvider>
</Space>
</ConfigProvider>
);