@salla.sa/twilight-components
Version:
Salla Web Component
23 lines (22 loc) • 732 B
TypeScript
/**
* @slot title - The primary content of the placeholder.
* @slot description - Additional content displayed below the title.
*/
export declare class SallaPlaceholder {
constructor();
translationLoaded: boolean;
/**
* Custom icon to display, defaults to [`Inbox`], can be any valid svg icon or inline element with font icon
*/
icon: string;
/**
* Defines the alignment of contents. Defaults to [`left`]
*/
alignment: 'left' | 'center' | 'right';
/**
* The size of the icon. Defaults to [`md`] = 45px for font icon & width/height: 3.5rem for svg icon
*/
iconSize: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl';
private alignmentClass;
render(): any;
}