kibana/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.reactexpressionrendererprops.md
Michael Dokolin 975e361d50
[Expressions] Update expressions public API to expose partial results support (#102403)
* Add partial result flag to the execution result
* Update expressions plugin run method to return observable
* Update data getter in the execution contract to return observable
* Update the expression loader to take into account the partial results flag
2021-07-01 22:48:47 +02:00

2.1 KiB

Home > kibana-plugin-plugins-expressions-public > ReactExpressionRendererProps

ReactExpressionRendererProps interface

Signature:

export interface ReactExpressionRendererProps extends IExpressionLoaderParams 

Properties

Property Type Description
className string
dataAttrs string[]
debounce number
expression string | ExpressionAstExpression
onData$ <TData, TInspectorAdapters>(data: TData, adapters?: TInspectorAdapters, partial?: boolean) => void
onEvent (event: ExpressionRendererEvent) => void
padding 'xs' | 's' | 'm' | 'l' | 'xl'
reload$ Observable<unknown> An observable which can be used to re-run the expression without destroying the component
renderError (message?: string | null, error?: ExpressionRenderError | null) => React.ReactElement | React.ReactElement[]