UNPKG

@tempots/ui

Version:

Provides a higher level of renderables to help fast development with Tempo.

9 lines (8 loc) 285 B
import { Renderable } from '@tempots/dom'; /** * Hides the element when it is empty and restores its initial state when necessary. * * @returns A function that can be used to restore the initial state of the element. * @public */ export declare const HiddenWhenEmpty: Renderable;