fix: richTextField supports beforeInput/afterInput, but these were missing from types.ts (#12889)
Add `afterInput` and `beforeInput` to `admin.components` of RichTextField type. These props are supported but missing from types.
This commit is contained in:
@@ -1268,6 +1268,8 @@ export type RichTextField<
|
||||
> = {
|
||||
admin?: {
|
||||
components?: {
|
||||
afterInput?: CustomComponent[]
|
||||
beforeInput?: CustomComponent[]
|
||||
Error?: CustomComponent
|
||||
Label?: CustomComponent
|
||||
} & Admin['components']
|
||||
|
||||
Reference in New Issue
Block a user