UNPKG

@yandex/ui

Version:

Yandex UI components

19 lines (18 loc) 1.18 kB
/// <reference types="react" /> import { ExtractProps } from '@bem-react/core'; export * from '../Icon'; export declare const Icon: import("react").StatelessComponent<{ direction?: "left" | "top" | "right" | "bottom" | undefined; size?: "head" | "s" | "ns" | "xs" | "m" | "n" | "l" | undefined; style?: import("react").CSSProperties | undefined; url?: string | undefined; className?: string | undefined; children?: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, string | any | (new (props: any) => import("react").Component<any, any, any>)> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined; title?: string | undefined; onClick?: ((event: import("react").MouseEvent<HTMLSpanElement, MouseEvent>) => void) | undefined; } & {} & { glyph?: "carets-v" | "type-arrow" | "type-check" | "type-close" | "type-cross" | "type-cross-websearch" | "type-filter" | "type-indeterminate" | "type-tick" | "x-sign" | undefined; } & { type?: "filter" | "close" | "arrow" | "cross" | "cross-websearch" | undefined; }>; export declare type IIconProps = ExtractProps<typeof Icon>;