Add displayName to contexts (#8814)
This commit is contained in:
@@ -46,6 +46,7 @@ const Context = createContext<{
|
||||
onFocus: () => {},
|
||||
onBlur: () => {},
|
||||
})
|
||||
Context.displayName = 'TextFieldContext'
|
||||
|
||||
export type RootProps = React.PropsWithChildren<{isInvalid?: boolean}>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user