react-toolbox/components/index.d.ts

23 lines
502 B
TypeScript
Raw Normal View History

2016-07-24 14:17:16 +03:00
export declare namespace __ReactToolbox {
interface Props {
/**
* Set a class for the root component.
*/
className?: string;
/**
* Key used to uniquely identify the element within an Array.
*/
key?: string | number;
/**
* Callback called when the component is clicked.
*/
onClick?: __React.MouseEventHandler;
/**
* Set inline style for the root component.
*/
style?: __React.CSSProperties;
}
}
export default __ReactToolbox;