@jupyter/web-components
Version:
A component library for building extensions in Jupyter frontends.
21 lines (20 loc) • 911 B
TypeScript
import { Switch, SwitchOptions } from '@microsoft/fast-foundation';
import { switchStyles as styles } from './switch.styles.js';
/**
* Switch class
* @public
* @tagname jp-switch
*/
declare class JupyterSwitch extends Switch {
}
/**
* A function that returns a {@link @microsoft/fast-foundation#Switch} registration for configuring the component with a DesignSystem.
* Implements {@link @microsoft/fast-foundation#switchTemplate}
*
*
* @public
* @remarks
* Generates HTML Element: `<jp-switch>`
*/
export declare const jpSwitch: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<SwitchOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<SwitchOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
export { JupyterSwitch as Switch, styles as switchStyles };