Skip to content

Commit

Permalink
Merge pull request #651 from AN-Sippo/sippo/fix-pass-down-className
Browse files Browse the repository at this point in the history
fix: pass down className prop
  • Loading branch information
yue4u authored Nov 12, 2024
2 parents 5115ed4 + f9b54b6 commit 316561b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/TextField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(
const showAssistiveText =
assistiveText != null && assistiveText.length !== 0

const classNames = useClassNames('charcoal-text-field-root')
const classNames = useClassNames('charcoal-text-field-root', className)

return (
<div className={classNames} aria-disabled={disabled}>
Expand Down

0 comments on commit 316561b

Please sign in to comment.