import { DesignSystem, Switch as FoundationSwitch } from '@ni/fast-foundation';
import { styles } from './styles';
import { template } from './template';
/**
 * A nimble-styled switch control.
 */
export class Switch extends FoundationSwitch {
}
const nimbleSwitch = Switch.compose({
    baseClass: FoundationSwitch,
    baseName: 'switch',
    template,
    styles
});
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleSwitch());
export const switchTag = 'nimble-switch';
//# sourceMappingURL=index.js.map