Properties
Optional inject
inject
: { props
?: { classNames
?: AnyObject; defaultNodeValue
?: any; nodeKey
?: string; styleKey
?: keyof CSSProperties; transformClassName
?: (options
: TransformOptions<V>) => any; transformNodeValue
?: (options
: TransformOptions<V>) => any; transformStyle
?: (options
: TransformOptions<V>) => CSSProperties; validNodeValues
?: any[]; validTypes
?: string[] } }
Type declaration
-
Optional props?: { classNames?: AnyObject; defaultNodeValue?: any; nodeKey?: string; styleKey?: keyof CSSProperties; transformClassName?: (options: TransformOptions<V>) => any; transformNodeValue?: (options: TransformOptions<V>) => any; transformStyle?: (options: TransformOptions<V>) => CSSProperties; validNodeValues?: any[]; validTypes?: string[] }
-
Optional classNames?: AnyObject
-
Optional defaultNodeValue?: any
-
Optional nodeKey?: string
-
Optional styleKey?: keyof CSSProperties
-
Optional transformClassName?: (options: TransformOptions<V>) => any
-
Optional transformNodeValue?: (options: TransformOptions<V>) => any
-
Optional transformStyle?: (options: TransformOptions<V>) => CSSProperties
-
-
Parameters
Returns CSSProperties
-
Optional validNodeValues?: any[]
-
Optional validTypes?: string[]
Properties used by Plate to inject props into any node
component
.