Skip to main content
The GlobalDateRangeSelection component allows users to select a date range that is shared across the application. When the selected date range changes, any component that relies on the global date range updates automatically. Global Date Range Selection
import { GlobalDateRangeSelection } from '@layerfi/components'

<GlobalDateRangeSelection />

{/* With labels visible */}
<GlobalDateRangeSelection showLabels />

Properties

showLabels
boolean
default:"false"
Controls whether labels are shown for the report period picker and start/end date fields.