Function useSelectedFiltersCount

  • Returns number

    The number of selected filters.

    import { useSelectedFiltersCount } from '@nosto/preact'
    export default () => {
    const selectedFiltersCount = useSelectedFiltersCount()
    return (
    <div>
    {selectedFiltersCount} filters selected
    </div>
    )
    }