You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

732 B

order title debug
999 [{zh-CN 覆盖组件样式} {en-US Override Component Style}] 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>
);