@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
9 lines • 427 B
TypeScript
/**
* Extracts the count value from table header/filter text.
*
* Parses various counter string formats and extracts the relevant numeric value:
* - "Items (100)" - Extracts 100 (first number found)
* - "1/100" - Extracts 100 (denominator of fraction, representing total count)
* - "100+" - Extracts 100 (first number found)
*/
export declare const parseCountValue: (countText: string | undefined) => number | undefined;