@@ -49,22 +49,23 @@ type: component
4949
5050``` tsx example
5151import {DatePicker , Label , Group , Popover , Dialog , Calendar , CalendarGrid , CalendarCell , Button , Heading , DateInput , DateSegment } from ' react-aria-components' ;
52+ import {ChevronDown , ChevronLeft , ChevronRight } from ' lucide-react' ;
5253
5354<DatePicker >
5455 <Label >Date</Label >
5556 <Group >
5657 <DateInput >
5758 { segment => <DateSegment segment = { segment } />}
5859 </DateInput >
59- <Button >▼ </Button >
60+ <Button >< ChevronDown size = { 20 } /> </Button >
6061 </Group >
6162 <Popover >
6263 <Dialog >
6364 <Calendar >
6465 <header >
65- <Button slot = " previous" >◀ </Button >
66+ <Button slot = " previous" >< ChevronLeft size = { 20 } /> </Button >
6667 <Heading />
67- <Button slot = " next" >▶ </Button >
68+ <Button slot = " next" >< ChevronRight size = { 20 } /> </Button >
6869 </header >
6970 <CalendarGrid >
7071 { date => <CalendarCell date = { date } />}
@@ -197,7 +198,7 @@ Note that most of this anatomy is shared with [DateRangePicker](DateRangePicker.
197198
198199### Internationalization
199200
200- To ensure the proper date and time format in RTL locales, ` DateInput ` must have ` display ` set to either ` inline ` , ` inline-block ` , or ` block ` .
201+ To ensure the proper date and time format in RTL locales, ` DateInput ` must have ` display ` set to either ` inline ` , ` inline-block ` , or ` block ` .
201202
202203### Concepts
203204
@@ -305,17 +306,17 @@ function MyDatePicker<T extends DateValue>({label, description, errorMessage, fi
305306 <DateInput >
306307 { segment => <DateSegment segment = { segment } />}
307308 </DateInput >
308- <Button >▼ </Button >
309+ <Button >< ChevronDown size = { 20 } /> </Button >
309310 </Group >
310311 { description && <Text slot = " description" >{ description } </Text >}
311312 <FieldError >{ errorMessage } </FieldError >
312313 <Popover >
313314 <Dialog >
314315 <Calendar firstDayOfWeek = { firstDayOfWeek } >
315316 <header >
316- <Button slot = " previous" >◀ </Button >
317+ <Button slot = " previous" >< ChevronLeft size = { 20 } /> </Button >
317318 <Heading />
318- <Button slot = " next" >▶ </Button >
319+ <Button slot = " next" >< ChevronRight size = { 20 } /> </Button >
319320 </header >
320321 <CalendarGrid >
321322 { date => <CalendarCell date = { date } />}
@@ -507,7 +508,7 @@ import {Form, FieldError} from 'react-aria-components';
507508 <DateInput >
508509 { segment => <DateSegment segment = { segment } />}
509510 </DateInput >
510- <Button >▼ </Button >
511+ <Button >< ChevronDown size = { 20 } /> </Button >
511512 </Group >
512513 { /* - begin highlight -*/ }
513514 <FieldError />
@@ -516,9 +517,9 @@ import {Form, FieldError} from 'react-aria-components';
516517 <Dialog >
517518 <Calendar >
518519 <header >
519- <Button slot = " previous" >◀ </Button >
520+ <Button slot = " previous" >< ChevronLeft size = { 20 } /> </Button >
520521 <Heading />
521- <Button slot = " next" >▶ </Button >
522+ <Button slot = " next" >< ChevronRight size = { 20 } /> </Button >
522523 </header >
523524 <CalendarGrid >
524525 { date => <CalendarCell date = { date } />}
@@ -646,7 +647,7 @@ The `description` slot can be used to associate additional help text with a date
646647 <DateInput >
647648 { segment => <DateSegment segment = { segment } />}
648649 </DateInput >
649- <Button >▼ </Button >
650+ <Button >< ChevronDown size = { 20 } /> </Button >
650651 </Group >
651652 { /* - begin highlight -*/ }
652653 <Text slot = " description" >Please select a weekday between 9 AM and 5 PM.</Text >
@@ -655,9 +656,9 @@ The `description` slot can be used to associate additional help text with a date
655656 <Dialog >
656657 <Calendar >
657658 <header >
658- <Button slot = " previous" >◀ </Button >
659+ <Button slot = " previous" >< ChevronLeft size = { 20 } /> </Button >
659660 <Heading />
660- <Button slot = " next" >▶ </Button >
661+ <Button slot = " next" >< ChevronRight size = { 20 } /> </Button >
661662 </header >
662663 <CalendarGrid >
663664 { date => <CalendarCell date = { date } />}
@@ -1148,15 +1149,15 @@ function DatePickerClearButton() {
11481149 { /* - begin highlight -*/ }
11491150 <DatePickerClearButton />
11501151 { /* - end highlight -*/ }
1151- <Button >▼ </Button >
1152+ <Button >< ChevronDown size = { 20 } /> </Button >
11521153 </Group >
11531154 <Popover >
11541155 <Dialog >
11551156 <Calendar >
11561157 <header >
1157- <Button slot = " previous" >◀ </Button >
1158+ <Button slot = " previous" >< ChevronLeft size = { 20 } /> </Button >
11581159 <Heading />
1159- <Button slot = " next" >▶ </Button >
1160+ <Button slot = " next" >< ChevronRight size = { 20 } /> </Button >
11601161 </header >
11611162 <CalendarGrid >
11621163 { date => <CalendarCell date = { date } />}
0 commit comments