We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb6434 commit 7ec22aeCopy full SHA for 7ec22ae
typings/index.d.ts
@@ -530,7 +530,7 @@ declare namespace ElementReact {
530
// Tooltip
531
interface TooltipProps extends ElementReactLibs.ComponentProps<{}> {
532
effect?: 'dark' | 'light'
533
- content?: 'string' | React.ReactElement<any>
+ content?: string | React.ReactElement<any>
534
placement?: 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end'
535
disabled?: boolean
536
transition?: string
0 commit comments