Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { forwardRef, type ReactNode } from 'react';
import { createIcon } from './libs/createIcon';
import { getInputClasses } from './libs/getInputClasses';

type InputVariants = VariantProps<typeof getInputClasses>;
export type InputVariants = VariantProps<typeof getInputClasses>;

type InputProps = React.ComponentProps<'input'> & {
export type InputProps = React.ComponentProps<'input'> & {
prefixIcon?: ReactNode;
suffixIcon?: ReactNode;
containerClassName?: string;
Expand Down
1 change: 1 addition & 0 deletions src/components/Input/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { Input, type InputProps, type InputVariants } from './Input';
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ export {
type IconButtonProps,
type IconButtonVariants,
} from './components/Button';

export { Input, type InputProps, type InputVariants } from './components/Input';