@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
22 lines (21 loc) • 893 B
TypeScript
import { ButtonToggleProps } from '../ButtonToggle';
import { SelectBoxProps } from '../SelectBox';
import { TagsProps } from '../Tags';
export interface ResultsHeadingProps {
/** Custom class added to the root element. */
className?: string;
/** The range of results being displayed, e.g. 1-10 */
numResults?: string;
/** The total count of results */
totalResults?: string;
/** The title to display instead the auto-generated one. Pass empty string to hide the title element completely. */
title?: string;
/** The sort input type as ButtonToggle */
buttonToggle?: ButtonToggleProps;
/** The sort input type as SelectBox */
selectBox?: SelectBoxProps;
/** The array of tags and the tags callback functions */
tags?: TagsProps;
}
declare const ResultsHeading: (resultsHeading: ResultsHeadingProps) => any;
export default ResultsHeading;