"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const styles_1 = require("./styles");
const ToggleButton = ({ id, value, isDisabled = false, thumbColor, trackColor, onValueChange, accessibility, ...rest }) => {
    return (<styles_1.SwitchButton accessibility={accessibility} value={value} onValueChange={onValueChange} disabled={isDisabled} thumbColorProps={thumbColor} trackColorProps={trackColor} testID={id} {...rest}/>);
};
exports.default = ToggleButton;
//# sourceMappingURL=index.js.map