mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
638 B
JavaScript
1 line
638 B
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["05570935"],{"05570935":function(e,l,a){"use strict";a.d(l,"__esModule",{value:!0}),a.d(l,"default",{enumerable:!0,get:function(){return u;}});var n=a("f19d2b93");a("71e37e53");var d=a("5b220c3d"),t=a("a9d1a279"),u=()=>{let[e,l]=(0,d.useState)(!0);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(t.InputNumber,{min:1,max:10,disabled:e,defaultValue:3}),(0,n.jsx)("div",{style:{marginTop:20},children:(0,n.jsx)(t.Button,{onClick:()=>{l(!e);},type:"primary",children:"Toggle disabled"})})]});};}}]); |