(react) make DatePicker elements accessible

Declare and export reusable element from the DatePicker
sub-packages, to make them easily usable accros
the design system or any application.
This commit is contained in:
Lebaud Antoine
2023-06-16 17:08:12 +02:00
committed by aleb_the_flash
parent 52bd807b27
commit f8326c5de6
5 changed files with 10 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ export type DateRangePickerProps = DatePickerAuxSubProps & {
onChange?: (value: [string, string] | null) => void;
};
const DateRangePicker = ({
export const DateRangePicker = ({
startLabel,
endLabel,
...props
@@ -103,5 +103,3 @@ const DateRangePicker = ({
</DatePickerAux>
);
};
export default DateRangePicker;