<filename>pages/components/daterangepicker/_amount.py
from datetime import datetime, timedelta

import dash_mantine_components as dmc

component = dmc.Group(
    spacing="xl",
    children=[
        dmc.DateRangePicker(
            value=[datetime.now().date(), datetime.now().date() + timedelta(days=5)],
            amountOfMonths=2,
            label="2 months",
            style={"width": 330},  # no-prism
        ),
        dmc.DateRangePicker(
            value=[datetime.now().date(), datetime.now().date() + timedelta(days=5)],
            amountOfMonths=3,
            label="3 months",
            style={"width": 330},  # no-prism
        ),
    ],
)

<filename>pages/components/daterangepicker/_amount.py
from datetime import datetime, timedelta

import dash_mantine_components as dmc

component = dmc.Group(
    spacing="xl",
    children=[
        dmc.DateRangePicker(
            value=[datetime.now().date(), datetime.now().date() + timedelta(days=5)],
            amountOfMonths=2,
            label="2 months",
            style={"width": 330},  # no-prism
        ),
        dmc.DateRangePicker(
            value=[datetime.now().date(), datetime.now().date() + timedelta(days=5)],
            amountOfMonths=3,
            label="3 months",
            style={"width": 330},  # no-prism
        ),
    ],
)

# no-prism # no-prism