wix-style-react
Version:
wix-style-react
20 lines • 687 B
TypeScript
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