UNPKG

@cimpress/react-components

Version:
18 lines 847 B
import React, { DetailedHTMLProps, HTMLAttributes } from 'react'; import { PublicComponentProps } from './types'; export interface RobotProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, PublicComponentProps { /** * The contextual style for the background and the demeanor of the robot. One of success, info, warning, or danger. */ status: 'success' | 'info' | 'warning' | 'danger'; /** * Sets the size of the robot. One of sm or lg. Use the larger robot only for full-page messages. */ size?: 'sm' | 'lg'; /** * Uses an alternate robot image, if available. Not all states have alternates. */ alternate?: boolean; } export declare const Robot: ({ status, size, alternate, className, ...rest }: RobotProps) => React.JSX.Element; //# sourceMappingURL=Robot.d.ts.map