Skip to content

Commit e11fc2c

Browse files
committed
Add className for input container
1 parent 9a71a1f commit e11fc2c

File tree

1 file changed

+2
-0
lines changed
  • packages/components/src/components/Input

1 file changed

+2
-0
lines changed

packages/components/src/components/Input/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ interface InputProps extends Omit<ComponentProps<'input'>, 'type'> {
1717
errorMessage?: string
1818
allowClear?: boolean
1919
classNames?: {
20+
container?: string
2021
input?: string
2122
icon?: string
2223
errorMessage?: string
@@ -66,6 +67,7 @@ export function Input({
6667

6768
return (
6869
<Box
70+
className={classNames?.container}
6971
display="inline-block"
7072
pos="relative"
7173
selectors={{ '&,&>*': { boxSizing: 'border-box' } }}

0 commit comments

Comments
 (0)