Skip to content

Commit

Permalink
Fix/datapicker (#65)
Browse files Browse the repository at this point in the history
* EPMRPP-97286 || fix datapicker

* fix resolve

* remove picker from vite config

* EPMRPP-97286 || Date picker

* EPMRPP-97286 || remove picker2
  • Loading branch information
BlazarQSO authored Jan 29, 2025
1 parent ecfb10f commit 85f0745
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export { Pagination } from './pagination';
export { Table } from './table';
export { DatePicker } from './datePicker';
export { DatePicker1 } from './datePicker1';
export { DatePicker2 } from './dataPicker2/dataPicker2';
export { Date2 } from './date2';
export { ReactDatePicker2 } from './reactDatePicker';
export { SystemAlert } from './systemAlert';
export * from './icons';
5 changes: 5 additions & 0 deletions src/components/reactDatePicker/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { ReactDatePicker2 } from './reactDatePicker';

export { ReactDatePicker2 };

export default ReactDatePicker2;
3 changes: 3 additions & 0 deletions src/components/reactDatePicker/reactDatePicker.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ReactDatePicker from 'react-datepicker';

export const ReactDatePicker2 = ReactDatePicker;
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default defineConfig(() => ({
datePicker: resolve('src', 'components', 'datePicker'),
datePicker1: resolve('src', 'components', 'datePicker1'),
date2: resolve('src', 'components', 'date2'),
reactDatePicker2: resolve('src', 'components', 'reactDatePicker2'),
},
name: 'ui-kit',
formats: ['es'],
Expand Down

0 comments on commit 85f0745

Please sign in to comment.