chore(ui): strictly types fields (#5344)

This commit is contained in:
Jacob Fletcher
2024-03-15 17:41:48 -04:00
committed by GitHub
parent 09f2926bbb
commit fb4651bdad
78 changed files with 933 additions and 554 deletions

View File

@@ -45,8 +45,10 @@ const RichTextField: React.FC<
elements: EnabledFeatures['elements']
leaves: EnabledFeatures['leaves']
name: string
placeholder?: string
plugins: RichTextPlugin[]
richTextComponentMap: Map<string, React.ReactNode>
width?: string
}
> = (props) => {
const {