• Version 2.0.1
  • Published
  • 25.8 kB
  • 2 dependencies
  • MIT license


npm i @ant-design/icons-react
yarn add @ant-design/icons-react
pnpm add @ant-design/icons-react


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



class Icon

class Icon extends React.Component<IconProps> {}

    property definitions

    static definitions: MiniMap<IconDefinition>;

      property displayName

      static displayName: string;

        method add

        static add: (...icons: IconDefinition[]) => void;

          method clear

          static clear: () => void;

            method get

            static get: (
            key?: string,
            colors?: TwoToneColorPalette
            ) => IconDefinition | undefined;

              method getTwoToneColors

              static getTwoToneColors: () => TwoToneColorPalette;

                method render

                render: () => any;

                  method setTwoToneColors

                  static setTwoToneColors: ({
                  }: TwoToneColorPaletteSetter) => void;


                    interface IconProps

                    interface IconProps {}

                      property className

                      className?: string;

                        property focusable

                        focusable?: string;

                          property onClick

                          onClick?: React.MouseEventHandler<SVGSVGElement>;

                            property primaryColor

                            primaryColor?: string;

                              property secondaryColor

                              secondaryColor?: string;

                                property style

                                style?: React.CSSProperties;

                                  property type

                                  type: string | IconDefinition;

                                    interface TwoToneColorPalette

                                    interface TwoToneColorPalette extends TwoToneColorPaletteSetter {}

                                      property secondaryColor

                                      secondaryColor: string;

                                        interface TwoToneColorPaletteSetter

                                        interface TwoToneColorPaletteSetter {}

                                          property primaryColor

                                          primaryColor: string;

                                            property secondaryColor

                                            secondaryColor?: string;

                                              Package Files (2)

                                              Dependencies (2)

                                              Dev Dependencies (19)

                                              Peer Dependencies (2)


                                              To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                              You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@ant-design/icons-react.

                                              • Markdown
                                              • HTML
                                                <a href="https://www.jsdocs.io/package/@ant-design/icons-react"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>