UNPKG

@stratakit/react

Version:

A React component library for StrataKit

18 lines (17 loc) 850 B
import * as React from "react"; import type { Button as IuiButton } from "@itwin/itwinui-react"; import type { PolymorphicForwardRefComponent } from "./~utils.js"; type IuiButtonProps = React.ComponentProps<typeof IuiButton>; interface ButtonProps extends Pick<IuiButtonProps, "size" | "styleType" | "startIcon" | "endIcon" | "labelProps" | "startIconProps" | "endIconProps" | "stretched" | "loading" | "htmlDisabled"> { /** NOT IMPLEMENTED. */ size?: IuiButtonProps["size"]; /** NOT IMPLEMENTED. */ labelProps?: IuiButtonProps["labelProps"]; /** NOT IMPLEMENTED. */ stretched?: IuiButtonProps["stretched"]; /** NOT IMPLEMENTED. */ loading?: IuiButtonProps["loading"]; } /** @see https://itwinui.bentley.com/docs/button */ export declare const Button: PolymorphicForwardRefComponent<"button", ButtonProps>; export {};