legion-vue-core
Version:
43 lines (42 loc) • 918 B
TypeScript
export interface SnackbarProps {
/**
* Sets the avatar src of the component
*/
avatarSrc?: string;
/**
* Sets the avatar alt of the component
*/
avatarAlt?: string;
/**
* Sets the description of the component
*/
description?: string;
/**
* Sets the icon of the component
*/
icon?: any;
/**
* Callback fired when the component requests to be closed
*/
onClose?: () => void;
/**
* Sets the position of the component
*/
position?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
/**
* Sets the state show of the component
*/
show?: boolean;
/**
* Sets the text button close of the component
*/
textClose?: string;
/**
* Sets the title of the component
*/
title?: string;
/**
* Sets the timer of the component
*/
timer?: number;
}