How to use the @ant-design/icons-react.getTwoToneColors function in @ant-design/icons-react

To help you get started, we’ve selected a few @ant-design/icons-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ant-design / ant-design / components / icon / twoTonePrimaryColor.ts View on Github external
export function getTwoToneColor(): string {
  const colors = ReactIcon.getTwoToneColors();
  return colors.primaryColor;
}

@ant-design/icons-react

<h1 align="center"> Ant Design Icons for React </h1>

MIT
Latest version published 5 years ago

Package Health Score

69 / 100
Full package analysis