UNPKG

wix-style-react

Version:
20 lines 687 B
export default Highlighter; declare class Highlighter extends React.PureComponent<any, any, any> { static propTypes: { /** Applied as data-hook HTML attribute that can be used in the tests */ dataHook: PropTypes.Requireable<string>; /** match to highlight */ match: PropTypes.Requireable<string>; /** style of highlight */ emphasize: PropTypes.Requireable<string>; }; constructor(props: any); nextChildKey: () => string; render(): React.JSX.Element; } declare namespace Highlighter { let displayName: string; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=Highlighter.d.ts.map