✨(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:
committed by
aleb_the_flash
parent
52bd807b27
commit
f8326c5de6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user