@salesforce/design-system-react
Version:
Salesforce Lightning Design System for React
18 lines (16 loc) • 435 B
TypeScript
declare module '@salesforce/design-system-react/components/utilities/highlighter' {
import React from 'react';
type Props = {
/**
* The full string to display.
*/
children?: string | number | boolean | React.ReactNode;
className?: string;
/**
* The string of text (or Regular Expression) to highlight.
*/
search?: PropTypes.any;
};
function Component(props: Props): JSX.Element;
export default Component;
}