File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/components/composites/FormControl Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { useFormControlContext } from './useFormControl';
6
6
import type { IFormControlErrorMessageProps } from './types' ;
7
7
import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps' ;
8
8
import { combineContextAndProps } from '../../../utils' ;
9
+ import Text from '../../primitives/Text' ;
9
10
10
11
const FormControlErrorMessage = (
11
12
props : IFormControlErrorMessageProps ,
@@ -73,7 +74,7 @@ const FormControlErrorMessage = (
73
74
< Box nativeID = { resolvedProps ?. helpTextId } { ...resolvedProps } ref = { ref } >
74
75
< HStack { ..._stack } >
75
76
{ startIcon }
76
- < Box _text = { _text } > { children } </ Box >
77
+ < Text { ... _text } > { children } </ Text >
77
78
{ endIcon }
78
79
</ HStack >
79
80
</ Box >
You can’t perform that action at this time.
0 commit comments