Skip to content

Commit f9b33e5

Browse files
committed
chore(Input): updated to 5.0.0
1 parent 708cba9 commit f9b33e5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Input/Input.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)