Anchorage API reference
    Preparing search index...
    interface FilterBarProps {
        disabled?: boolean;
        filter: ApprovalListFilter;
        now?: () => number;
        onApply: (filter: ApprovalListFilter) => void;
    }
    Index

    Properties

    disabled?: boolean

    The dashboard's EFFECTIVE filter (dashboard.filter) — seeds the drafts.

    now?: () => number

    Injectable clock for the age presets; read in the Apply handler only.

    onApply: (filter: ApprovalListFilter) => void

    dashboard.setFilter — called with the built filter on Apply/Reset.