Mail Filter Bar
Data · MailFilterBar
Filters for a mail list in one row: account and domain (menus), unread, starred and with attachments (toggles), and the agent that handled the mail. "Clear filters" appears when any is set; count shows how many messages match. The value is { account, domain, agent, unread, starred, attachments }.
18 messages
Props
MailFilterBar
| Prop | Type | Notes |
|---|---|---|
value? | MailFilters | |
defaultValue? | MailFilters | |
onChange? | (filters: MailFilters) => void | |
accounts? | Option[] | |
domains? | Option[] | |
agents? | Option[] | Agents mail can be filtered by (mail an agent handled or drafted). |
count? | number | Messages matching, shown at the end. |
label? | string | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |