mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +08:00
13 lines
300 B
TypeScript
13 lines
300 B
TypeScript
import ReactIcon from '@ant-design/icons-react';
|
|
|
|
export function setTwoToneColor(primaryColor: string): void {
|
|
return ReactIcon.setTwoToneColors({
|
|
primaryColor,
|
|
});
|
|
}
|
|
|
|
export function getTwoToneColor(): string {
|
|
const colors = ReactIcon.getTwoToneColors();
|
|
return colors.primaryColor;
|
|
}
|