From e3dfef440e244031b8c43f63f4caa56559aec4be Mon Sep 17 00:00:00 2001 From: Melloware Date: Tue, 24 Sep 2024 09:36:59 -0400 Subject: [PATCH] Mention: Add show/hide to typescript and docs (#7242) --- components/lib/mention/mention.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/lib/mention/mention.d.ts b/components/lib/mention/mention.d.ts index 9e9a7d311a..d9517e5542 100644 --- a/components/lib/mention/mention.d.ts +++ b/components/lib/mention/mention.d.ts @@ -305,6 +305,14 @@ export declare class Mention extends React.Component { * Used to focus the component. */ public focus(): void; + /** + * Show the mention. + */ + public show(): void; + /** + * Hide the mention. + */ + public hide(): void; /** * Used to get container element. * @return {HTMLDivElement} Container element