mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
grafana-ui: Update InlineField error prop type to React.ReactNode (#100347)
This commit is contained in:
parent
7c8fddc729
commit
2518012569
@ -1,5 +1,5 @@
|
||||
import { cx, css } from '@emotion/css';
|
||||
import { cloneElement } from 'react';
|
||||
import { cloneElement, ReactNode } from 'react';
|
||||
|
||||
import { GrafanaTheme2 } from '@grafana/data';
|
||||
|
||||
@ -23,7 +23,7 @@ export interface Props extends Omit<FieldProps, 'css' | 'horizontal' | 'descript
|
||||
/** Make field's background transparent */
|
||||
transparent?: boolean;
|
||||
/** Error message to display */
|
||||
error?: string | null;
|
||||
error?: ReactNode;
|
||||
htmlFor?: string;
|
||||
/** Make tooltip interactive */
|
||||
interactive?: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user