(window["webpackJsonpstreamlit-browser"]=window["webpackJsonpstreamlit-browser"]||[]).push([[37],{2210:function(e,t,a){"use strict";a.r(t);var n=a(5),r=a(10),o=a(13),i=a(11),s=a(12),c=a(0),l=a.n(c),u=a(2043),d=a(139),p=function(e){function t(){var e,a;Object(n.a)(this,t);for(var r=arguments.length,s=new Array(r),c=0;c<r;c++)s[c]=arguments[c];return(a=Object(o.a)(this,(e=Object(i.a)(t)).call.apply(e,[this].concat(s)))).state={value:a.props.element.get("default")},a.setWidgetValue=function(e){var t=a.props.element.get("id");a.props.widgetMgr.setBoolValue(t,a.state.value,e)},a.onChange=function(e){var t=e.target.checked;a.setState({value:t},function(){return a.setWidgetValue({fromUi:!0})})},a.render=function(){var e=a.props.element.get("label"),t={width:a.props.width};return l.a.createElement("div",{className:"Widget row-widget stCheckbox",style:t},l.a.createElement(u.Checkbox,{checked:a.state.value,disabled:a.props.disabled,onChange:a.onChange,overrides:d.b},e))},a}return Object(s.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.setWidgetValue({fromUi:!1})}}]),t}(l.a.PureComponent);a.d(t,"default",function(){return p})}}]);
//# sourceMappingURL=37.a7919ff9.chunk.js.map