iTwin / viewer-components-react

Components built on iTwin.js for usability in an iTwin.js based Viewer.
MIT License
24 stars 33 forks source link

Stateless tree widget: Add thousands separator to the filter dialog result count #960

Closed Yato333 closed 2 weeks ago

Yato333 commented 2 weeks ago

Closes #910 count was renamed to instanceCount because it serves a special purpose in the translation library options type.

export interface TranslationOptions {
    /** for interpolation values */
    [key: string]: any;
    /**
     * count value used for plurals
     */
    count?: number;
}