react-wired-elements
Version:
Wired Elements as React components. TypeScript types included.
15 lines (14 loc) • 431 B
TypeScript
import { BaseProps } from './types';
export interface WiredImageProps extends BaseProps {
/**
* Gives the button a sketchy height.
* @default 1
*/
elevation?: 1 | 2 | 3 | 4 | 5;
/**
* URL of the image.
* @default 'http://placekitten.com/200/300'
*/
src?: string;
}
export declare const WiredImage: ({ elevation, src, className, style, }: WiredImageProps) => JSX.Element;