@blueeast/bluerain-plugin-material-ui
Version:
Adds [Material UI](http://www.material-ui.com/#/) theme Provider to BlueRain. Components of material-ui have been developed using a common interface. [https://blueeast.gitbook.io/bluerain-plugin-material-ui](https://blueeast.gitbook.io/bluerain-plugin-mat
19 lines (18 loc) • 887 B
TypeScript
import * as React from 'react';
import { ChipProperties } from '@blueeast/bluerain-ui-interfaces';
/**
* The universal props of Chip Component
* @param {Object} props.style Get the style object
* @param {ReactNode} props.children Content of the Chip
* The specific library props of Chip Component
* @param {string} props.label The content of the label.
* @param {ReactNode} props.onDelete Callback function fired when the delete icon is clicked. If set, the delete icon will be shown.
* @param {ReactNode} props.deleteIcon Custom delete icon element. Will be shown only if onDelete is set.
* @param {ReactNode} props.onClick Function when clicked on chip.
*/
export interface ChipMUIProperties extends ChipProperties {
component?: React.ReactType<any> | any;
}
declare const Chip: React.StatelessComponent<ChipMUIProperties>;
export default Chip;
export { ChipProperties };