jabb-astro-components
Version:
UI Components for web development
25 lines (23 loc) • 753 B
TypeScript
export {};
declare global {
/**
* Special buttons, typically fixed on screen
*/
namespace Addons {
/**
* @description Direct link to business WhatsApp account
* @param url - Link where redirect the user
* @param margin - Margin from the bottom of the screen
* @param id - HTML id attribute
* @param shine - Add a shine effect on hover
* @example 'https://wa.me/584126043368?text=Some%20text'
*/
export interface SocialButton {
url: string;
margin: 'bottom-[40px]' | 'bottom-[120px]' | 'bottom-[200px]';
id?: string;
shine?: boolean;
className?: string;
}
}
}