@synergy-design-system/components
Version:
This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define
13 lines (12 loc) • 619 B
TypeScript
import type SynergyElement from '../../internal/synergy-element.js';
import { type ComponentNamesWithDefaultValues } from './base.js';
type Constructor<T = object> = new (...args: any[]) => T;
/**
* Global settings decorator for a synergy component
* Used in conjunction with the global settings event
*
* @param name The components name. This is used to get the default values for the component
* @returns Decorated class for usage with synergy components
*/
export declare function enableDefaultSettings(name: ComponentNamesWithDefaultValues): <T extends Constructor<SynergyElement>>(Proto: T) => T;
export {};