File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ export type InputProps = Omit<
99 'size' | 'color'
1010> &
1111 IComponentBaseProps & {
12- bordered ?: boolean
13- borderOffset ?: boolean
1412 size ?: ComponentSize
1513 color ?: ComponentColor
1614 }
@@ -20,8 +18,6 @@ const Input = forwardRef<HTMLInputElement, InputProps>(
2018 {
2119 value,
2220 placeholder,
23- bordered = true ,
24- borderOffset,
2521 size,
2622 color,
2723 dataTheme,
@@ -35,6 +31,7 @@ const Input = forwardRef<HTMLInputElement, InputProps>(
3531 'input' ,
3632 className ,
3733 clsx ( {
34+ 'input-xl' : size === 'xl' ,
3835 'input-lg' : size === 'lg' ,
3936 'input-md' : size === 'md' ,
4037 'input-sm' : size === 'sm' ,
@@ -47,8 +44,6 @@ const Input = forwardRef<HTMLInputElement, InputProps>(
4744 'input-success' : color === 'success' ,
4845 'input-warning' : color === 'warning' ,
4946 'input-error' : color === 'error' ,
50- 'input-bordered' : bordered ,
51- 'focus:outline-offset-0' : ! borderOffset ,
5247 } )
5348 )
5449
You can’t perform that action at this time.
0 commit comments