Skip to content

Commit ddb395f

Browse files
committed
chore: docs
1 parent f37f304 commit ddb395f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/docs/src/containers/theme-studio/preview-components.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ const subscriptionsChartConfig: ChartConfig = {
130130
},
131131
};
132132

133+
const currYear = new Date().getFullYear()
134+
const currMonth = new Date().getMonth()
135+
133136
function MetricsStrip({
134137
items = [
135138
['Total Revenue', '$15,231.89', '+20.1% from last month'],
@@ -386,7 +389,7 @@ function CardsPreview(): React.ReactElement {
386389
<div className="theme-studio__cards-bottom-pair">
387390
<Card className="theme-studio__cards-panel theme-studio__cards-panel_calendar">
388391
<Card.Content>
389-
<Calendar value={new Date(2025, 5, 6)} fullscreen={false} />
392+
<Calendar selectionMode="range" defaultRangeValue={[new Date(currYear, currMonth, 5), new Date(currYear, currMonth, 15)]} fullscreen={false} />
390393
</Card.Content>
391394
</Card>
392395

0 commit comments

Comments
 (0)