@denali-design/react
Version:
React.JS component library for the Denali CSS Framework
17 lines • 502 B
TypeScript
/**
* Copyright 2020, Verizon Media
* Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms.
*/
import React from 'react';
export declare const DnSwitch: React.FC<DnSwitchProps>;
export interface DnSwitchProps {
id?: string;
name?: string;
offLabel?: string;
onLabel?: string;
checked?: boolean;
isDisabled?: boolean;
onChange?: React.ChangeEventHandler<HTMLInputElement>;
className?: string;
}
//# sourceMappingURL=DnSwitch.d.ts.map