-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhooks__useThrottleState__index.md.10174223.async.js
1 lines (1 loc) · 3.08 KB
/
hooks__useThrottleState__index.md.10174223.async.js
1
"use strict";(self.webpackChunkHDesign=self.webpackChunkHDesign||[]).push([[3707],{27776:function(c,n,s){s.r(n);var h=s(68527),u=s(98818),m=s(12284),j=s(70416),x=s(79092),p=s(63746),l=s(49849),v=s(54695),d=s(90191),r=s(21686),i=s(75271),_=s(52676);function t(){var o=(0,d.eL)(),e=o.texts;return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h1",{id:"usethrottlestate",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#usethrottlestate",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"useThrottleState"]}),(0,_.jsx)("p",{children:e[0].value}),(0,_.jsxs)("p",{children:[e[1].value,(0,_.jsx)("code",{children:e[2].value}),e[3].value,(0,_.jsx)("code",{children:e[4].value}),e[5].value]}),(0,_.jsxs)("h2",{id:"\u6F14\u793A",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u6F14\u793A",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u6F14\u793A"]})]}),(0,_.jsx)(d.Dl,{demo:{id:"src-hooks-use-throttle-state-demo-demo"},previewerProps:{description:"<p>\u8FD9\u4E2A\u4F8B\u5B50\u8282\u6D41\u65F6\u95F4\u4E3A 1000ms\uFF0C\u5FEB\u901F\u70B9\u51FB +1 \u8FDB\u884C\u5C1D\u8BD5</p>",title:"\u4F8B\u5B50",filename:"src/hooks/useThrottleState/demo/index.tsx"}}),(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsxs)("h2",{id:"params",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#params",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Params"]}),(0,_.jsxs)(l.Z,{children:[(0,_.jsx)("thead",{children:(0,_.jsxs)("tr",{children:[(0,_.jsx)("th",{children:e[6].value}),(0,_.jsx)("th",{children:e[7].value}),(0,_.jsx)("th",{children:e[8].value}),(0,_.jsx)("th",{children:e[9].value})]})}),(0,_.jsxs)("tbody",{children:[(0,_.jsxs)("tr",{children:[(0,_.jsx)("td",{children:e[10].value}),(0,_.jsx)("td",{children:e[11].value}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e[12].value})}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e[13].value})})]}),(0,_.jsxs)("tr",{children:[(0,_.jsx)("td",{children:e[14].value}),(0,_.jsx)("td",{children:e[15].value}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e[16].value})}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e[17].value})})]})]})]}),(0,_.jsxs)("h2",{id:"result",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#result",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"Result"]}),(0,_.jsxs)(l.Z,{children:[(0,_.jsx)("thead",{children:(0,_.jsxs)("tr",{children:[(0,_.jsx)("th",{children:e[18].value}),(0,_.jsx)("th",{children:e[19].value}),(0,_.jsx)("th",{children:e[20].value})]})}),(0,_.jsxs)("tbody",{children:[(0,_.jsxs)("tr",{children:[(0,_.jsx)("td",{children:e[21].value}),(0,_.jsx)("td",{children:e[22].value}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e[23].value})})]}),(0,_.jsxs)("tr",{children:[(0,_.jsx)("td",{children:e[24].value}),(0,_.jsx)("td",{children:e[25].value}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e[26].value})})]})]})]})]})]})}function a(){return(0,_.jsx)(d.dY,{children:(0,_.jsx)(i.Suspense,{fallback:(0,_.jsx)(r.Z,{}),children:(0,_.jsx)(t,{})})})}n.default=a}}]);