Deprecate Tooltip.tsx
This commit is contained in:
parent
a29cabe45a
commit
a5e4daa0d1
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,9 @@ export interface ITooltipProps {
|
||||||
|
|
||||||
type State = Partial<Pick<CSSProperties, "display" | "right" | "top" | "transform" | "left">>;
|
type State = Partial<Pick<CSSProperties, "display" | "right" | "top" | "transform" | "left">>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @deprecated Use [compound tooltip](https://element-hq.github.io/compound-web/?path=/docs/tooltip--docs) instead
|
||||||
|
*/
|
||||||
export default class Tooltip extends React.PureComponent<ITooltipProps, State> {
|
export default class Tooltip extends React.PureComponent<ITooltipProps, State> {
|
||||||
private static container: HTMLElement;
|
private static container: HTMLElement;
|
||||||
private parent: Element | null = null;
|
private parent: Element | null = null;
|
||||||
|
|
Loading…
Reference in a new issue