react-smart-data-table
Version:
A smart data table component for React.js meant to be configuration free
20 lines (19 loc) • 605 B
TypeScript
import type { PropsWithChildren } from 'react';
import PropTypes from 'prop-types';
declare type HighlightValueProps = PropsWithChildren<{
filterValue: string;
'data-testid'?: string;
}>;
declare const HighlightValue: {
({ children, filterValue, "data-testid": testId, }: HighlightValueProps): JSX.Element;
propTypes: {
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
filterValue: PropTypes.Requireable<string>;
};
defaultProps: {
children: any;
filterValue: string;
'data-testid': string;
};
};
export default HighlightValue;