Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 15e295a

Browse files
committed
combine imports
1 parent c84eb81 commit 15e295a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export {JBDateInput,JBDateInputInputTypes} from './dist/JBDateInput.js';
1+
export * from './dist/JBDateInput.js';

lib/JBDateInput.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import React, { useEffect, useRef, useState, useImperativeHandle, useCallback, MutableRefObject, RefObject, ReactNode, forwardRef, DetailedHTMLProps, HTMLAttributes } from 'react';
22
import 'jb-date-input';
33
// eslint-disable-next-line no-duplicate-imports
4-
import { JBDateInputWebComponent, type JBDateInputInputTypes, } from 'jb-date-input';
4+
import { JBDateInputWebComponent,type ValidationValue, type JBDateInputValueObject, type InputType } from 'jb-date-input';
55
import { type ValidationItem } from 'jb-validation';
66
import { useEvent } from '../../../common/hooks/use-event.js';
7-
import { type ValidationValue, type JBDateInputValueObject, type InputType } from 'jb-date-input/types';
87
// re-export imported types for easier use for user
9-
export { type JBDateInputInputTypes, type JBDateInputValueObject, type ValidationItem, type ValidationValue };
8+
export {type JBDateInputValueObject, type ValidationItem, type ValidationValue, InputType };
109
declare global {
1110
// eslint-disable-next-line @typescript-eslint/no-namespace
1211
namespace JSX {

0 commit comments

Comments
 (0)