File size: 680 Bytes
cf86710 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # Function: useActiveModifiers()
> **useActiveModifiers**(`day`, `displayMonth`?): [`ActiveModifiers`](../type-aliases/ActiveModifiers.md)
Return the active modifiers for the specified day.
This hook is meant to be used inside internal or custom components.
## Parameters
| Parameter | Type | Description |
| :------ | :------ | :------ |
| `day` | `Date` | |
| `displayMonth`? | `Date` | |
## Returns
[`ActiveModifiers`](../type-aliases/ActiveModifiers.md)
## Source
[src/hooks/useActiveModifiers/useActiveModifiers.tsx:12](https://github.com/gpbl/react-day-picker/blob/9ad13dc72fff814dcf720a62f6e3b5ea38e8af6d/src/hooks/useActiveModifiers/useActiveModifiers.tsx#L12)
|