UNPKG

@stratakit/react

Version:

A React component library for StrataKit

17 lines (16 loc) 755 B
import * as React from "react"; import type { Icon as IuiIcon } from "@itwin/itwinui-react"; import type { PolymorphicForwardRefComponent } from "./~utils.js"; type IuiIconProps = React.ComponentProps<typeof IuiIcon>; interface IconProps extends Pick<IuiIconProps, "size" | "fill" | "padded"> { /** BREAKING CHANGE. Overridden with `React.JSX.Element`. */ children?: React.JSX.Element; /** PARTIALLY IMPLEMENTED. Only supports `large` and `medium` size. Other values are mapped to `medium`. */ size?: IuiIconProps["size"]; /** NOT IMPLEMENTED. */ fill?: IuiIconProps["fill"]; /** NOT IMPLEMENTED. */ padded?: IuiIconProps["padded"]; } export declare const Icon: PolymorphicForwardRefComponent<"svg", IconProps>; export {};