UNPKG

@platform/react

Version:

React refs and helpers.

20 lines (19 loc) 821 B
import * as React from 'react'; import { CssValue } from '@platform/css'; export declare type IFooProps = { children?: any; background?: number | string | boolean; padding?: number | string; width?: number | string; height?: number | string; minWidth?: number | string; minHeight?: number | string; maxWidth?: number | string; maxHeight?: number | string; block?: boolean; style?: CssValue; onClick?: (e: React.MouseEvent<HTMLDivElement>) => void; onMouseDown?: (e: React.MouseEvent<HTMLDivElement>) => void; onMouseUp?: (e: React.MouseEvent<HTMLDivElement>) => void; }; export declare const Foo: ({ children, background, padding, block, width, height, minWidth, minHeight, maxWidth, maxHeight, style, onClick, onMouseDown, onMouseUp, }: IFooProps) => JSX.Element;