UNPKG

grepsr-ui-elements

Version:

32 lines (31 loc) 840 B
/// <reference types="react" /> import PropTypes from "prop-types"; interface WidgetProps { title: string; count?: number; caption: string; content: string; rowSpacing: number; columnSpacing: number; } export { WidgetProps }; declare const GrepsrWidget: { (props: WidgetProps): JSX.Element; defaultProps: { title: string; count: number; caption: string; content: string; rowSpacing: number; columnSpacing: number; }; propTypes: { title: PropTypes.Validator<string>; count: PropTypes.Requireable<number>; caption: PropTypes.Validator<string>; content: PropTypes.Validator<string>; rowSpacing: PropTypes.Validator<number>; columnSpacing: PropTypes.Validator<number>; }; }; export default GrepsrWidget;