chore(Import): add separate files for Import types
This commit is contained in:
9
src/shared/ui/Input/types.ts
Normal file
9
src/shared/ui/Input/types.ts
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
export type InputVariant = 'default' | 'underline' | 'filled';
|
||||||
|
export type InputSize = 'sm' | 'md' | 'lg' | 'xl';
|
||||||
|
/** Convenience map for consumers sizing icons to match the input. */
|
||||||
|
export const inputIconSize: Record<InputSize, number> = {
|
||||||
|
sm: 14,
|
||||||
|
md: 16,
|
||||||
|
lg: 18,
|
||||||
|
xl: 20,
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user