import Component from '../../common/Component'; import type Mithril from 'mithril'; export interface IWelcomeHeroAttrs { } /** * The `WelcomeHero` component displays a hero that welcomes the user to the * forum. */ export default class WelcomeHero extends Component { /** * @deprecated Extend the `isHidden` method instead. */ hidden: boolean; oninit(vnode: Mithril.Vnode): void; view(vnode: Mithril.Vnode): JSX.Element | null; /** * Hide the welcome hero. */ hide(): void; /** * Determines whether the welcome hero should be hidden. * * @returns if the welcome hero is hidden. */ isHidden(): boolean; }