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.

13 lines
300 B

6 years ago
import ReactIcon from '@ant-design/icons-react';
6 years ago
export function setTwoToneColor(primaryColor: string): void {
return ReactIcon.setTwoToneColors({
primaryColor,
});
}
6 years ago
export function getTwoToneColor(): string {
const colors = ReactIcon.getTwoToneColors();
return colors.primaryColor;
}