UNPKG

@wix/design-system

Version:

@wix/design-system

31 lines 1.11 kB
export default ToggleButton; declare function ToggleButton({ children, prefixIcon, selected, size, dataHook, focusableOnFocus, focusableOnBlur, disabled, className, role, "aria-checked": ariaChecked, ...rest }: { [x: string]: any; children: any; prefixIcon: any; selected: any; size: any; dataHook: any; focusableOnFocus: any; focusableOnBlur: any; disabled: any; className: any; role: any; "aria-checked": any; }): React.JSX.Element; declare namespace ToggleButton { let propTypes: { children: PropTypes.Requireable<PropTypes.ReactNodeLike>; prefixIcon: PropTypes.Requireable<PropTypes.ReactNodeLike>; value: PropTypes.Requireable<string>; selected: PropTypes.Requireable<boolean>; disabled: PropTypes.Requireable<boolean>; size: PropTypes.Requireable<string>; dataHook: PropTypes.Requireable<string>; 'aria-checked': PropTypes.Requireable<boolean>; }; let displayName: string; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=ToggleButton.d.ts.map