react-wired-elements
Version: 
Wired Elements as React components. TypeScript types included.
24 lines (23 loc) • 740 B
TypeScript
import * as React from 'react';
import { BaseProps } from './types';
export interface WiredCardProps extends BaseProps {
    /**
     * A color to fill the background of the card in a sketchy format.
     */
    fill?: string;
    /**
     * Gives the button a sketchy height.
     * @default 1
     */
    elevation?: 1 | 2 | 3 | 4 | 5;
    /**
     * Used internally to recompute the boundaries of the card when the children changes. This happens automatically.
     * @default
     */
    requestUpdate?(): void;
    /**
     * The children.
     */
    children?: React.ReactNode;
}
export declare const WiredCard: ({ requestUpdate, elevation, fill, children, className, style, }: WiredCardProps) => JSX.Element;