import "./Tile.css"; import { ComponentProps, ElementType, ForwardedRef, ReactNode, SyntheticEvent } from "react"; import { InteractionStatesProps } from "../../shared"; export interface InnerTileProps extends InteractionStatesProps { /** * A controlled checked value. */ checked?: boolean | null; /** * The initial value of `checked` when uncontrolled. */ defaultChecked?: boolean; /** * The value to associate with when in a group. */ value?: string; /** * Called when the tile checked state change. * @param {SyntheticEvent} event - React's original event. * @param {bool} isChecked - Whether the tile is checked or not. * @returns {void} */ onChange?: (event: SyntheticEvent, isChecked: boolean) => void; /** * The orientation of the tile. */ orientation?: "horizontal" | "vertical"; /** * Whether or not the tile should autoFocus on render. */ autoFocus?: boolean | number; /** * Whether or not the tile is disabled. */ disabled?: boolean; /** * An HTML element type or a custom React element type to render as. */ as?: ElementType; /** * React children. */ children: ReactNode; /** * @ignore */ forwardedRef: ForwardedRef; } export declare function InnerTile(props: InnerTileProps): JSX.Element; export declare const Tile: import("../../shared").OrbitComponent; export declare type TileProps = ComponentProps;