diff --git a/404.html b/404.html index 38372b9..b94b871 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ 페이지를 찾을 수 없습니다. | @nf-team/frontend-libraries - + diff --git a/assets/js/00115d42.2a342423.js b/assets/js/00115d42.b9844225.js similarity index 89% rename from assets/js/00115d42.2a342423.js rename to assets/js/00115d42.b9844225.js index 94af414..7fe2f15 100644 --- a/assets/js/00115d42.2a342423.js +++ b/assets/js/00115d42.b9844225.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[396],{1001:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"core/functions/isEmpty","title":"Function: isEmpty()","description":"isEmpty\\\\(value?): boolean","source":"@site/docs/core/functions/isEmpty.md","sourceDirName":"core/functions","slug":"/core/functions/isEmpty","permalink":"/frontend-libraries/docs/core/functions/isEmpty","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/isEmpty.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getStringOrDefault","permalink":"/frontend-libraries/docs/core/functions/getStringOrDefault"},"next":{"title":"trueOrFalse","permalink":"/frontend-libraries/docs/core/functions/trueOrFalse"}}');var s=t(1085),i=t(1184);const o={},c="Function: isEmpty()",a={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-isempty",children:"Function: isEmpty()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"isEmpty"}),"<",(0,s.jsx)(n.code,{children:"T"}),">(",(0,s.jsx)(n.code,{children:"value"}),"?): ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"T"})]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"T"}),"[]"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"boolean"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L49",children:"utils.ts:49"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>c});var r=t(4041);const s={},i=r.createContext(s);function o(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[396],{1001:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>o,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"core/functions/isEmpty","title":"Function: isEmpty()","description":"isEmpty\\\\(value?): boolean","source":"@site/docs/core/functions/isEmpty.md","sourceDirName":"core/functions","slug":"/core/functions/isEmpty","permalink":"/frontend-libraries/docs/core/functions/isEmpty","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/isEmpty.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getStringOrDefault","permalink":"/frontend-libraries/docs/core/functions/getStringOrDefault"},"next":{"title":"trueOrFalse","permalink":"/frontend-libraries/docs/core/functions/trueOrFalse"}}');var s=t(1085),i=t(1184);const o={},c="Function: isEmpty()",d={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-isempty",children:"Function: isEmpty()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"isEmpty"}),"<",(0,s.jsx)(n.code,{children:"T"}),">(",(0,s.jsx)(n.code,{children:"value"}),"?): ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"T"})]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"T"}),"[]"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"boolean"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L49",children:"utils.ts:49"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>c});var r=t(4041);const s={},i=r.createContext(s);function o(e){const n=r.useContext(i);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),r.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/00c7fb03.a2509a19.js b/assets/js/00c7fb03.0ad0c3fb.js similarity index 82% rename from assets/js/00c7fb03.a2509a19.js rename to assets/js/00c7fb03.0ad0c3fb.js index 47a4af9..930a769 100644 --- a/assets/js/00c7fb03.a2509a19.js +++ b/assets/js/00c7fb03.0ad0c3fb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3274],{1120:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>m,frontMatter:()=>i,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"storage/functions/removeLocalStorageItem","title":"Function: removeLocalStorageItem()","description":"removeLocalStorageItem(key): void","source":"@site/docs/storage/functions/removeLocalStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/removeLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeLocalStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/removeLocalStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getSessionStorageItem"},"next":{"title":"removeSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeSessionStorageItem"}}');var r=o(1085),s=o(1184);const i={},a="Function: removeLocalStorageItem()",c={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"function-removelocalstorageitem",children:"Function: removeLocalStorageItem()"})}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"removeLocalStorageItem"}),"(",(0,r.jsx)(t.code,{children:"key"}),"): ",(0,r.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.strong,{children:"key"}),": ",(0,r.jsx)(t.code,{children:"string"})]}),"\n",(0,r.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"void"})}),"\n",(0,r.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/storage/src/localStorage.ts#L20",children:"localStorage.ts:20"})})]})}function m(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,t,o)=>{o.d(t,{R:()=>i,x:()=>a});var n=o(4041);const r={},s=n.createContext(r);function i(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3274],{1120:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>i,contentTitle:()=>a,default:()=>m,frontMatter:()=>c,metadata:()=>n,toc:()=>d});const n=JSON.parse('{"id":"storage/functions/removeLocalStorageItem","title":"Function: removeLocalStorageItem()","description":"removeLocalStorageItem(key): void","source":"@site/docs/storage/functions/removeLocalStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/removeLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeLocalStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/removeLocalStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getSessionStorageItem"},"next":{"title":"removeSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeSessionStorageItem"}}');var r=o(1085),s=o(1184);const c={},a="Function: removeLocalStorageItem()",i={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"function-removelocalstorageitem",children:"Function: removeLocalStorageItem()"})}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"removeLocalStorageItem"}),"(",(0,r.jsx)(t.code,{children:"key"}),"): ",(0,r.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.strong,{children:"key"}),": ",(0,r.jsx)(t.code,{children:"string"})]}),"\n",(0,r.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.code,{children:"void"})}),"\n",(0,r.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/storage/src/localStorage.ts#L20",children:"localStorage.ts:20"})})]})}function m(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,t,o)=>{o.d(t,{R:()=>c,x:()=>a});var n=o(4041);const r={},s=n.createContext(r);function c(e){const t=n.useContext(s);return n.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),n.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0ca8f66b.71cfaf4d.js b/assets/js/0ca8f66b.81fd4abc.js similarity index 95% rename from assets/js/0ca8f66b.71cfaf4d.js rename to assets/js/0ca8f66b.81fd4abc.js index ba3eaa8..8a757f9 100644 --- a/assets/js/0ca8f66b.71cfaf4d.js +++ b/assets/js/0ca8f66b.81fd4abc.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1115],{4435:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"core/functions/ensureArray","title":"Function: ensureArray()","description":"ensureArray\\\\(value?): T[]","source":"@site/docs/core/functions/ensureArray.md","sourceDirName":"core/functions","slug":"/core/functions/ensureArray","permalink":"/frontend-libraries/docs/core/functions/ensureArray","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/ensureArray.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"emptyAThenB","permalink":"/frontend-libraries/docs/core/functions/emptyAThenB"},"next":{"title":"getNumberOrDefault","permalink":"/frontend-libraries/docs/core/functions/getNumberOrDefault"}}');var s=n(1085),c=n(1184);const i={},o="Function: ensureArray()",a={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-ensurearray",children:"Function: ensureArray()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"ensureArray"}),"<",(0,s.jsx)(r.code,{children:"T"}),">(",(0,s.jsx)(r.code,{children:"value"}),"?): ",(0,s.jsx)(r.code,{children:"T"}),"[]"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"T"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"value?"}),": ",(0,s.jsx)(r.code,{children:"T"}),"[]"]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"T"}),"[]"]}),"\n",(0,s.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L41",children:"utils.ts:41"})})]})}function u(e={}){const{wrapper:r}={...(0,c.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>i,x:()=>o});var t=n(4041);const s={},c=t.createContext(s);function i(e){const r=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1115],{4435:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"core/functions/ensureArray","title":"Function: ensureArray()","description":"ensureArray\\\\(value?): T[]","source":"@site/docs/core/functions/ensureArray.md","sourceDirName":"core/functions","slug":"/core/functions/ensureArray","permalink":"/frontend-libraries/docs/core/functions/ensureArray","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/ensureArray.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"emptyAThenB","permalink":"/frontend-libraries/docs/core/functions/emptyAThenB"},"next":{"title":"getNumberOrDefault","permalink":"/frontend-libraries/docs/core/functions/getNumberOrDefault"}}');var s=n(1085),c=n(1184);const i={},o="Function: ensureArray()",a={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-ensurearray",children:"Function: ensureArray()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"ensureArray"}),"<",(0,s.jsx)(r.code,{children:"T"}),">(",(0,s.jsx)(r.code,{children:"value"}),"?): ",(0,s.jsx)(r.code,{children:"T"}),"[]"]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"T"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"value?"}),": ",(0,s.jsx)(r.code,{children:"T"}),"[]"]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.code,{children:"T"}),"[]"]}),"\n",(0,s.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L41",children:"utils.ts:41"})})]})}function u(e={}){const{wrapper:r}={...(0,c.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>i,x:()=>o});var t=n(4041);const s={},c=t.createContext(s);function i(e){const r=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function o(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(c.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0ddb8718.f2febf24.js b/assets/js/0ddb8718.a62db705.js similarity index 94% rename from assets/js/0ddb8718.f2febf24.js rename to assets/js/0ddb8718.a62db705.js index 40b06ed..a8d2b8d 100644 --- a/assets/js/0ddb8718.f2febf24.js +++ b/assets/js/0ddb8718.a62db705.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5037],{2129:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"fetch/type-aliases/Method","title":"Type Alias: Method","description":"Method: \\"GET\\" \\\\| \\"POST\\" \\\\| \\"PUT\\" \\\\| \\"DELETE\\" \\\\| \\"PATCH\\"","source":"@site/docs/fetch/type-aliases/Method.md","sourceDirName":"fetch/type-aliases","slug":"/fetch/type-aliases/Method","permalink":"/frontend-libraries/docs/fetch/type-aliases/Method","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/type-aliases/Method.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"FetchApiRequest","permalink":"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest"},"next":{"title":"fetchApi","permalink":"/frontend-libraries/docs/fetch/functions/fetchApi"}}');var c=n(1085),i=n(1184);const o={},r="Type Alias: Method",d={},a=[{value:"Defined in",id:"defined-in",level:2}];function h(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"type-alias-method",children:"Type Alias: Method"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"Method"}),": ",(0,c.jsx)(t.code,{children:'"GET"'})," | ",(0,c.jsx)(t.code,{children:'"POST"'})," | ",(0,c.jsx)(t.code,{children:'"PUT"'})," | ",(0,c.jsx)(t.code,{children:'"DELETE"'})," | ",(0,c.jsx)(t.code,{children:'"PATCH"'})]}),"\n"]}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L12",children:"packages/fetch/src/fetch.ts:12"})})]})}function l(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>r});var s=n(4041);const c={},i=s.createContext(c);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5037],{2129:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>r,default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"fetch/type-aliases/Method","title":"Type Alias: Method","description":"Method: \\"GET\\" \\\\| \\"POST\\" \\\\| \\"PUT\\" \\\\| \\"DELETE\\" \\\\| \\"PATCH\\"","source":"@site/docs/fetch/type-aliases/Method.md","sourceDirName":"fetch/type-aliases","slug":"/fetch/type-aliases/Method","permalink":"/frontend-libraries/docs/fetch/type-aliases/Method","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/type-aliases/Method.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"FetchApiRequest","permalink":"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest"},"next":{"title":"fetchApi","permalink":"/frontend-libraries/docs/fetch/functions/fetchApi"}}');var c=n(1085),i=n(1184);const o={},r="Type Alias: Method",d={},a=[{value:"Defined in",id:"defined-in",level:2}];function h(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"type-alias-method",children:"Type Alias: Method"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"Method"}),": ",(0,c.jsx)(t.code,{children:'"GET"'})," | ",(0,c.jsx)(t.code,{children:'"POST"'})," | ",(0,c.jsx)(t.code,{children:'"PUT"'})," | ",(0,c.jsx)(t.code,{children:'"DELETE"'})," | ",(0,c.jsx)(t.code,{children:'"PATCH"'})]}),"\n"]}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L12",children:"packages/fetch/src/fetch.ts:12"})})]})}function l(e={}){const{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(h,{...e})}):h(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>r});var s=n(4041);const c={},i=s.createContext(c);function o(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/0f644bb2.8906adfb.js b/assets/js/0f644bb2.7c4d0359.js similarity index 97% rename from assets/js/0f644bb2.8906adfb.js rename to assets/js/0f644bb2.7c4d0359.js index 2521a6f..fa07e51 100644 --- a/assets/js/0f644bb2.8906adfb.js +++ b/assets/js/0f644bb2.7c4d0359.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6365],{8953:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>l,frontMatter:()=>o,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"core/functions/createNumberArray","title":"Function: createNumberArray()","description":"createNumberArray(length): number[]","source":"@site/docs/core/functions/createNumberArray.md","sourceDirName":"core/functions","slug":"/core/functions/createNumberArray","permalink":"/frontend-libraries/docs/core/functions/createNumberArray","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/createNumberArray.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"@nf-team/core","permalink":"/frontend-libraries/docs/core/"},"next":{"title":"emptyAThenB","permalink":"/frontend-libraries/docs/core/functions/emptyAThenB"}}');var c=n(1085),s=n(1184);const o={},i="Function: createNumberArray()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.header,{children:(0,c.jsx)(r.h1,{id:"function-createnumberarray",children:"Function: createNumberArray()"})}),"\n",(0,c.jsxs)(r.blockquote,{children:["\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.strong,{children:"createNumberArray"}),"(",(0,c.jsx)(r.code,{children:"length"}),"): ",(0,c.jsx)(r.code,{children:"number"}),"[]"]}),"\n"]}),"\n",(0,c.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(r.p,{children:["\u2022 ",(0,c.jsx)(r.strong,{children:"length"}),": ",(0,c.jsx)(r.code,{children:"number"})]}),"\n",(0,c.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.code,{children:"number"}),"[]"]}),"\n",(0,c.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(r.p,{children:(0,c.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L61",children:"utils.ts:61"})})]})}function l(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,c.jsx)(r,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>i});var t=n(4041);const c={},s=t.createContext(c);function o(e){const r=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),t.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6365],{8953:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>a,contentTitle:()=>i,default:()=>l,frontMatter:()=>o,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"core/functions/createNumberArray","title":"Function: createNumberArray()","description":"createNumberArray(length): number[]","source":"@site/docs/core/functions/createNumberArray.md","sourceDirName":"core/functions","slug":"/core/functions/createNumberArray","permalink":"/frontend-libraries/docs/core/functions/createNumberArray","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/createNumberArray.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"@nf-team/core","permalink":"/frontend-libraries/docs/core/"},"next":{"title":"emptyAThenB","permalink":"/frontend-libraries/docs/core/functions/emptyAThenB"}}');var c=n(1085),s=n(1184);const o={},i="Function: createNumberArray()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(r.header,{children:(0,c.jsx)(r.h1,{id:"function-createnumberarray",children:"Function: createNumberArray()"})}),"\n",(0,c.jsxs)(r.blockquote,{children:["\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.strong,{children:"createNumberArray"}),"(",(0,c.jsx)(r.code,{children:"length"}),"): ",(0,c.jsx)(r.code,{children:"number"}),"[]"]}),"\n"]}),"\n",(0,c.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(r.p,{children:["\u2022 ",(0,c.jsx)(r.strong,{children:"length"}),": ",(0,c.jsx)(r.code,{children:"number"})]}),"\n",(0,c.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsxs)(r.p,{children:[(0,c.jsx)(r.code,{children:"number"}),"[]"]}),"\n",(0,c.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(r.p,{children:(0,c.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L61",children:"utils.ts:61"})})]})}function l(e={}){const{wrapper:r}={...(0,s.R)(),...e.components};return r?(0,c.jsx)(r,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>o,x:()=>i});var t=n(4041);const c={},s=t.createContext(c);function o(e){const r=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function i(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),t.createElement(s.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/20f59c58.99637ade.js b/assets/js/20f59c58.5bbc22eb.js similarity index 84% rename from assets/js/20f59c58.99637ade.js rename to assets/js/20f59c58.5bbc22eb.js index 979b3c2..b887f4e 100644 --- a/assets/js/20f59c58.99637ade.js +++ b/assets/js/20f59c58.5bbc22eb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4737],{7060:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>m,frontMatter:()=>i,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"storage/functions/removeSessionStorageItem","title":"Function: removeSessionStorageItem()","description":"removeSessionStorageItem(key): void","source":"@site/docs/storage/functions/removeSessionStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/removeSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeSessionStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/removeSessionStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"removeLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeLocalStorageItem"},"next":{"title":"setLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setLocalStorageItem"}}');var s=n(1085),r=n(1184);const i={},a="Function: removeSessionStorageItem()",c={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-removesessionstorageitem",children:"Function: removeSessionStorageItem()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"removeSessionStorageItem"}),"(",(0,s.jsx)(t.code,{children:"key"}),"): ",(0,s.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"key"}),": ",(0,s.jsx)(t.code,{children:"string"})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"void"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/storage/src/sessionStorage.ts#L20",children:"sessionStorage.ts:20"})})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>a});var o=n(4041);const s={},r=o.createContext(s);function i(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4737],{7060:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>m,frontMatter:()=>i,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"storage/functions/removeSessionStorageItem","title":"Function: removeSessionStorageItem()","description":"removeSessionStorageItem(key): void","source":"@site/docs/storage/functions/removeSessionStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/removeSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeSessionStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/removeSessionStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"removeLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeLocalStorageItem"},"next":{"title":"setLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setLocalStorageItem"}}');var s=n(1085),r=n(1184);const i={},c="Function: removeSessionStorageItem()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-removesessionstorageitem",children:"Function: removeSessionStorageItem()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"removeSessionStorageItem"}),"(",(0,s.jsx)(t.code,{children:"key"}),"): ",(0,s.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"key"}),": ",(0,s.jsx)(t.code,{children:"string"})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"void"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/storage/src/sessionStorage.ts#L20",children:"sessionStorage.ts:20"})})]})}function m(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var o=n(4041);const s={},r=o.createContext(s);function i(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/21e3aef7.4fda6753.js b/assets/js/21e3aef7.df8f84b0.js similarity index 86% rename from assets/js/21e3aef7.4fda6753.js rename to assets/js/21e3aef7.df8f84b0.js index 30719f0..10a933a 100644 --- a/assets/js/21e3aef7.4fda6753.js +++ b/assets/js/21e3aef7.df8f84b0.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9803],{6309:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>c,default:()=>m,frontMatter:()=>i,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"react/components/functions/ClientOnly","title":"Function: ClientOnly()","description":"ClientOnly(namedParameters): ReactElement \\\\| null","source":"@site/docs/react/components/functions/ClientOnly.md","sourceDirName":"react/components/functions","slug":"/react/components/functions/ClientOnly","permalink":"/frontend-libraries/docs/react/components/functions/ClientOnly","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/components/functions/ClientOnly.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"components","permalink":"/frontend-libraries/docs/react/components/"},"next":{"title":"DelayRenderComponent","permalink":"/frontend-libraries/docs/react/components/functions/DelayRenderComponent"}}');var o=t(1085),s=t(1184);const i={},c="Function: ClientOnly()",l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-clientonly",children:"Function: ClientOnly()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"ClientOnly"}),"(",(0,o.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,o.jsx)(n.code,{children:"ReactElement"})," | ",(0,o.jsx)(n.code,{children:"null"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"__namedParameters"})]}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"__namedParameters.children?"}),": ",(0,o.jsx)(n.code,{children:"ReactNode"})]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.code,{children:"ReactElement"})," | ",(0,o.jsx)(n.code,{children:"null"})]}),"\n",(0,o.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,o.jsxs)(n.p,{children:["Component\uc758 mount \uc5ec\ubd80\ub97c \ud655\uc778\ud558\uc5ec mount\uac00 \ub41c \uacbd\uc6b0, Component\ub97c render\ud574\uc90d\ub2c8\ub2e4.\nmount\ub418\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 Component\ub97c render\ud574\uc8fc\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. ",(0,o.jsx)("br",{}),"\nSSR \ud658\uacbd\uc5d0\uc11c \uc2e4\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c mount \ub41c \uc774\ud6c4\uc5d0\ub9cc \ud574\ub2f9 Component\ub97c \ubcf4\uc5ec\uc8fc\uace0 \uc2f6\uc744\ub54c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.\n(SSR \ud658\uacbd\uc5d0\uc11c Hydration \uc624\ub958\ub85c \uc778\ud574\uc11c \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud569\ub2c8\ub2e4.)"]}),"\n",(0,o.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"function ClintOnlyComponent() {\n return (\n \n
Render only client environment
\n
\n );\n}\n"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/components/ClientOnly.tsx#L22",children:"packages/react/src/components/ClientOnly.tsx:22"})})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>c});var r=t(4041);const o={},s=r.createContext(o);function i(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9803],{6309:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>m,frontMatter:()=>c,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"react/components/functions/ClientOnly","title":"Function: ClientOnly()","description":"ClientOnly(namedParameters): ReactElement \\\\| null","source":"@site/docs/react/components/functions/ClientOnly.md","sourceDirName":"react/components/functions","slug":"/react/components/functions/ClientOnly","permalink":"/frontend-libraries/docs/react/components/functions/ClientOnly","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/components/functions/ClientOnly.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"components","permalink":"/frontend-libraries/docs/react/components/"},"next":{"title":"DelayRenderComponent","permalink":"/frontend-libraries/docs/react/components/functions/DelayRenderComponent"}}');var o=t(1085),s=t(1184);const c={},i="Function: ClientOnly()",l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-clientonly",children:"Function: ClientOnly()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"ClientOnly"}),"(",(0,o.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,o.jsx)(n.code,{children:"ReactElement"})," | ",(0,o.jsx)(n.code,{children:"null"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"__namedParameters"})]}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"__namedParameters.children?"}),": ",(0,o.jsx)(n.code,{children:"ReactNode"})]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.code,{children:"ReactElement"})," | ",(0,o.jsx)(n.code,{children:"null"})]}),"\n",(0,o.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,o.jsxs)(n.p,{children:["Component\uc758 mount \uc5ec\ubd80\ub97c \ud655\uc778\ud558\uc5ec mount\uac00 \ub41c \uacbd\uc6b0, Component\ub97c render\ud574\uc90d\ub2c8\ub2e4.\nmount\ub418\uc9c0 \uc54a\uc740 \uacbd\uc6b0\uc5d0\ub294 Component\ub97c render\ud574\uc8fc\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4. ",(0,o.jsx)("br",{}),"\nSSR \ud658\uacbd\uc5d0\uc11c \uc2e4\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c mount \ub41c \uc774\ud6c4\uc5d0\ub9cc \ud574\ub2f9 Component\ub97c \ubcf4\uc5ec\uc8fc\uace0 \uc2f6\uc744\ub54c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.\n(SSR \ud658\uacbd\uc5d0\uc11c Hydration \uc624\ub958\ub85c \uc778\ud574\uc11c \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \ubb38\uc81c\ub97c \ud574\uacb0\ud569\ub2c8\ub2e4.)"]}),"\n",(0,o.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-tsx",children:"function ClintOnlyComponent() {\n return (\n \n
Render only client environment
\n
\n );\n}\n"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/components/ClientOnly.tsx#L22",children:"packages/react/src/components/ClientOnly.tsx:22"})})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>i});var r=t(4041);const o={},s=r.createContext(o);function c(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2a22f953.bebce578.js b/assets/js/2a22f953.4a0bfd7b.js similarity index 86% rename from assets/js/2a22f953.bebce578.js rename to assets/js/2a22f953.4a0bfd7b.js index 4cb68d6..d6b1177 100644 --- a/assets/js/2a22f953.bebce578.js +++ b/assets/js/2a22f953.4a0bfd7b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5055],{5448:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"storage/functions/getSessionStorageItem","title":"Function: getSessionStorageItem()","description":"getSessionStorageItem\\\\(key): null \\\\| T","source":"@site/docs/storage/functions/getSessionStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/getSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getSessionStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/getSessionStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getLocalStorageItem"},"next":{"title":"removeLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeLocalStorageItem"}}');var r=n(1085),o=n(1184);const i={},a="Function: getSessionStorageItem()",c={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"function-getsessionstorageitem",children:"Function: getSessionStorageItem()"})}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"getSessionStorageItem"}),"<",(0,r.jsx)(t.code,{children:"T"}),">(",(0,r.jsx)(t.code,{children:"key"}),"): ",(0,r.jsx)(t.code,{children:"null"})," | ",(0,r.jsx)(t.code,{children:"T"})]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.strong,{children:"T"})]}),"\n",(0,r.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.strong,{children:"key"}),": ",(0,r.jsx)(t.code,{children:"string"})]}),"\n",(0,r.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"null"})," | ",(0,r.jsx)(t.code,{children:"T"})]}),"\n",(0,r.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/storage/src/sessionStorage.ts#L5",children:"sessionStorage.ts:5"})})]})}function u(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>a});var s=n(4041);const r={},o=s.createContext(r);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5055],{5448:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"storage/functions/getSessionStorageItem","title":"Function: getSessionStorageItem()","description":"getSessionStorageItem\\\\(key): null \\\\| T","source":"@site/docs/storage/functions/getSessionStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/getSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getSessionStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/getSessionStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getLocalStorageItem"},"next":{"title":"removeLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeLocalStorageItem"}}');var r=n(1085),o=n(1184);const i={},c="Function: getSessionStorageItem()",a={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.header,{children:(0,r.jsx)(t.h1,{id:"function-getsessionstorageitem",children:"Function: getSessionStorageItem()"})}),"\n",(0,r.jsxs)(t.blockquote,{children:["\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.strong,{children:"getSessionStorageItem"}),"<",(0,r.jsx)(t.code,{children:"T"}),">(",(0,r.jsx)(t.code,{children:"key"}),"): ",(0,r.jsx)(t.code,{children:"null"})," | ",(0,r.jsx)(t.code,{children:"T"})]}),"\n"]}),"\n",(0,r.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.strong,{children:"T"})]}),"\n",(0,r.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(t.p,{children:["\u2022 ",(0,r.jsx)(t.strong,{children:"key"}),": ",(0,r.jsx)(t.code,{children:"string"})]}),"\n",(0,r.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(t.p,{children:[(0,r.jsx)(t.code,{children:"null"})," | ",(0,r.jsx)(t.code,{children:"T"})]}),"\n",(0,r.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(t.p,{children:(0,r.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/storage/src/sessionStorage.ts#L5",children:"sessionStorage.ts:5"})})]})}function u(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var s=n(4041);const r={},o=s.createContext(r);function i(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2e996eac.06854974.js b/assets/js/2e996eac.92da9b28.js similarity index 95% rename from assets/js/2e996eac.06854974.js rename to assets/js/2e996eac.92da9b28.js index d5effcc..6e5e75f 100644 --- a/assets/js/2e996eac.06854974.js +++ b/assets/js/2e996eac.92da9b28.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9953],{9391:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>a,contentTitle:()=>r,default:()=>l,frontMatter:()=>i,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"react/hooks/functions/useGeolocation","title":"Function: useGeolocation()","description":"useGeolocation(): [GeoLocation, () => void]","source":"@site/docs/react/hooks/functions/useGeolocation.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useGeolocation","permalink":"/frontend-libraries/docs/react/hooks/functions/useGeolocation","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useGeolocation.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useEffectOnce","permalink":"/frontend-libraries/docs/react/hooks/functions/useEffectOnce"},"next":{"title":"useIsFirstRender","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsFirstRender"}}');var s=n(1085),c=n(1184);const i={},r="Function: useGeolocation()",a={},d=[{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const o={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.header,{children:(0,s.jsx)(o.h1,{id:"function-usegeolocation",children:"Function: useGeolocation()"})}),"\n",(0,s.jsxs)(o.blockquote,{children:["\n",(0,s.jsxs)(o.p,{children:[(0,s.jsx)(o.strong,{children:"useGeolocation"}),"(): [",(0,s.jsx)(o.code,{children:"GeoLocation"}),", () => ",(0,s.jsx)(o.code,{children:"void"}),"]"]}),"\n"]}),"\n",(0,s.jsx)(o.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(o.p,{children:["[",(0,s.jsx)(o.code,{children:"GeoLocation"}),", () => ",(0,s.jsx)(o.code,{children:"void"}),"]"]}),"\n",(0,s.jsx)(o.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(o.p,{children:(0,s.jsx)(o.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useGeolocation.ts#L15",children:"packages/react/src/hooks/useGeolocation.ts:15"})})]})}function l(e={}){const{wrapper:o}={...(0,c.R)(),...e.components};return o?(0,s.jsx)(o,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},1184:(e,o,n)=>{n.d(o,{R:()=>i,x:()=>r});var t=n(4041);const s={},c=t.createContext(s);function i(e){const o=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function r(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(c.Provider,{value:o},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9953],{9391:(e,o,n)=>{n.r(o),n.d(o,{assets:()=>a,contentTitle:()=>r,default:()=>l,frontMatter:()=>i,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"react/hooks/functions/useGeolocation","title":"Function: useGeolocation()","description":"useGeolocation(): [GeoLocation, () => void]","source":"@site/docs/react/hooks/functions/useGeolocation.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useGeolocation","permalink":"/frontend-libraries/docs/react/hooks/functions/useGeolocation","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useGeolocation.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useEffectOnce","permalink":"/frontend-libraries/docs/react/hooks/functions/useEffectOnce"},"next":{"title":"useIsFirstRender","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsFirstRender"}}');var s=n(1085),c=n(1184);const i={},r="Function: useGeolocation()",a={},d=[{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const o={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.header,{children:(0,s.jsx)(o.h1,{id:"function-usegeolocation",children:"Function: useGeolocation()"})}),"\n",(0,s.jsxs)(o.blockquote,{children:["\n",(0,s.jsxs)(o.p,{children:[(0,s.jsx)(o.strong,{children:"useGeolocation"}),"(): [",(0,s.jsx)(o.code,{children:"GeoLocation"}),", () => ",(0,s.jsx)(o.code,{children:"void"}),"]"]}),"\n"]}),"\n",(0,s.jsx)(o.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(o.p,{children:["[",(0,s.jsx)(o.code,{children:"GeoLocation"}),", () => ",(0,s.jsx)(o.code,{children:"void"}),"]"]}),"\n",(0,s.jsx)(o.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(o.p,{children:(0,s.jsx)(o.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useGeolocation.ts#L15",children:"packages/react/src/hooks/useGeolocation.ts:15"})})]})}function l(e={}){const{wrapper:o}={...(0,c.R)(),...e.components};return o?(0,s.jsx)(o,{...e,children:(0,s.jsx)(u,{...e})}):u(e)}},1184:(e,o,n)=>{n.d(o,{R:()=>i,x:()=>r});var t=n(4041);const s={},c=t.createContext(s);function i(e){const o=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function r(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),t.createElement(c.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/2fe0723c.533a9f57.js b/assets/js/2fe0723c.fd82f9db.js similarity index 93% rename from assets/js/2fe0723c.533a9f57.js rename to assets/js/2fe0723c.fd82f9db.js index 49b2ea5..fcfb4ac 100644 --- a/assets/js/2fe0723c.533a9f57.js +++ b/assets/js/2fe0723c.fd82f9db.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4741],{5088:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>l,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"react/hooks/functions/useBoolean","title":"Function: useBoolean()","description":"useBoolean(initialValue): [boolean, () => void, () => void, (nextValue?) => void]","source":"@site/docs/react/hooks/functions/useBoolean.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useBoolean","permalink":"/frontend-libraries/docs/react/hooks/functions/useBoolean","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useBoolean.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useActionKeyEvent","permalink":"/frontend-libraries/docs/react/hooks/functions/useActionKeyEvent"},"next":{"title":"useDebounce","permalink":"/frontend-libraries/docs/react/hooks/functions/useDebounce"}}');var t=o(1085),i=o(1184);const c={},r="Function: useBoolean()",l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-useboolean",children:"Function: useBoolean()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"useBoolean"}),"(",(0,t.jsx)(n.code,{children:"initialValue"}),"): [",(0,t.jsx)(n.code,{children:"boolean"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", (",(0,t.jsx)(n.code,{children:"nextValue"}),"?) => ",(0,t.jsx)(n.code,{children:"void"}),"]"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"initialValue"}),": ",(0,t.jsx)(n.code,{children:"boolean"})," = ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsx)(n.p,{children:"\ucd08\uae30\uac12\uc744 \uc138\ud305"}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(n.p,{children:["[",(0,t.jsx)(n.code,{children:"boolean"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", (",(0,t.jsx)(n.code,{children:"nextValue"}),"?) => ",(0,t.jsx)(n.code,{children:"void"}),"]"]}),"\n",(0,t.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"boolean"})," \ud0c0\uc785\uc73c\ub85c\ub9cc \ubc18\ud658\ud558\ub294 ",(0,t.jsx)(n.code,{children:"useState"}),"\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 hook \uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"const [isOpen, openModal, closeModal, toggleModal] = useBoolean();\n"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useBoolean.ts#L13",children:"packages/react/src/hooks/useBoolean.ts:13"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1184:(e,n,o)=>{o.d(n,{R:()=>c,x:()=>r});var s=o(4041);const t={},i=s.createContext(t);function c(e){const n=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4741],{5088:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>d,contentTitle:()=>r,default:()=>u,frontMatter:()=>c,metadata:()=>s,toc:()=>l});const s=JSON.parse('{"id":"react/hooks/functions/useBoolean","title":"Function: useBoolean()","description":"useBoolean(initialValue): [boolean, () => void, () => void, (nextValue?) => void]","source":"@site/docs/react/hooks/functions/useBoolean.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useBoolean","permalink":"/frontend-libraries/docs/react/hooks/functions/useBoolean","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useBoolean.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useActionKeyEvent","permalink":"/frontend-libraries/docs/react/hooks/functions/useActionKeyEvent"},"next":{"title":"useDebounce","permalink":"/frontend-libraries/docs/react/hooks/functions/useDebounce"}}');var t=o(1085),i=o(1184);const c={},r="Function: useBoolean()",d={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"function-useboolean",children:"Function: useBoolean()"})}),"\n",(0,t.jsxs)(n.blockquote,{children:["\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"useBoolean"}),"(",(0,t.jsx)(n.code,{children:"initialValue"}),"): [",(0,t.jsx)(n.code,{children:"boolean"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", (",(0,t.jsx)(n.code,{children:"nextValue"}),"?) => ",(0,t.jsx)(n.code,{children:"void"}),"]"]}),"\n"]}),"\n",(0,t.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(n.p,{children:["\u2022 ",(0,t.jsx)(n.strong,{children:"initialValue"}),": ",(0,t.jsx)(n.code,{children:"boolean"})," = ",(0,t.jsx)(n.code,{children:"false"})]}),"\n",(0,t.jsx)(n.p,{children:"\ucd08\uae30\uac12\uc744 \uc138\ud305"}),"\n",(0,t.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,t.jsxs)(n.p,{children:["[",(0,t.jsx)(n.code,{children:"boolean"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", () => ",(0,t.jsx)(n.code,{children:"void"}),", (",(0,t.jsx)(n.code,{children:"nextValue"}),"?) => ",(0,t.jsx)(n.code,{children:"void"}),"]"]}),"\n",(0,t.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.code,{children:"boolean"})," \ud0c0\uc785\uc73c\ub85c\ub9cc \ubc18\ud658\ud558\ub294 ",(0,t.jsx)(n.code,{children:"useState"}),"\ub97c \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub294 hook \uc785\ub2c8\ub2e4."]}),"\n",(0,t.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-ts",children:"const [isOpen, openModal, closeModal, toggleModal] = useBoolean();\n"})}),"\n",(0,t.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useBoolean.ts#L13",children:"packages/react/src/hooks/useBoolean.ts:13"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(a,{...e})}):a(e)}},1184:(e,n,o)=>{o.d(n,{R:()=>c,x:()=>r});var s=o(4041);const t={},i=s.createContext(t);function c(e){const n=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function r(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),s.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4ca39a29.1ef4c533.js b/assets/js/4ca39a29.48f64bc2.js similarity index 89% rename from assets/js/4ca39a29.1ef4c533.js rename to assets/js/4ca39a29.48f64bc2.js index 682e303..630e1ef 100644 --- a/assets/js/4ca39a29.1ef4c533.js +++ b/assets/js/4ca39a29.48f64bc2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8517],{6953:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>c,default:()=>p,frontMatter:()=>s,metadata:()=>o,toc:()=>i});const o=JSON.parse('{"id":"react/components/functions/GlobalPortal","title":"Function: GlobalPortal()","description":"GlobalPortal(elementId): null \\\\| ReactPortal","source":"@site/docs/react/components/functions/GlobalPortal.md","sourceDirName":"react/components/functions","slug":"/react/components/functions/GlobalPortal","permalink":"/frontend-libraries/docs/react/components/functions/GlobalPortal","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/components/functions/GlobalPortal.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"DelayRenderComponent","permalink":"/frontend-libraries/docs/react/components/functions/DelayRenderComponent"},"next":{"title":"hooks","permalink":"/frontend-libraries/docs/react/hooks/"}}');var r=t(1085),l=t(1184);const s={},c="Function: GlobalPortal()",a={},i=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-globalportal",children:"Function: GlobalPortal()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"GlobalPortal"}),"(",(0,r.jsx)(n.code,{children:"elementId"}),"): ",(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"ReactPortal"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"elementId"}),": ",(0,r.jsx)(n.code,{children:"PropsWithChildren"}),"<",(0,r.jsx)(n.code,{children:"Props"}),">"]}),"\n",(0,r.jsx)(n.p,{children:"\ubd80\ubaa8 \uc5d8\ub9ac\uba3c\ud2b8\uac00 \uc544\ub2cc \ub2e4\ub978 DOM \ud2b8\ub9ac\uc758 elementId\uac12"}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"ReactPortal"})]}),"\n",(0,r.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,r.jsxs)(n.p,{children:["\ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 DOM \uc678\ubd80\uc5d0 \uc874\uc7ac\ud558\ub294 DOM \ub178\ub4dc\uc5d0 \ub80c\ub354\ub9c1 \ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294\n",(0,r.jsx)(n.code,{children:"ReactDOM.createPortal"}),"\ub97c \uc774\uc6a9\ud574 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud574\uc90d\ub2c8\ub2e4. ",(0,r.jsx)("br",{}),"\n\uacf5\ud1b5\uc801\uc778 UI(\ubaa8\ub2ec, \ud31d\uc5c5, \uc54c\ub9bc \ub4f1)\ub098 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\n",(0,r.jsx)(n.code,{children:"overflow: hidden"}),", ",(0,r.jsx)(n.code,{children:"z-index"}),"\uc640 \uac19\uc740 \uc2a4\ud0c0\uc77c\uc774 \uc788\uc744 \ub54c \ubd80\ubaa8 \uc5d8\ub9ac\uba3c\ud2b8\uc5d0 \uc758\uc874\uc801\uc774\uc9c0 \uc54a\uc544\uc57c\ud558\ub294 \uacbd\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,r.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-html",metastring:'title="html"',children:'
\n'})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",metastring:'title="tsx"',children:'function SampleComponent() {\n\n return (\n \n
Render component
\n
\n );\n}\n'})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/components/GlobalPortal.tsx#L34",children:"packages/react/src/components/GlobalPortal.tsx:34"})})]})}function p(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>s,x:()=>c});var o=t(4041);const r={},l=o.createContext(r);function s(e){const n=o.useContext(l);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),o.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8517],{6953:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>s,default:()=>p,frontMatter:()=>c,metadata:()=>o,toc:()=>i});const o=JSON.parse('{"id":"react/components/functions/GlobalPortal","title":"Function: GlobalPortal()","description":"GlobalPortal(elementId): null \\\\| ReactPortal","source":"@site/docs/react/components/functions/GlobalPortal.md","sourceDirName":"react/components/functions","slug":"/react/components/functions/GlobalPortal","permalink":"/frontend-libraries/docs/react/components/functions/GlobalPortal","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/components/functions/GlobalPortal.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"DelayRenderComponent","permalink":"/frontend-libraries/docs/react/components/functions/DelayRenderComponent"},"next":{"title":"hooks","permalink":"/frontend-libraries/docs/react/hooks/"}}');var r=t(1085),l=t(1184);const c={},s="Function: GlobalPortal()",a={},i=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,l.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-globalportal",children:"Function: GlobalPortal()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"GlobalPortal"}),"(",(0,r.jsx)(n.code,{children:"elementId"}),"): ",(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"ReactPortal"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"elementId"}),": ",(0,r.jsx)(n.code,{children:"PropsWithChildren"}),"<",(0,r.jsx)(n.code,{children:"Props"}),">"]}),"\n",(0,r.jsx)(n.p,{children:"\ubd80\ubaa8 \uc5d8\ub9ac\uba3c\ud2b8\uac00 \uc544\ub2cc \ub2e4\ub978 DOM \ud2b8\ub9ac\uc758 elementId\uac12"}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"ReactPortal"})]}),"\n",(0,r.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,r.jsxs)(n.p,{children:["\ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc758 DOM \uc678\ubd80\uc5d0 \uc874\uc7ac\ud558\ub294 DOM \ub178\ub4dc\uc5d0 \ub80c\ub354\ub9c1 \ud560 \uc218 \uc788\uac8c \ud574\uc8fc\ub294\n",(0,r.jsx)(n.code,{children:"ReactDOM.createPortal"}),"\ub97c \uc774\uc6a9\ud574 \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub80c\ub354\ub9c1\ud574\uc90d\ub2c8\ub2e4. ",(0,r.jsx)("br",{}),"\n\uacf5\ud1b5\uc801\uc778 UI(\ubaa8\ub2ec, \ud31d\uc5c5, \uc54c\ub9bc \ub4f1)\ub098 \ubd80\ubaa8 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\n",(0,r.jsx)(n.code,{children:"overflow: hidden"}),", ",(0,r.jsx)(n.code,{children:"z-index"}),"\uc640 \uac19\uc740 \uc2a4\ud0c0\uc77c\uc774 \uc788\uc744 \ub54c \ubd80\ubaa8 \uc5d8\ub9ac\uba3c\ud2b8\uc5d0 \uc758\uc874\uc801\uc774\uc9c0 \uc54a\uc544\uc57c\ud558\ub294 \uacbd\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,r.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-html",metastring:'title="html"',children:'
\n'})}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-tsx",metastring:'title="tsx"',children:'function SampleComponent() {\n\n return (\n \n
Render component
\n
\n );\n}\n'})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/components/GlobalPortal.tsx#L34",children:"packages/react/src/components/GlobalPortal.tsx:34"})})]})}function p(e={}){const{wrapper:n}={...(0,l.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>s});var o=t(4041);const r={},l=o.createContext(r);function c(e){const n=o.useContext(l);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),o.createElement(l.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4e46b231.ed818c2e.js b/assets/js/4e46b231.9e54590b.js similarity index 98% rename from assets/js/4e46b231.ed818c2e.js rename to assets/js/4e46b231.9e54590b.js index f82a9d2..5d8dcfe 100644 --- a/assets/js/4e46b231.ed818c2e.js +++ b/assets/js/4e46b231.9e54590b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9200],{6758:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"storage/functions/getLocalStorageItem","title":"Function: getLocalStorageItem()","description":"getLocalStorageItem\\\\(key): null \\\\| T","source":"@site/docs/storage/functions/getLocalStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/getLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getLocalStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/getLocalStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"@nf-team/storage","permalink":"/frontend-libraries/docs/storage/"},"next":{"title":"getSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getSessionStorageItem"}}');var o=n(1085),s=n(1184);const a={},c="Function: getLocalStorageItem()",i={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"function-getlocalstorageitem",children:"Function: getLocalStorageItem()"})}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"getLocalStorageItem"}),"<",(0,o.jsx)(t.code,{children:"T"}),">(",(0,o.jsx)(t.code,{children:"key"}),"): ",(0,o.jsx)(t.code,{children:"null"})," | ",(0,o.jsx)(t.code,{children:"T"})]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"T"})]}),"\n",(0,o.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"key"}),": ",(0,o.jsx)(t.code,{children:"string"})]}),"\n",(0,o.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"null"})," | ",(0,o.jsx)(t.code,{children:"T"})]}),"\n",(0,o.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/storage/src/localStorage.ts#L5",children:"localStorage.ts:5"})})]})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>c});var r=n(4041);const o={},s=r.createContext(o);function a(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9200],{6758:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>c,default:()=>u,frontMatter:()=>a,metadata:()=>r,toc:()=>l});const r=JSON.parse('{"id":"storage/functions/getLocalStorageItem","title":"Function: getLocalStorageItem()","description":"getLocalStorageItem\\\\(key): null \\\\| T","source":"@site/docs/storage/functions/getLocalStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/getLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getLocalStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/getLocalStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"@nf-team/storage","permalink":"/frontend-libraries/docs/storage/"},"next":{"title":"getSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/getSessionStorageItem"}}');var o=n(1085),s=n(1184);const a={},c="Function: getLocalStorageItem()",i={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"function-getlocalstorageitem",children:"Function: getLocalStorageItem()"})}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"getLocalStorageItem"}),"<",(0,o.jsx)(t.code,{children:"T"}),">(",(0,o.jsx)(t.code,{children:"key"}),"): ",(0,o.jsx)(t.code,{children:"null"})," | ",(0,o.jsx)(t.code,{children:"T"})]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"T"})]}),"\n",(0,o.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"key"}),": ",(0,o.jsx)(t.code,{children:"string"})]}),"\n",(0,o.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.code,{children:"null"})," | ",(0,o.jsx)(t.code,{children:"T"})]}),"\n",(0,o.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/storage/src/localStorage.ts#L5",children:"localStorage.ts:5"})})]})}function u(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>a,x:()=>c});var r=n(4041);const o={},s=r.createContext(o);function a(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:a(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/4e6b4c5a.f7d63a5b.js b/assets/js/4e6b4c5a.a2cfefc2.js similarity index 98% rename from assets/js/4e6b4c5a.f7d63a5b.js rename to assets/js/4e6b4c5a.a2cfefc2.js index 89357ab..b93613e 100644 --- a/assets/js/4e6b4c5a.f7d63a5b.js +++ b/assets/js/4e6b4c5a.a2cfefc2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5155],{4442:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>f,frontMatter:()=>r,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"react/hooks/functions/useIsomorphicLayoutEffect","title":"Function: useIsomorphicLayoutEffect()","description":"useIsomorphicLayoutEffect(effect, deps?): void","source":"@site/docs/react/hooks/functions/useIsomorphicLayoutEffect.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useIsomorphicLayoutEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsomorphicLayoutEffect","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useIsomorphicLayoutEffect.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useIsMounted","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsMounted"},"next":{"title":"useLessThenScrollY","permalink":"/frontend-libraries/docs/react/hooks/functions/useLessThenScrollY"}}');var c=n(1085),o=n(1184);const r={},i="Function: useIsomorphicLayoutEffect()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Version",id:"version",level:2},{value:"See",id:"see",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"function-useisomorphiclayouteffect",children:"Function: useIsomorphicLayoutEffect()"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"useIsomorphicLayoutEffect"}),"(",(0,c.jsx)(t.code,{children:"effect"}),", ",(0,c.jsx)(t.code,{children:"deps"}),"?): ",(0,c.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,c.jsx)(t.p,{children:"Accepts a function that contains imperative, possibly effectful code."}),"\n",(0,c.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"effect"}),": ",(0,c.jsx)(t.code,{children:"EffectCallback"})]}),"\n",(0,c.jsx)(t.p,{children:"Imperative function that can return a cleanup function"}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"deps?"}),": ",(0,c.jsx)(t.code,{children:"DependencyList"})]}),"\n",(0,c.jsx)(t.p,{children:"If present, effect will only activate if the values in the list change."}),"\n",(0,c.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.code,{children:"void"})}),"\n",(0,c.jsx)(t.h2,{id:"version",children:"Version"}),"\n",(0,c.jsx)(t.p,{children:"16.8.0"}),"\n",(0,c.jsx)(t.h2,{id:"see",children:"See"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://react.dev/reference/react/useEffect",children:"https://react.dev/reference/react/useEffect"})}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useIsomorphicLayoutEffect.ts#L3",children:"packages/react/src/hooks/useIsomorphicLayoutEffect.ts:3"})})]})}function f(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>i});var s=n(4041);const c={},o=s.createContext(c);function r(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5155],{4442:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>f,frontMatter:()=>r,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"react/hooks/functions/useIsomorphicLayoutEffect","title":"Function: useIsomorphicLayoutEffect()","description":"useIsomorphicLayoutEffect(effect, deps?): void","source":"@site/docs/react/hooks/functions/useIsomorphicLayoutEffect.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useIsomorphicLayoutEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsomorphicLayoutEffect","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useIsomorphicLayoutEffect.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useIsMounted","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsMounted"},"next":{"title":"useLessThenScrollY","permalink":"/frontend-libraries/docs/react/hooks/functions/useLessThenScrollY"}}');var c=n(1085),o=n(1184);const r={},i="Function: useIsomorphicLayoutEffect()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Version",id:"version",level:2},{value:"See",id:"see",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"function-useisomorphiclayouteffect",children:"Function: useIsomorphicLayoutEffect()"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"useIsomorphicLayoutEffect"}),"(",(0,c.jsx)(t.code,{children:"effect"}),", ",(0,c.jsx)(t.code,{children:"deps"}),"?): ",(0,c.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,c.jsx)(t.p,{children:"Accepts a function that contains imperative, possibly effectful code."}),"\n",(0,c.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"effect"}),": ",(0,c.jsx)(t.code,{children:"EffectCallback"})]}),"\n",(0,c.jsx)(t.p,{children:"Imperative function that can return a cleanup function"}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"deps?"}),": ",(0,c.jsx)(t.code,{children:"DependencyList"})]}),"\n",(0,c.jsx)(t.p,{children:"If present, effect will only activate if the values in the list change."}),"\n",(0,c.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.code,{children:"void"})}),"\n",(0,c.jsx)(t.h2,{id:"version",children:"Version"}),"\n",(0,c.jsx)(t.p,{children:"16.8.0"}),"\n",(0,c.jsx)(t.h2,{id:"see",children:"See"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://react.dev/reference/react/useEffect",children:"https://react.dev/reference/react/useEffect"})}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useIsomorphicLayoutEffect.ts#L3",children:"packages/react/src/hooks/useIsomorphicLayoutEffect.ts:3"})})]})}function f(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(u,{...e})}):u(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>r,x:()=>i});var s=n(4041);const c={},o=s.createContext(c);function r(e){const t=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/51690aae.70fcee04.js b/assets/js/51690aae.5a64636b.js similarity index 95% rename from assets/js/51690aae.70fcee04.js rename to assets/js/51690aae.5a64636b.js index 6d8981f..1b2dc3f 100644 --- a/assets/js/51690aae.70fcee04.js +++ b/assets/js/51690aae.5a64636b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5649],{7867:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"core/functions/emptyAThenB","title":"Function: emptyAThenB()","description":"emptyAThenB(b, a?): string","source":"@site/docs/core/functions/emptyAThenB.md","sourceDirName":"core/functions","slug":"/core/functions/emptyAThenB","permalink":"/frontend-libraries/docs/core/functions/emptyAThenB","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/emptyAThenB.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"createNumberArray","permalink":"/frontend-libraries/docs/core/functions/createNumberArray"},"next":{"title":"ensureArray","permalink":"/frontend-libraries/docs/core/functions/ensureArray"}}');var s=t(1085),c=t(1184);const i={},o="Function: emptyAThenB()",d={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-emptyathenb",children:"Function: emptyAThenB()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"emptyAThenB"}),"(",(0,s.jsx)(n.code,{children:"b"}),", ",(0,s.jsx)(n.code,{children:"a"}),"?): ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"b"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"a?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"string"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L31",children:"utils.ts:31"})})]})}function u(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>o});var r=t(4041);const s={},c=r.createContext(s);function i(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5649],{7867:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"core/functions/emptyAThenB","title":"Function: emptyAThenB()","description":"emptyAThenB(b, a?): string","source":"@site/docs/core/functions/emptyAThenB.md","sourceDirName":"core/functions","slug":"/core/functions/emptyAThenB","permalink":"/frontend-libraries/docs/core/functions/emptyAThenB","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/emptyAThenB.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"createNumberArray","permalink":"/frontend-libraries/docs/core/functions/createNumberArray"},"next":{"title":"ensureArray","permalink":"/frontend-libraries/docs/core/functions/ensureArray"}}');var s=t(1085),c=t(1184);const i={},o="Function: emptyAThenB()",d={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-emptyathenb",children:"Function: emptyAThenB()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"emptyAThenB"}),"(",(0,s.jsx)(n.code,{children:"b"}),", ",(0,s.jsx)(n.code,{children:"a"}),"?): ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"b"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"a?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"string"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L31",children:"utils.ts:31"})})]})}function u(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>o});var r=t(4041);const s={},c=r.createContext(s);function i(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/558ae5da.036f98ec.js b/assets/js/558ae5da.859c8a50.js similarity index 83% rename from assets/js/558ae5da.036f98ec.js rename to assets/js/558ae5da.859c8a50.js index 21f2c46..d49e0d1 100644 --- a/assets/js/558ae5da.036f98ec.js +++ b/assets/js/558ae5da.859c8a50.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[867],{9282:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>s,toc:()=>u});const s=JSON.parse('{"id":"react/hooks/functions/useTimeout","title":"Function: useTimeout()","description":"useTimeout(callback, delay): void","source":"@site/docs/react/hooks/functions/useTimeout.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useTimeout","permalink":"/frontend-libraries/docs/react/hooks/functions/useTimeout","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useTimeout.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useThrottleCallback","permalink":"/frontend-libraries/docs/react/hooks/functions/useThrottleCallback"},"next":{"title":"useUnmount","permalink":"/frontend-libraries/docs/react/hooks/functions/useUnmount"}}');var o=t(1085),r=t(1184);const c={},i="Function: useTimeout()",a={},u=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-usetimeout",children:"Function: useTimeout()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"useTimeout"}),"(",(0,o.jsx)(n.code,{children:"callback"}),", ",(0,o.jsx)(n.code,{children:"delay"}),"): ",(0,o.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"callback"})]}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"delay"}),": ",(0,o.jsx)(n.code,{children:"null"})," | ",(0,o.jsx)(n.code,{children:"number"})]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"void"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useTimeout.ts#L5",children:"packages/react/src/hooks/useTimeout.ts:5"})})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>i});var s=t(4041);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[867],{9282:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useTimeout","title":"Function: useTimeout()","description":"useTimeout(callback, delay): void","source":"@site/docs/react/hooks/functions/useTimeout.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useTimeout","permalink":"/frontend-libraries/docs/react/hooks/functions/useTimeout","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useTimeout.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useThrottleCallback","permalink":"/frontend-libraries/docs/react/hooks/functions/useThrottleCallback"},"next":{"title":"useUnmount","permalink":"/frontend-libraries/docs/react/hooks/functions/useUnmount"}}');var o=t(1085),r=t(1184);const c={},i="Function: useTimeout()",d={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-usetimeout",children:"Function: useTimeout()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"useTimeout"}),"(",(0,o.jsx)(n.code,{children:"callback"}),", ",(0,o.jsx)(n.code,{children:"delay"}),"): ",(0,o.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"callback"})]}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"delay"}),": ",(0,o.jsx)(n.code,{children:"null"})," | ",(0,o.jsx)(n.code,{children:"number"})]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"void"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useTimeout.ts#L5",children:"packages/react/src/hooks/useTimeout.ts:5"})})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(u,{...e})}):u(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>i});var s=t(4041);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/630c44c5.cb4f3222.js b/assets/js/630c44c5.9178165b.js similarity index 97% rename from assets/js/630c44c5.cb4f3222.js rename to assets/js/630c44c5.9178165b.js index 791ab85..345db57 100644 --- a/assets/js/630c44c5.cb4f3222.js +++ b/assets/js/630c44c5.9178165b.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7205],{6508:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>c,metadata:()=>t,toc:()=>a});const t=JSON.parse('{"id":"core/functions/trueOrFalse","title":"Function: trueOrFalse()","description":"trueOrFalse(value?): boolean","source":"@site/docs/core/functions/trueOrFalse.md","sourceDirName":"core/functions","slug":"/core/functions/trueOrFalse","permalink":"/frontend-libraries/docs/core/functions/trueOrFalse","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/trueOrFalse.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"isEmpty","permalink":"/frontend-libraries/docs/core/functions/isEmpty"},"next":{"title":"@nf-team/react","permalink":"/frontend-libraries/docs/react/"}}');var s=r(1085),o=r(1184);const c={},i="Function: trueOrFalse()",l={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-trueorfalse",children:"Function: trueOrFalse()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"trueOrFalse"}),"(",(0,s.jsx)(n.code,{children:"value"}),"?): ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"string"})," | ",(0,s.jsx)(n.code,{children:"number"})," | ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"boolean"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L33",children:"utils.ts:33"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>i});var t=r(4041);const s={},o=t.createContext(s);function c(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7205],{6508:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>c,metadata:()=>t,toc:()=>a});const t=JSON.parse('{"id":"core/functions/trueOrFalse","title":"Function: trueOrFalse()","description":"trueOrFalse(value?): boolean","source":"@site/docs/core/functions/trueOrFalse.md","sourceDirName":"core/functions","slug":"/core/functions/trueOrFalse","permalink":"/frontend-libraries/docs/core/functions/trueOrFalse","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/trueOrFalse.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"isEmpty","permalink":"/frontend-libraries/docs/core/functions/isEmpty"},"next":{"title":"@nf-team/react","permalink":"/frontend-libraries/docs/react/"}}');var s=r(1085),o=r(1184);const c={},i="Function: trueOrFalse()",l={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-trueorfalse",children:"Function: trueOrFalse()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"trueOrFalse"}),"(",(0,s.jsx)(n.code,{children:"value"}),"?): ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"string"})," | ",(0,s.jsx)(n.code,{children:"number"})," | ",(0,s.jsx)(n.code,{children:"boolean"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"boolean"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L33",children:"utils.ts:33"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>i});var t=r(4041);const s={},o=t.createContext(s);function c(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/68d9404b.f12c4b3f.js b/assets/js/68d9404b.764d360d.js similarity index 98% rename from assets/js/68d9404b.f12c4b3f.js rename to assets/js/68d9404b.764d360d.js index d950482..4f5d78b 100644 --- a/assets/js/68d9404b.f12c4b3f.js +++ b/assets/js/68d9404b.764d360d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4478],{2771:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>l,contentTitle:()=>t,default:()=>a,frontMatter:()=>c,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"id":"fetch/classes/FetchError","title":"Class: FetchError","description":"Extends","source":"@site/docs/fetch/classes/FetchError.md","sourceDirName":"fetch/classes","slug":"/fetch/classes/FetchError","permalink":"/frontend-libraries/docs/fetch/classes/FetchError","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/classes/FetchError.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"@nf-team/fetch","permalink":"/frontend-libraries/docs/fetch/"},"next":{"title":"FetchApiRequest","permalink":"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest"}}');var i=n(1085),d=n(1184);const c={},t="Class: FetchError",l={},h=[{value:"Extends",id:"extends",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new FetchError()",id:"new-fetcherror",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"message",id:"message",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"stack?",id:"stack",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"status",id:"status",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"prepareStackTrace()?",id:"preparestacktrace",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"See",id:"see",level:4},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"stackTraceLimit",id:"stacktracelimit",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"Methods",id:"methods",level:2},{value:"captureStackTrace()",id:"capturestacktrace",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-7",level:4}];function o(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,d.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.header,{children:(0,i.jsx)(r.h1,{id:"class-fetcherror",children:"Class: FetchError"})}),"\n",(0,i.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsx)(r.li,{children:(0,i.jsx)(r.code,{children:"Error"})}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"new-fetcherror",children:"new FetchError()"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"new FetchError"}),"(",(0,i.jsx)(r.code,{children:"status"}),", ",(0,i.jsx)(r.code,{children:"message"}),"): ",(0,i.jsx)(r.a,{href:"/frontend-libraries/docs/fetch/classes/FetchError",children:(0,i.jsx)(r.code,{children:"FetchError"})})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"status"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"message"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/frontend-libraries/docs/fetch/classes/FetchError",children:(0,i.jsx)(r.code,{children:"FetchError"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.constructor"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L6",children:"packages/fetch/src/fetch.ts:6"})}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"message",children:"message"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"message"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.message"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/typescript/lib/lib.es5.d.ts:1068"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.name"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/typescript/lib/lib.es5.d.ts:1067"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"stack",children:"stack?"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"optional"})," ",(0,i.jsx)(r.strong,{children:"stack"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.stack"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/typescript/lib/lib.es5.d.ts:1069"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"status",children:"status"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"status"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L6",children:"packages/fetch/src/fetch.ts:6"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"preparestacktrace",children:"prepareStackTrace()?"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"static"})," ",(0,i.jsx)(r.code,{children:"optional"})," ",(0,i.jsx)(r.strong,{children:"prepareStackTrace"}),": (",(0,i.jsx)(r.code,{children:"err"}),", ",(0,i.jsx)(r.code,{children:"stackTraces"}),") => ",(0,i.jsx)(r.code,{children:"any"})]}),"\n"]}),"\n",(0,i.jsx)(r.p,{children:"Optional override for formatting stack traces"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"err"}),": ",(0,i.jsx)(r.code,{children:"Error"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"stackTraces"}),": ",(0,i.jsx)(r.code,{children:"CallSite"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"any"})}),"\n",(0,i.jsx)(r.h4,{id:"see",children:"See"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://v8.dev/docs/stack-trace-api#customizing-stack-traces",children:"https://v8.dev/docs/stack-trace-api#customizing-stack-traces"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.prepareStackTrace"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/@types/node/globals.d.ts:11"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"stacktracelimit",children:"stackTraceLimit"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"static"})," ",(0,i.jsx)(r.strong,{children:"stackTraceLimit"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.stackTraceLimit"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/@types/node/globals.d.ts:13"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"capturestacktrace",children:"captureStackTrace()"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"static"})," ",(0,i.jsx)(r.strong,{children:"captureStackTrace"}),"(",(0,i.jsx)(r.code,{children:"targetObject"}),", ",(0,i.jsx)(r.code,{children:"constructorOpt"}),"?): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(r.p,{children:"Create .stack property on a target object"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"targetObject"}),": ",(0,i.jsx)(r.code,{children:"object"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"constructorOpt?"}),": ",(0,i.jsx)(r.code,{children:"Function"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.captureStackTrace"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/@types/node/globals.d.ts:4"})]})}function a(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>c,x:()=>t});var s=n(4041);const i={},d=s.createContext(i);function c(e){const r=s.useContext(d);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4478],{2771:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>l,contentTitle:()=>t,default:()=>a,frontMatter:()=>c,metadata:()=>s,toc:()=>h});const s=JSON.parse('{"id":"fetch/classes/FetchError","title":"Class: FetchError","description":"Extends","source":"@site/docs/fetch/classes/FetchError.md","sourceDirName":"fetch/classes","slug":"/fetch/classes/FetchError","permalink":"/frontend-libraries/docs/fetch/classes/FetchError","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/classes/FetchError.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"@nf-team/fetch","permalink":"/frontend-libraries/docs/fetch/"},"next":{"title":"FetchApiRequest","permalink":"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest"}}');var i=n(1085),d=n(1184);const c={},t="Class: FetchError",l={},h=[{value:"Extends",id:"extends",level:2},{value:"Constructors",id:"constructors",level:2},{value:"new FetchError()",id:"new-fetcherror",level:3},{value:"Parameters",id:"parameters",level:4},{value:"Returns",id:"returns",level:4},{value:"Overrides",id:"overrides",level:4},{value:"Defined in",id:"defined-in",level:4},{value:"Properties",id:"properties",level:2},{value:"message",id:"message",level:3},{value:"Inherited from",id:"inherited-from",level:4},{value:"Defined in",id:"defined-in-1",level:4},{value:"name",id:"name",level:3},{value:"Inherited from",id:"inherited-from-1",level:4},{value:"Defined in",id:"defined-in-2",level:4},{value:"stack?",id:"stack",level:3},{value:"Inherited from",id:"inherited-from-2",level:4},{value:"Defined in",id:"defined-in-3",level:4},{value:"status",id:"status",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"prepareStackTrace()?",id:"preparestacktrace",level:3},{value:"Parameters",id:"parameters-1",level:4},{value:"Returns",id:"returns-1",level:4},{value:"See",id:"see",level:4},{value:"Inherited from",id:"inherited-from-3",level:4},{value:"Defined in",id:"defined-in-5",level:4},{value:"stackTraceLimit",id:"stacktracelimit",level:3},{value:"Inherited from",id:"inherited-from-4",level:4},{value:"Defined in",id:"defined-in-6",level:4},{value:"Methods",id:"methods",level:2},{value:"captureStackTrace()",id:"capturestacktrace",level:3},{value:"Parameters",id:"parameters-2",level:4},{value:"Returns",id:"returns-2",level:4},{value:"Inherited from",id:"inherited-from-5",level:4},{value:"Defined in",id:"defined-in-7",level:4}];function o(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...(0,d.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.header,{children:(0,i.jsx)(r.h1,{id:"class-fetcherror",children:"Class: FetchError"})}),"\n",(0,i.jsx)(r.h2,{id:"extends",children:"Extends"}),"\n",(0,i.jsxs)(r.ul,{children:["\n",(0,i.jsx)(r.li,{children:(0,i.jsx)(r.code,{children:"Error"})}),"\n"]}),"\n",(0,i.jsx)(r.h2,{id:"constructors",children:"Constructors"}),"\n",(0,i.jsx)(r.h3,{id:"new-fetcherror",children:"new FetchError()"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"new FetchError"}),"(",(0,i.jsx)(r.code,{children:"status"}),", ",(0,i.jsx)(r.code,{children:"message"}),"): ",(0,i.jsx)(r.a,{href:"/frontend-libraries/docs/fetch/classes/FetchError",children:(0,i.jsx)(r.code,{children:"FetchError"})})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"status"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"message"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"/frontend-libraries/docs/fetch/classes/FetchError",children:(0,i.jsx)(r.code,{children:"FetchError"})})}),"\n",(0,i.jsx)(r.h4,{id:"overrides",children:"Overrides"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.constructor"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L6",children:"packages/fetch/src/fetch.ts:6"})}),"\n",(0,i.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,i.jsx)(r.h3,{id:"message",children:"message"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"message"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.message"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/typescript/lib/lib.es5.d.ts:1068"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"name",children:"name"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"name"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-1",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.name"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/typescript/lib/lib.es5.d.ts:1067"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"stack",children:"stack?"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"optional"})," ",(0,i.jsx)(r.strong,{children:"stack"}),": ",(0,i.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-2",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.stack"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/typescript/lib/lib.es5.d.ts:1069"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"status",children:"status"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.strong,{children:"status"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L6",children:"packages/fetch/src/fetch.ts:6"})}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"preparestacktrace",children:"prepareStackTrace()?"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"static"})," ",(0,i.jsx)(r.code,{children:"optional"})," ",(0,i.jsx)(r.strong,{children:"prepareStackTrace"}),": (",(0,i.jsx)(r.code,{children:"err"}),", ",(0,i.jsx)(r.code,{children:"stackTraces"}),") => ",(0,i.jsx)(r.code,{children:"any"})]}),"\n"]}),"\n",(0,i.jsx)(r.p,{children:"Optional override for formatting stack traces"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-1",children:"Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"err"}),": ",(0,i.jsx)(r.code,{children:"Error"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"stackTraces"}),": ",(0,i.jsx)(r.code,{children:"CallSite"}),"[]"]}),"\n",(0,i.jsx)(r.h4,{id:"returns-1",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"any"})}),"\n",(0,i.jsx)(r.h4,{id:"see",children:"See"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.a,{href:"https://v8.dev/docs/stack-trace-api#customizing-stack-traces",children:"https://v8.dev/docs/stack-trace-api#customizing-stack-traces"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-3",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.prepareStackTrace"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/@types/node/globals.d.ts:11"}),"\n",(0,i.jsx)(r.hr,{}),"\n",(0,i.jsx)(r.h3,{id:"stacktracelimit",children:"stackTraceLimit"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"static"})," ",(0,i.jsx)(r.strong,{children:"stackTraceLimit"}),": ",(0,i.jsx)(r.code,{children:"number"})]}),"\n"]}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-4",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.stackTraceLimit"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-6",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/@types/node/globals.d.ts:13"}),"\n",(0,i.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,i.jsx)(r.h3,{id:"capturestacktrace",children:"captureStackTrace()"}),"\n",(0,i.jsxs)(r.blockquote,{children:["\n",(0,i.jsxs)(r.p,{children:[(0,i.jsx)(r.code,{children:"static"})," ",(0,i.jsx)(r.strong,{children:"captureStackTrace"}),"(",(0,i.jsx)(r.code,{children:"targetObject"}),", ",(0,i.jsx)(r.code,{children:"constructorOpt"}),"?): ",(0,i.jsx)(r.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(r.p,{children:"Create .stack property on a target object"}),"\n",(0,i.jsx)(r.h4,{id:"parameters-2",children:"Parameters"}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"targetObject"}),": ",(0,i.jsx)(r.code,{children:"object"})]}),"\n",(0,i.jsxs)(r.p,{children:["\u2022 ",(0,i.jsx)(r.strong,{children:"constructorOpt?"}),": ",(0,i.jsx)(r.code,{children:"Function"})]}),"\n",(0,i.jsx)(r.h4,{id:"returns-2",children:"Returns"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"void"})}),"\n",(0,i.jsx)(r.h4,{id:"inherited-from-5",children:"Inherited from"}),"\n",(0,i.jsx)(r.p,{children:(0,i.jsx)(r.code,{children:"Error.captureStackTrace"})}),"\n",(0,i.jsx)(r.h4,{id:"defined-in-7",children:"Defined in"}),"\n",(0,i.jsx)(r.p,{children:"node_modules/@types/node/globals.d.ts:4"})]})}function a(e={}){const{wrapper:r}={...(0,d.R)(),...e.components};return r?(0,i.jsx)(r,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>c,x:()=>t});var s=n(4041);const i={},d=s.createContext(i);function c(e){const r=s.useContext(d);return s.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function t(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:c(e.components),s.createElement(d.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/6a697cbb.795efbe7.js b/assets/js/6a697cbb.ebb1806c.js similarity index 97% rename from assets/js/6a697cbb.795efbe7.js rename to assets/js/6a697cbb.ebb1806c.js index 6f8574b..81f702a 100644 --- a/assets/js/6a697cbb.795efbe7.js +++ b/assets/js/6a697cbb.ebb1806c.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2673],{8105:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>u,frontMatter:()=>c,metadata:()=>t,toc:()=>o});const t=JSON.parse('{"id":"core/functions/getStringOrDefault","title":"Function: getStringOrDefault()","description":"getStringOrDefault(value?, replacementValue?): string","source":"@site/docs/core/functions/getStringOrDefault.md","sourceDirName":"core/functions","slug":"/core/functions/getStringOrDefault","permalink":"/frontend-libraries/docs/core/functions/getStringOrDefault","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/getStringOrDefault.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getNumberOrDefault","permalink":"/frontend-libraries/docs/core/functions/getNumberOrDefault"},"next":{"title":"isEmpty","permalink":"/frontend-libraries/docs/core/functions/isEmpty"}}');var s=r(1085),i=r(1184);const c={},l="Function: getStringOrDefault()",d={},o=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-getstringordefault",children:"Function: getStringOrDefault()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"getStringOrDefault"}),"(",(0,s.jsx)(n.code,{children:"value"}),"?, ",(0,s.jsx)(n.code,{children:"replacementValue"}),"?): ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\uccab \ubc88\uc9f8 \uc778\uc790 ",(0,s.jsx)(n.code,{children:"string"})," | ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"undefined"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"replacementValue?"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\ub450 \ubc88\uc9f8 \uc778\uc790\uc5d0 \uac12\uc774 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uccab \ubc88\uc9f8 \uc778\uc790\uac00 ",(0,s.jsx)(n.code,{children:"null"})," \ub610\ub294 ",(0,s.jsx)(n.code,{children:"undefined"}),"\uc778 \uacbd\uc6b0 \ub450\ubc88\uc9f8 \uc778\uc790\ub85c \ubb38\uc790\uc5f4 \ub300\uccb4"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"string"})}),"\n",(0,s.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"null"}),"\uc774\ub098 ",(0,s.jsx)(n.code,{children:"undefined"}),"\uac12\uc774 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \ube48\ubb38\uc790\uc5f4\ub85c \ub300\uccb4\ud558\uac70\ub098 \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\ub85c \ub300\uccb4\ud569\ub2c8\ub2e4. (\uc624\ub85c\uc9c0 ",(0,s.jsx)(n.code,{children:"string"})," \ud0c0\uc785\uc73c\ub85c \ubc18\ud658)"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"const value = undefined;\nconst result = removeNullable(value, 'newValue');\n"})}),"\n",(0,s.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"console.log(result); // 'newValue';\n"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L14",children:"utils.ts:14"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>l});var t=r(4041);const s={},i=t.createContext(s);function c(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2673],{8105:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>u,frontMatter:()=>c,metadata:()=>t,toc:()=>o});const t=JSON.parse('{"id":"core/functions/getStringOrDefault","title":"Function: getStringOrDefault()","description":"getStringOrDefault(value?, replacementValue?): string","source":"@site/docs/core/functions/getStringOrDefault.md","sourceDirName":"core/functions","slug":"/core/functions/getStringOrDefault","permalink":"/frontend-libraries/docs/core/functions/getStringOrDefault","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/getStringOrDefault.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"getNumberOrDefault","permalink":"/frontend-libraries/docs/core/functions/getNumberOrDefault"},"next":{"title":"isEmpty","permalink":"/frontend-libraries/docs/core/functions/isEmpty"}}');var s=r(1085),i=r(1184);const c={},l="Function: getStringOrDefault()",d={},o=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-getstringordefault",children:"Function: getStringOrDefault()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"getStringOrDefault"}),"(",(0,s.jsx)(n.code,{children:"value"}),"?, ",(0,s.jsx)(n.code,{children:"replacementValue"}),"?): ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\uccab \ubc88\uc9f8 \uc778\uc790 ",(0,s.jsx)(n.code,{children:"string"})," | ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"undefined"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"replacementValue?"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n",(0,s.jsxs)(n.p,{children:["\ub450 \ubc88\uc9f8 \uc778\uc790\uc5d0 \uac12\uc774 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \uccab \ubc88\uc9f8 \uc778\uc790\uac00 ",(0,s.jsx)(n.code,{children:"null"})," \ub610\ub294 ",(0,s.jsx)(n.code,{children:"undefined"}),"\uc778 \uacbd\uc6b0 \ub450\ubc88\uc9f8 \uc778\uc790\ub85c \ubb38\uc790\uc5f4 \ub300\uccb4"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"string"})}),"\n",(0,s.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"null"}),"\uc774\ub098 ",(0,s.jsx)(n.code,{children:"undefined"}),"\uac12\uc774 \uc874\uc7ac\ud558\ub294 \uacbd\uc6b0 \ube48\ubb38\uc790\uc5f4\ub85c \ub300\uccb4\ud558\uac70\ub098 \uc0c8\ub85c\uc6b4 \ubb38\uc790\uc5f4\ub85c \ub300\uccb4\ud569\ub2c8\ub2e4. (\uc624\ub85c\uc9c0 ",(0,s.jsx)(n.code,{children:"string"})," \ud0c0\uc785\uc73c\ub85c \ubc18\ud658)"]}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"const value = undefined;\nconst result = removeNullable(value, 'newValue');\n"})}),"\n",(0,s.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,s.jsx)(n.pre,{children:(0,s.jsx)(n.code,{className:"language-ts",children:"console.log(result); // 'newValue';\n"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L14",children:"utils.ts:14"})})]})}function u(e={}){const{wrapper:n}={...(0,i.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(a,{...e})}):a(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>c,x:()=>l});var t=r(4041);const s={},i=t.createContext(s);function c(e){const n=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/708e6d46.2bdddfc3.js b/assets/js/708e6d46.702cc9b8.js similarity index 96% rename from assets/js/708e6d46.2bdddfc3.js rename to assets/js/708e6d46.702cc9b8.js index 40be812..78622bc 100644 --- a/assets/js/708e6d46.2bdddfc3.js +++ b/assets/js/708e6d46.702cc9b8.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6715],{1734:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useResizeViewportHeight","title":"Function: useResizeViewportHeight()","description":"useResizeViewportHeight(): void","source":"@site/docs/react/hooks/functions/useResizeViewportHeight.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useResizeViewportHeight","permalink":"/frontend-libraries/docs/react/hooks/functions/useResizeViewportHeight","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useResizeViewportHeight.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useLessThenScrollY","permalink":"/frontend-libraries/docs/react/hooks/functions/useLessThenScrollY"},"next":{"title":"useThrottleCallback","permalink":"/frontend-libraries/docs/react/hooks/functions/useThrottleCallback"}}');var i=t(1085),o=t(1184);const r={},c="Function: useResizeViewportHeight()",d={},a=[{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"function-useresizeviewportheight",children:"Function: useResizeViewportHeight()"})}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"useResizeViewportHeight"}),"(): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,i.jsxs)(n.p,{children:["\uc2a4\ud06c\ub864\uc744 \ud3ec\ud568\ud55c window\uc758 \ub192\uc774\ub97c \uac00\uc838\uc640 window \ud06c\uae30\ub97c resize\ud574\uc90d\ub2c8\ub2e4. ",(0,i.jsx)("br",{}),"\n\ubaa8\ubc14\uc77c \ud658\uacbd\uc758 \uc6f9\ubdf0\uc5d0\uc11c \ub514\ubc14\uc774\uc2a4 \ubc0f \ube0c\ub77c\uc6b0\uc800 \ud658\uacbd\uc5d0 \ub530\ub77c \ud06c\uae30\uac00 \ub2ec\ub77c\uc838 \ubd88\ud544\uc694\ud55c \uc2a4\ud06c\ub864\uc774 \uc0dd\uae38 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c \uc774 hook\uc744 \uc0ac\uc6a9\ud558\uba74 \uc720\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,i.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"function SampleComponent() {\n useResizeViewportHeight();\n\n return
sample text
\n}\n\n"})}),"\n",(0,i.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useResizeViewportHeight.ts#L17",children:"packages/react/src/hooks/useResizeViewportHeight.ts:17"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>c});var s=t(4041);const i={},o=s.createContext(i);function r(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6715],{1734:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>u,frontMatter:()=>r,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useResizeViewportHeight","title":"Function: useResizeViewportHeight()","description":"useResizeViewportHeight(): void","source":"@site/docs/react/hooks/functions/useResizeViewportHeight.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useResizeViewportHeight","permalink":"/frontend-libraries/docs/react/hooks/functions/useResizeViewportHeight","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useResizeViewportHeight.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useLessThenScrollY","permalink":"/frontend-libraries/docs/react/hooks/functions/useLessThenScrollY"},"next":{"title":"useThrottleCallback","permalink":"/frontend-libraries/docs/react/hooks/functions/useThrottleCallback"}}');var i=t(1085),o=t(1184);const r={},c="Function: useResizeViewportHeight()",d={},a=[{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,o.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"function-useresizeviewportheight",children:"Function: useResizeViewportHeight()"})}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.strong,{children:"useResizeViewportHeight"}),"(): ",(0,i.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.code,{children:"void"})}),"\n",(0,i.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,i.jsxs)(n.p,{children:["\uc2a4\ud06c\ub864\uc744 \ud3ec\ud568\ud55c window\uc758 \ub192\uc774\ub97c \uac00\uc838\uc640 window \ud06c\uae30\ub97c resize\ud574\uc90d\ub2c8\ub2e4. ",(0,i.jsx)("br",{}),"\n\ubaa8\ubc14\uc77c \ud658\uacbd\uc758 \uc6f9\ubdf0\uc5d0\uc11c \ub514\ubc14\uc774\uc2a4 \ubc0f \ube0c\ub77c\uc6b0\uc800 \ud658\uacbd\uc5d0 \ub530\ub77c \ud06c\uae30\uac00 \ub2ec\ub77c\uc838 \ubd88\ud544\uc694\ud55c \uc2a4\ud06c\ub864\uc774 \uc0dd\uae38 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub54c \uc774 hook\uc744 \uc0ac\uc6a9\ud558\uba74 \uc720\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,i.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-tsx",children:"function SampleComponent() {\n useResizeViewportHeight();\n\n return
sample text
\n}\n\n"})}),"\n",(0,i.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useResizeViewportHeight.ts#L17",children:"packages/react/src/hooks/useResizeViewportHeight.ts:17"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>c});var s=t(4041);const i={},o=s.createContext(i);function r(e){const n=s.useContext(o);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:r(e.components),s.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/74f058ad.06151472.js b/assets/js/74f058ad.e3d3d4c7.js similarity index 97% rename from assets/js/74f058ad.06151472.js rename to assets/js/74f058ad.e3d3d4c7.js index 915b404..8c1bcdb 100644 --- a/assets/js/74f058ad.06151472.js +++ b/assets/js/74f058ad.e3d3d4c7.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6296],{5389:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>c,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"storage/functions/setLocalStorageItem","title":"Function: setLocalStorageItem()","description":"setLocalStorageItem(key, value): void","source":"@site/docs/storage/functions/setLocalStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/setLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setLocalStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/setLocalStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"removeSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeSessionStorageItem"},"next":{"title":"setSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setSessionStorageItem"}}');var s=n(1085),r=n(1184);const c={},i="Function: setLocalStorageItem()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-setlocalstorageitem",children:"Function: setLocalStorageItem()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"setLocalStorageItem"}),"(",(0,s.jsx)(t.code,{children:"key"}),", ",(0,s.jsx)(t.code,{children:"value"}),"): ",(0,s.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"key"}),": ",(0,s.jsx)(t.code,{children:"string"})]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"value"}),": ",(0,s.jsx)(t.code,{children:"unknown"})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"void"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/storage/src/localStorage.ts#L1",children:"localStorage.ts:1"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>i});var o=n(4041);const s={},r=o.createContext(s);function c(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[6296],{5389:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>c,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"storage/functions/setLocalStorageItem","title":"Function: setLocalStorageItem()","description":"setLocalStorageItem(key, value): void","source":"@site/docs/storage/functions/setLocalStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/setLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setLocalStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/setLocalStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"removeSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/removeSessionStorageItem"},"next":{"title":"setSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setSessionStorageItem"}}');var s=n(1085),r=n(1184);const c={},i="Function: setLocalStorageItem()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"function-setlocalstorageitem",children:"Function: setLocalStorageItem()"})}),"\n",(0,s.jsxs)(t.blockquote,{children:["\n",(0,s.jsxs)(t.p,{children:[(0,s.jsx)(t.strong,{children:"setLocalStorageItem"}),"(",(0,s.jsx)(t.code,{children:"key"}),", ",(0,s.jsx)(t.code,{children:"value"}),"): ",(0,s.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"key"}),": ",(0,s.jsx)(t.code,{children:"string"})]}),"\n",(0,s.jsxs)(t.p,{children:["\u2022 ",(0,s.jsx)(t.strong,{children:"value"}),": ",(0,s.jsx)(t.code,{children:"unknown"})]}),"\n",(0,s.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.code,{children:"void"})}),"\n",(0,s.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(t.p,{children:(0,s.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/storage/src/localStorage.ts#L1",children:"localStorage.ts:1"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>c,x:()=>i});var o=n(4041);const s={},r=o.createContext(s);function c(e){const t=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:c(e.components),o.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/7688874f.32279a8b.js b/assets/js/7688874f.4f61e424.js similarity index 85% rename from assets/js/7688874f.32279a8b.js rename to assets/js/7688874f.4f61e424.js index 6c0ee1e..0e7c6ff 100644 --- a/assets/js/7688874f.32279a8b.js +++ b/assets/js/7688874f.4f61e424.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8245],{3684:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>l,frontMatter:()=>i,metadata:()=>t,toc:()=>u});const t=JSON.parse('{"id":"react/hooks/functions/useIsMounted","title":"Function: useIsMounted()","description":"useIsMounted(): boolean","source":"@site/docs/react/hooks/functions/useIsMounted.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useIsMounted","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsMounted","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useIsMounted.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useIsFirstRender","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsFirstRender"},"next":{"title":"useIsomorphicLayoutEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsomorphicLayoutEffect"}}');var o=s(1085),r=s(1184);const i={},c="Function: useIsMounted()",d={},u=[{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-useismounted",children:"Function: useIsMounted()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"useIsMounted"}),"(): ",(0,o.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"boolean"})}),"\n",(0,o.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,o.jsxs)(n.p,{children:["Component\uc758 mount \uc5ec\ubd80\ub97c \ud655\uc778\ud558\ub294 hook \uc785\ub2c8\ub2e4. ",(0,o.jsx)("br",{}),"\nSSR \ud658\uacbd\uc5d0\uc11c \uc2e4\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c mount \ub41c \uc774\ud6c4\uc5d0 \uc5b4\ub5a4 \ub3d9\uc791\uc744 \uc2e4\ud589\ud558\uae30 \uc704\ud574\uc11c \uc0ac\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,o.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-ts",children:"const isMounted = useIsMounted();\n\nuseEffect(() => {\n if (isMounted) {\n return;\n }\n}, [isMounted]);\n\n"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useIsMounted.ts#L18",children:"packages/react/src/hooks/useIsMounted.ts:18"})})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>c});var t=s(4041);const o={},r=t.createContext(o);function i(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8245],{3684:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>t,toc:()=>u});const t=JSON.parse('{"id":"react/hooks/functions/useIsMounted","title":"Function: useIsMounted()","description":"useIsMounted(): boolean","source":"@site/docs/react/hooks/functions/useIsMounted.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useIsMounted","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsMounted","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useIsMounted.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useIsFirstRender","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsFirstRender"},"next":{"title":"useIsomorphicLayoutEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsomorphicLayoutEffect"}}');var o=s(1085),r=s(1184);const c={},i="Function: useIsMounted()",d={},u=[{value:"Returns",id:"returns",level:2},{value:"Description",id:"description",level:2},{value:"Example",id:"example",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-useismounted",children:"Function: useIsMounted()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"useIsMounted"}),"(): ",(0,o.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"boolean"})}),"\n",(0,o.jsx)(n.h2,{id:"description",children:"Description"}),"\n",(0,o.jsxs)(n.p,{children:["Component\uc758 mount \uc5ec\ubd80\ub97c \ud655\uc778\ud558\ub294 hook \uc785\ub2c8\ub2e4. ",(0,o.jsx)("br",{}),"\nSSR \ud658\uacbd\uc5d0\uc11c \uc2e4\uc81c\ub85c \ucef4\ud3ec\ub10c\ud2b8\uac00 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c mount \ub41c \uc774\ud6c4\uc5d0 \uc5b4\ub5a4 \ub3d9\uc791\uc744 \uc2e4\ud589\ud558\uae30 \uc704\ud574\uc11c \uc0ac\uc6a9\ud569\ub2c8\ub2e4."]}),"\n",(0,o.jsx)(n.h2,{id:"example",children:"Example"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-ts",children:"const isMounted = useIsMounted();\n\nuseEffect(() => {\n if (isMounted) {\n return;\n }\n}, [isMounted]);\n\n"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useIsMounted.ts#L18",children:"packages/react/src/hooks/useIsMounted.ts:18"})})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>i});var t=s(4041);const o={},r=t.createContext(o);function c(e){const n=t.useContext(r);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),t.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/76dd0cb8.7af15c13.js b/assets/js/76dd0cb8.775c3bcb.js similarity index 95% rename from assets/js/76dd0cb8.7af15c13.js rename to assets/js/76dd0cb8.775c3bcb.js index 6044a64..faaa72b 100644 --- a/assets/js/76dd0cb8.7af15c13.js +++ b/assets/js/76dd0cb8.775c3bcb.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4377],{5625:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"fetch/functions/paramsSerializer","title":"Function: paramsSerializer()","description":"paramsSerializer\\\\(params): string","source":"@site/docs/fetch/functions/paramsSerializer.md","sourceDirName":"fetch/functions","slug":"/fetch/functions/paramsSerializer","permalink":"/frontend-libraries/docs/fetch/functions/paramsSerializer","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/functions/paramsSerializer.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"fetchApi","permalink":"/frontend-libraries/docs/fetch/functions/fetchApi"},"next":{"title":"@nf-team/storage","permalink":"/frontend-libraries/docs/storage/"}}');var s=n(1085),i=n(1184);const a={},c="Function: paramsSerializer()",o={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-paramsserializer",children:"Function: paramsSerializer()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"paramsSerializer"}),"<",(0,s.jsx)(r.code,{children:"T"}),">(",(0,s.jsx)(r.code,{children:"params"}),"): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"T"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"params"}),": ",(0,s.jsx)(r.code,{children:"T"})]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L23",children:"packages/fetch/src/fetch.ts:23"})})]})}function h(e={}){const{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>a,x:()=>c});var t=n(4041);const s={},i=t.createContext(s);function a(e){const r=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4377],{5625:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>o,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"fetch/functions/paramsSerializer","title":"Function: paramsSerializer()","description":"paramsSerializer\\\\(params): string","source":"@site/docs/fetch/functions/paramsSerializer.md","sourceDirName":"fetch/functions","slug":"/fetch/functions/paramsSerializer","permalink":"/frontend-libraries/docs/fetch/functions/paramsSerializer","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/functions/paramsSerializer.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"fetchApi","permalink":"/frontend-libraries/docs/fetch/functions/fetchApi"},"next":{"title":"@nf-team/storage","permalink":"/frontend-libraries/docs/storage/"}}');var s=n(1085),i=n(1184);const a={},c="Function: paramsSerializer()",o={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const r={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.header,{children:(0,s.jsx)(r.h1,{id:"function-paramsserializer",children:"Function: paramsSerializer()"})}),"\n",(0,s.jsxs)(r.blockquote,{children:["\n",(0,s.jsxs)(r.p,{children:[(0,s.jsx)(r.strong,{children:"paramsSerializer"}),"<",(0,s.jsx)(r.code,{children:"T"}),">(",(0,s.jsx)(r.code,{children:"params"}),"): ",(0,s.jsx)(r.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(r.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"T"})]}),"\n",(0,s.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(r.p,{children:["\u2022 ",(0,s.jsx)(r.strong,{children:"params"}),": ",(0,s.jsx)(r.code,{children:"T"})]}),"\n",(0,s.jsx)(r.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.code,{children:"string"})}),"\n",(0,s.jsx)(r.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(r.p,{children:(0,s.jsx)(r.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L23",children:"packages/fetch/src/fetch.ts:23"})})]})}function h(e={}){const{wrapper:r}={...(0,i.R)(),...e.components};return r?(0,s.jsx)(r,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}},1184:(e,r,n)=>{n.d(r,{R:()=>a,x:()=>c});var t=n(4041);const s={},i=t.createContext(s);function a(e){const r=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function c(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:a(e.components),t.createElement(i.Provider,{value:r},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/77ea8981.3ca9f15e.js b/assets/js/77ea8981.3bbd5f3d.js similarity index 90% rename from assets/js/77ea8981.3ca9f15e.js rename to assets/js/77ea8981.3bbd5f3d.js index b47d049..e674b3e 100644 --- a/assets/js/77ea8981.3ca9f15e.js +++ b/assets/js/77ea8981.3bbd5f3d.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5723],{4957:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>t,toc:()=>d});const t=JSON.parse('{"id":"react/hooks/functions/useDebounce","title":"Function: useDebounce()","description":"useDebounce\\\\(value, delay?): T","source":"@site/docs/react/hooks/functions/useDebounce.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useDebounce","permalink":"/frontend-libraries/docs/react/hooks/functions/useDebounce","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useDebounce.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useBoolean","permalink":"/frontend-libraries/docs/react/hooks/functions/useBoolean"},"next":{"title":"useEffectOnce","permalink":"/frontend-libraries/docs/react/hooks/functions/useEffectOnce"}}');var r=s(1085),o=s(1184);const c={},i="Function: useDebounce()",a={},d=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-usedebounce",children:"Function: useDebounce()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"useDebounce"}),"<",(0,r.jsx)(n.code,{children:"T"}),">(",(0,r.jsx)(n.code,{children:"value"}),", ",(0,r.jsx)(n.code,{children:"delay"}),"?): ",(0,r.jsx)(n.code,{children:"T"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"T"})]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"value"}),": ",(0,r.jsx)(n.code,{children:"T"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"delay?"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"T"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useDebounce.ts#L3",children:"packages/react/src/hooks/useDebounce.ts:3"})})]})}function l(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>i});var t=s(4041);const r={},o=t.createContext(r);function c(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5723],{4957:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>t,toc:()=>a});const t=JSON.parse('{"id":"react/hooks/functions/useDebounce","title":"Function: useDebounce()","description":"useDebounce\\\\(value, delay?): T","source":"@site/docs/react/hooks/functions/useDebounce.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useDebounce","permalink":"/frontend-libraries/docs/react/hooks/functions/useDebounce","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useDebounce.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useBoolean","permalink":"/frontend-libraries/docs/react/hooks/functions/useBoolean"},"next":{"title":"useEffectOnce","permalink":"/frontend-libraries/docs/react/hooks/functions/useEffectOnce"}}');var r=s(1085),o=s(1184);const c={},i="Function: useDebounce()",d={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-usedebounce",children:"Function: useDebounce()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"useDebounce"}),"<",(0,r.jsx)(n.code,{children:"T"}),">(",(0,r.jsx)(n.code,{children:"value"}),", ",(0,r.jsx)(n.code,{children:"delay"}),"?): ",(0,r.jsx)(n.code,{children:"T"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"T"})]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"value"}),": ",(0,r.jsx)(n.code,{children:"T"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"delay?"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"T"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useDebounce.ts#L3",children:"packages/react/src/hooks/useDebounce.ts:3"})})]})}function l(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>c,x:()=>i});var t=s(4041);const r={},o=t.createContext(r);function c(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/929933fb.f79d99b7.js b/assets/js/929933fb.fbead71f.js similarity index 96% rename from assets/js/929933fb.f79d99b7.js rename to assets/js/929933fb.fbead71f.js index 092f71f..0a750ec 100644 --- a/assets/js/929933fb.f79d99b7.js +++ b/assets/js/929933fb.fbead71f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8738],{2396:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>c,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"react/hooks/functions/useLessThenScrollY","title":"Function: useLessThenScrollY()","description":"useLessThenScrollY(targetScrollY, delay): boolean","source":"@site/docs/react/hooks/functions/useLessThenScrollY.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useLessThenScrollY","permalink":"/frontend-libraries/docs/react/hooks/functions/useLessThenScrollY","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useLessThenScrollY.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useIsomorphicLayoutEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsomorphicLayoutEffect"},"next":{"title":"useResizeViewportHeight","permalink":"/frontend-libraries/docs/react/hooks/functions/useResizeViewportHeight"}}');var o=n(1085),t=n(1184);const c={},i="Function: useLessThenScrollY()",l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"function-uselessthenscrolly",children:"Function: useLessThenScrollY()"})}),"\n",(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"useLessThenScrollY"}),"(",(0,o.jsx)(s.code,{children:"targetScrollY"}),", ",(0,o.jsx)(s.code,{children:"delay"}),"): ",(0,o.jsx)(s.code,{children:"boolean"})]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(s.p,{children:["\u2022 ",(0,o.jsx)(s.strong,{children:"targetScrollY"}),": ",(0,o.jsx)(s.code,{children:"number"})," = ",(0,o.jsx)(s.code,{children:"0"})]}),"\n",(0,o.jsxs)(s.p,{children:["\u2022 ",(0,o.jsx)(s.strong,{children:"delay"}),": ",(0,o.jsx)(s.code,{children:"number"})," = ",(0,o.jsx)(s.code,{children:"200"})]}),"\n",(0,o.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.code,{children:"boolean"})}),"\n",(0,o.jsx)(s.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useLessThenScrollY.ts#L5",children:"packages/react/src/hooks/useLessThenScrollY.ts:5"})})]})}function h(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>c,x:()=>i});var r=n(4041);const o={},t=r.createContext(o);function c(e){const s=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8738],{2396:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>l,contentTitle:()=>i,default:()=>h,frontMatter:()=>c,metadata:()=>r,toc:()=>d});const r=JSON.parse('{"id":"react/hooks/functions/useLessThenScrollY","title":"Function: useLessThenScrollY()","description":"useLessThenScrollY(targetScrollY, delay): boolean","source":"@site/docs/react/hooks/functions/useLessThenScrollY.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useLessThenScrollY","permalink":"/frontend-libraries/docs/react/hooks/functions/useLessThenScrollY","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useLessThenScrollY.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useIsomorphicLayoutEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsomorphicLayoutEffect"},"next":{"title":"useResizeViewportHeight","permalink":"/frontend-libraries/docs/react/hooks/functions/useResizeViewportHeight"}}');var o=n(1085),t=n(1184);const c={},i="Function: useLessThenScrollY()",l={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const s={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.header,{children:(0,o.jsx)(s.h1,{id:"function-uselessthenscrolly",children:"Function: useLessThenScrollY()"})}),"\n",(0,o.jsxs)(s.blockquote,{children:["\n",(0,o.jsxs)(s.p,{children:[(0,o.jsx)(s.strong,{children:"useLessThenScrollY"}),"(",(0,o.jsx)(s.code,{children:"targetScrollY"}),", ",(0,o.jsx)(s.code,{children:"delay"}),"): ",(0,o.jsx)(s.code,{children:"boolean"})]}),"\n"]}),"\n",(0,o.jsx)(s.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(s.p,{children:["\u2022 ",(0,o.jsx)(s.strong,{children:"targetScrollY"}),": ",(0,o.jsx)(s.code,{children:"number"})," = ",(0,o.jsx)(s.code,{children:"0"})]}),"\n",(0,o.jsxs)(s.p,{children:["\u2022 ",(0,o.jsx)(s.strong,{children:"delay"}),": ",(0,o.jsx)(s.code,{children:"number"})," = ",(0,o.jsx)(s.code,{children:"200"})]}),"\n",(0,o.jsx)(s.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.code,{children:"boolean"})}),"\n",(0,o.jsx)(s.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(s.p,{children:(0,o.jsx)(s.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useLessThenScrollY.ts#L5",children:"packages/react/src/hooks/useLessThenScrollY.ts:5"})})]})}function h(e={}){const{wrapper:s}={...(0,t.R)(),...e.components};return s?(0,o.jsx)(s,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,s,n)=>{n.d(s,{R:()=>c,x:()=>i});var r=n(4041);const o={},t=r.createContext(o);function c(e){const s=r.useContext(t);return r.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function i(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),r.createElement(t.Provider,{value:s},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/94d6b71b.8a855a02.js b/assets/js/94d6b71b.efdc58e9.js similarity index 85% rename from assets/js/94d6b71b.8a855a02.js rename to assets/js/94d6b71b.efdc58e9.js index 764bc5a..7ee9dea 100644 --- a/assets/js/94d6b71b.8a855a02.js +++ b/assets/js/94d6b71b.efdc58e9.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2138],{8557:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>l,frontMatter:()=>i,metadata:()=>t,toc:()=>u});const t=JSON.parse('{"id":"react/hooks/functions/useIsFirstRender","title":"Function: useIsFirstRender()","description":"useIsFirstRender(): boolean","source":"@site/docs/react/hooks/functions/useIsFirstRender.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useIsFirstRender","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsFirstRender","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useIsFirstRender.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useGeolocation","permalink":"/frontend-libraries/docs/react/hooks/functions/useGeolocation"},"next":{"title":"useIsMounted","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsMounted"}}');var r=s(1085),o=s(1184);const i={},c="Function: useIsFirstRender()",d={},u=[{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-useisfirstrender",children:"Function: useIsFirstRender()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"useIsFirstRender"}),"(): ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"boolean"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useIsFirstRender.ts#L3",children:"packages/react/src/hooks/useIsFirstRender.ts:3"})})]})}function l(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(a,{...e})}):a(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>c});var t=s(4041);const r={},o=t.createContext(r);function i(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[2138],{8557:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>c,default:()=>l,frontMatter:()=>i,metadata:()=>t,toc:()=>a});const t=JSON.parse('{"id":"react/hooks/functions/useIsFirstRender","title":"Function: useIsFirstRender()","description":"useIsFirstRender(): boolean","source":"@site/docs/react/hooks/functions/useIsFirstRender.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useIsFirstRender","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsFirstRender","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useIsFirstRender.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useGeolocation","permalink":"/frontend-libraries/docs/react/hooks/functions/useGeolocation"},"next":{"title":"useIsMounted","permalink":"/frontend-libraries/docs/react/hooks/functions/useIsMounted"}}');var r=s(1085),o=s(1184);const i={},c="Function: useIsFirstRender()",d={},a=[{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function u(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-useisfirstrender",children:"Function: useIsFirstRender()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"useIsFirstRender"}),"(): ",(0,r.jsx)(n.code,{children:"boolean"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"boolean"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useIsFirstRender.ts#L3",children:"packages/react/src/hooks/useIsFirstRender.ts:3"})})]})}function l(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(u,{...e})}):u(e)}},1184:(e,n,s)=>{s.d(n,{R:()=>i,x:()=>c});var t=s(4041);const r={},o=t.createContext(r);function i(e){const n=t.useContext(o);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:i(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/9b8bda3f.6949063a.js b/assets/js/9b8bda3f.5f1a4477.js similarity index 97% rename from assets/js/9b8bda3f.6949063a.js rename to assets/js/9b8bda3f.5f1a4477.js index 0e2f12f..6d1a0a9 100644 --- a/assets/js/9b8bda3f.6949063a.js +++ b/assets/js/9b8bda3f.5f1a4477.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7014],{7131:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"react/hooks/functions/useUnmount","title":"Function: useUnmount()","description":"useUnmount(fn): void","source":"@site/docs/react/hooks/functions/useUnmount.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useUnmount","permalink":"/frontend-libraries/docs/react/hooks/functions/useUnmount","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useUnmount.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useTimeout","permalink":"/frontend-libraries/docs/react/hooks/functions/useTimeout"},"next":{"title":"useUpdateEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useUpdateEffect"}}');var o=t(1085),r=t(1184);const c={},i="Function: useUnmount()",u={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-useunmount",children:"Function: useUnmount()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"useUnmount"}),"(",(0,o.jsx)(n.code,{children:"fn"}),"): ",(0,o.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"fn"})]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"void"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useUnmount.ts#L5",children:"packages/react/src/hooks/useUnmount.ts:5"})})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>i});var s=t(4041);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[7014],{7131:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>l,frontMatter:()=>c,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"react/hooks/functions/useUnmount","title":"Function: useUnmount()","description":"useUnmount(fn): void","source":"@site/docs/react/hooks/functions/useUnmount.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useUnmount","permalink":"/frontend-libraries/docs/react/hooks/functions/useUnmount","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useUnmount.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useTimeout","permalink":"/frontend-libraries/docs/react/hooks/functions/useTimeout"},"next":{"title":"useUpdateEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useUpdateEffect"}}');var o=t(1085),r=t(1184);const c={},i="Function: useUnmount()",u={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function a(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.header,{children:(0,o.jsx)(n.h1,{id:"function-useunmount",children:"Function: useUnmount()"})}),"\n",(0,o.jsxs)(n.blockquote,{children:["\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.strong,{children:"useUnmount"}),"(",(0,o.jsx)(n.code,{children:"fn"}),"): ",(0,o.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(n.p,{children:["\u2022 ",(0,o.jsx)(n.strong,{children:"fn"})]}),"\n",(0,o.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.code,{children:"void"})}),"\n",(0,o.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useUnmount.ts#L5",children:"packages/react/src/hooks/useUnmount.ts:5"})})]})}function l(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(a,{...e})}):a(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>i});var s=t(4041);const o={},r=s.createContext(o);function c(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bd3af8c0.a100b25d.js b/assets/js/bd3af8c0.f6b78e56.js similarity index 98% rename from assets/js/bd3af8c0.a100b25d.js rename to assets/js/bd3af8c0.f6b78e56.js index 0f56f8d..fbec855 100644 --- a/assets/js/bd3af8c0.a100b25d.js +++ b/assets/js/bd3af8c0.f6b78e56.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5954],{4794:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useThrottleCallback","title":"Function: useThrottleCallback()","description":"useThrottleCallback\\\\(callback, dependencyList, delay): (...args) => void","source":"@site/docs/react/hooks/functions/useThrottleCallback.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useThrottleCallback","permalink":"/frontend-libraries/docs/react/hooks/functions/useThrottleCallback","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useThrottleCallback.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useResizeViewportHeight","permalink":"/frontend-libraries/docs/react/hooks/functions/useResizeViewportHeight"},"next":{"title":"useTimeout","permalink":"/frontend-libraries/docs/react/hooks/functions/useTimeout"}}');var r=t(1085),c=t(1184);const o={},l="Function: useThrottleCallback()",i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-usethrottlecallback",children:"Function: useThrottleCallback()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"useThrottleCallback"}),"<",(0,r.jsx)(n.code,{children:"U"}),">(",(0,r.jsx)(n.code,{children:"callback"}),", ",(0,r.jsx)(n.code,{children:"dependencyList"}),", ",(0,r.jsx)(n.code,{children:"delay"}),"): (...",(0,r.jsx)(n.code,{children:"args"}),") => ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"U"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"unknown"}),"[] = []"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"callback"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"dependencyList"}),": ",(0,r.jsx)(n.code,{children:"DependencyList"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"delay"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Function"})}),"\n",(0,r.jsx)(n.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ...",(0,r.jsx)(n.strong,{children:"args"}),": ",(0,r.jsx)(n.code,{children:"U"})]}),"\n",(0,r.jsx)(n.h3,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useThrottleCallback.ts#L3",children:"packages/react/src/hooks/useThrottleCallback.ts:3"})})]})}function h(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>l});var s=t(4041);const r={},c=s.createContext(r);function o(e){const n=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[5954],{4794:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>l,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useThrottleCallback","title":"Function: useThrottleCallback()","description":"useThrottleCallback\\\\(callback, dependencyList, delay): (...args) => void","source":"@site/docs/react/hooks/functions/useThrottleCallback.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useThrottleCallback","permalink":"/frontend-libraries/docs/react/hooks/functions/useThrottleCallback","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useThrottleCallback.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useResizeViewportHeight","permalink":"/frontend-libraries/docs/react/hooks/functions/useResizeViewportHeight"},"next":{"title":"useTimeout","permalink":"/frontend-libraries/docs/react/hooks/functions/useTimeout"}}');var r=t(1085),c=t(1184);const o={},l="Function: useThrottleCallback()",i={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Parameters",id:"parameters-1",level:3},{value:"Returns",id:"returns-1",level:3},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-usethrottlecallback",children:"Function: useThrottleCallback()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"useThrottleCallback"}),"<",(0,r.jsx)(n.code,{children:"U"}),">(",(0,r.jsx)(n.code,{children:"callback"}),", ",(0,r.jsx)(n.code,{children:"dependencyList"}),", ",(0,r.jsx)(n.code,{children:"delay"}),"): (...",(0,r.jsx)(n.code,{children:"args"}),") => ",(0,r.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"U"})," ",(0,r.jsx)(n.em,{children:"extends"})," ",(0,r.jsx)(n.code,{children:"unknown"}),"[] = []"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"callback"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"dependencyList"}),": ",(0,r.jsx)(n.code,{children:"DependencyList"})]}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"delay"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"Function"})}),"\n",(0,r.jsx)(n.h3,{id:"parameters-1",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ...",(0,r.jsx)(n.strong,{children:"args"}),": ",(0,r.jsx)(n.code,{children:"U"})]}),"\n",(0,r.jsx)(n.h3,{id:"returns-1",children:"Returns"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.code,{children:"void"})}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useThrottleCallback.ts#L3",children:"packages/react/src/hooks/useThrottleCallback.ts:3"})})]})}function h(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>l});var s=t(4041);const r={},c=s.createContext(r);function o(e){const n=s.useContext(c);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),s.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/bf1b63ba.8fbad625.js b/assets/js/bf1b63ba.642b2346.js similarity index 96% rename from assets/js/bf1b63ba.8fbad625.js rename to assets/js/bf1b63ba.642b2346.js index 3dcabc8..8e0e3f7 100644 --- a/assets/js/bf1b63ba.8fbad625.js +++ b/assets/js/bf1b63ba.642b2346.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3336],{3549:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useActionKeyEvent","title":"Function: useActionKeyEvent()","description":"useActionKeyEvent\\\\(targetKeys, callback?): ActionKeyEvent\\\\","source":"@site/docs/react/hooks/functions/useActionKeyEvent.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useActionKeyEvent","permalink":"/frontend-libraries/docs/react/hooks/functions/useActionKeyEvent","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useActionKeyEvent.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"hooks","permalink":"/frontend-libraries/docs/react/hooks/"},"next":{"title":"useBoolean","permalink":"/frontend-libraries/docs/react/hooks/functions/useBoolean"}}');var c=t(1085),r=t(1184);const o={},i="Function: useActionKeyEvent()",d={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.header,{children:(0,c.jsx)(n.h1,{id:"function-useactionkeyevent",children:"Function: useActionKeyEvent()"})}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.strong,{children:"useActionKeyEvent"}),"<",(0,c.jsx)(n.code,{children:"T"}),", ",(0,c.jsx)(n.code,{children:"U"}),">(",(0,c.jsx)(n.code,{children:"targetKeys"}),", ",(0,c.jsx)(n.code,{children:"callback"}),"?): ",(0,c.jsx)(n.code,{children:"ActionKeyEvent"}),"<",(0,c.jsx)(n.code,{children:"T"}),", ",(0,c.jsx)(n.code,{children:"U"}),">"]}),"\n"]}),"\n",(0,c.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"T"})," = ",(0,c.jsx)(n.code,{children:"Element"})]}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"U"})," ",(0,c.jsx)(n.em,{children:"extends"})," ",(0,c.jsx)(n.code,{children:"unknown"}),"[] = []"]}),"\n",(0,c.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"targetKeys"}),": ",(0,c.jsx)(n.code,{children:"string"})," | ",(0,c.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"callback?"})]}),"\n",(0,c.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"ActionKeyEvent"}),"<",(0,c.jsx)(n.code,{children:"T"}),", ",(0,c.jsx)(n.code,{children:"U"}),">"]}),"\n",(0,c.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useActionKeyEvent.ts#L6",children:"packages/react/src/hooks/useActionKeyEvent.ts:6"})})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>i});var s=t(4041);const c={},r=s.createContext(c);function o(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3336],{3549:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>h,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useActionKeyEvent","title":"Function: useActionKeyEvent()","description":"useActionKeyEvent\\\\(targetKeys, callback?): ActionKeyEvent\\\\","source":"@site/docs/react/hooks/functions/useActionKeyEvent.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useActionKeyEvent","permalink":"/frontend-libraries/docs/react/hooks/functions/useActionKeyEvent","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useActionKeyEvent.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"hooks","permalink":"/frontend-libraries/docs/react/hooks/"},"next":{"title":"useBoolean","permalink":"/frontend-libraries/docs/react/hooks/functions/useBoolean"}}');var c=t(1085),r=t(1184);const o={},i="Function: useActionKeyEvent()",d={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",em:"em",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.header,{children:(0,c.jsx)(n.h1,{id:"function-useactionkeyevent",children:"Function: useActionKeyEvent()"})}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.strong,{children:"useActionKeyEvent"}),"<",(0,c.jsx)(n.code,{children:"T"}),", ",(0,c.jsx)(n.code,{children:"U"}),">(",(0,c.jsx)(n.code,{children:"targetKeys"}),", ",(0,c.jsx)(n.code,{children:"callback"}),"?): ",(0,c.jsx)(n.code,{children:"ActionKeyEvent"}),"<",(0,c.jsx)(n.code,{children:"T"}),", ",(0,c.jsx)(n.code,{children:"U"}),">"]}),"\n"]}),"\n",(0,c.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"T"})," = ",(0,c.jsx)(n.code,{children:"Element"})]}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"U"})," ",(0,c.jsx)(n.em,{children:"extends"})," ",(0,c.jsx)(n.code,{children:"unknown"}),"[] = []"]}),"\n",(0,c.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"targetKeys"}),": ",(0,c.jsx)(n.code,{children:"string"})," | ",(0,c.jsx)(n.code,{children:"string"}),"[]"]}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"callback?"})]}),"\n",(0,c.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"ActionKeyEvent"}),"<",(0,c.jsx)(n.code,{children:"T"}),", ",(0,c.jsx)(n.code,{children:"U"}),">"]}),"\n",(0,c.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useActionKeyEvent.ts#L6",children:"packages/react/src/hooks/useActionKeyEvent.ts:6"})})]})}function h(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>i});var s=t(4041);const c={},r=s.createContext(c);function o(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/c1af470a.d397be41.js b/assets/js/c1af470a.6c21db0f.js similarity index 92% rename from assets/js/c1af470a.d397be41.js rename to assets/js/c1af470a.6c21db0f.js index 3b43009..9a5c474 100644 --- a/assets/js/c1af470a.d397be41.js +++ b/assets/js/c1af470a.6c21db0f.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4308],{4988:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>i,contentTitle:()=>a,default:()=>m,frontMatter:()=>c,metadata:()=>o,toc:()=>d});const o=JSON.parse('{"id":"react/components/functions/DelayRenderComponent","title":"Function: DelayRenderComponent()","description":"DelayRenderComponent(namedParameters): null \\\\| Element","source":"@site/docs/react/components/functions/DelayRenderComponent.md","sourceDirName":"react/components/functions","slug":"/react/components/functions/DelayRenderComponent","permalink":"/frontend-libraries/docs/react/components/functions/DelayRenderComponent","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/components/functions/DelayRenderComponent.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"ClientOnly","permalink":"/frontend-libraries/docs/react/components/functions/ClientOnly"},"next":{"title":"GlobalPortal","permalink":"/frontend-libraries/docs/react/components/functions/GlobalPortal"}}');var r=t(1085),s=t(1184);const c={},a="Function: DelayRenderComponent()",i={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-delayrendercomponent",children:"Function: DelayRenderComponent()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"DelayRenderComponent"}),"(",(0,r.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"Element"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"__namedParameters"}),": ",(0,r.jsx)(n.code,{children:"PropsWithChildren"}),"<",(0,r.jsx)(n.code,{children:"Props"}),">"]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"Element"})]}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/components/DelayRenderComponent.tsx#L12",children:"packages/react/src/components/DelayRenderComponent.tsx:12"})})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>a});var o=t(4041);const r={},s=o.createContext(r);function c(e){const n=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[4308],{4988:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>a,default:()=>m,frontMatter:()=>c,metadata:()=>o,toc:()=>i});const o=JSON.parse('{"id":"react/components/functions/DelayRenderComponent","title":"Function: DelayRenderComponent()","description":"DelayRenderComponent(namedParameters): null \\\\| Element","source":"@site/docs/react/components/functions/DelayRenderComponent.md","sourceDirName":"react/components/functions","slug":"/react/components/functions/DelayRenderComponent","permalink":"/frontend-libraries/docs/react/components/functions/DelayRenderComponent","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/components/functions/DelayRenderComponent.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"ClientOnly","permalink":"/frontend-libraries/docs/react/components/functions/ClientOnly"},"next":{"title":"GlobalPortal","permalink":"/frontend-libraries/docs/react/components/functions/GlobalPortal"}}');var r=t(1085),s=t(1184);const c={},a="Function: DelayRenderComponent()",d={},i=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.header,{children:(0,r.jsx)(n.h1,{id:"function-delayrendercomponent",children:"Function: DelayRenderComponent()"})}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"DelayRenderComponent"}),"(",(0,r.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"Element"})]}),"\n"]}),"\n",(0,r.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,r.jsxs)(n.p,{children:["\u2022 ",(0,r.jsx)(n.strong,{children:"__namedParameters"}),": ",(0,r.jsx)(n.code,{children:"PropsWithChildren"}),"<",(0,r.jsx)(n.code,{children:"Props"}),">"]}),"\n",(0,r.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.code,{children:"null"})," | ",(0,r.jsx)(n.code,{children:"Element"})]}),"\n",(0,r.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/components/DelayRenderComponent.tsx#L12",children:"packages/react/src/components/DelayRenderComponent.tsx:12"})})]})}function m(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>c,x:()=>a});var o=t(4041);const r={},s=o.createContext(r);function c(e){const n=o.useContext(s);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),o.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d63a8f0b.fa750d69.js b/assets/js/d63a8f0b.67f6c218.js similarity index 88% rename from assets/js/d63a8f0b.fa750d69.js rename to assets/js/d63a8f0b.67f6c218.js index c7802dd..730f65b 100644 --- a/assets/js/d63a8f0b.fa750d69.js +++ b/assets/js/d63a8f0b.67f6c218.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9441],{3824:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>a,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>d});const c=JSON.parse('{"id":"react/hooks/functions/useEffectOnce","title":"Function: useEffectOnce()","description":"useEffectOnce(effect): void","source":"@site/docs/react/hooks/functions/useEffectOnce.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useEffectOnce","permalink":"/frontend-libraries/docs/react/hooks/functions/useEffectOnce","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useEffectOnce.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useDebounce","permalink":"/frontend-libraries/docs/react/hooks/functions/useDebounce"},"next":{"title":"useGeolocation","permalink":"/frontend-libraries/docs/react/hooks/functions/useGeolocation"}}');var s=t(1085),o=t(1184);const r={},i="Function: useEffectOnce()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function f(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-useeffectonce",children:"Function: useEffectOnce()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"useEffectOnce"}),"(",(0,s.jsx)(n.code,{children:"effect"}),"): ",(0,s.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"effect"}),": ",(0,s.jsx)(n.code,{children:"EffectCallback"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"void"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useEffectOnce.ts#L3",children:"packages/react/src/hooks/useEffectOnce.ts:3"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>i});var c=t(4041);const s={},o=c.createContext(s);function r(e){const n=c.useContext(o);return c.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),c.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9441],{3824:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>d,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>a});const c=JSON.parse('{"id":"react/hooks/functions/useEffectOnce","title":"Function: useEffectOnce()","description":"useEffectOnce(effect): void","source":"@site/docs/react/hooks/functions/useEffectOnce.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useEffectOnce","permalink":"/frontend-libraries/docs/react/hooks/functions/useEffectOnce","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useEffectOnce.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useDebounce","permalink":"/frontend-libraries/docs/react/hooks/functions/useDebounce"},"next":{"title":"useGeolocation","permalink":"/frontend-libraries/docs/react/hooks/functions/useGeolocation"}}');var s=t(1085),o=t(1184);const r={},i="Function: useEffectOnce()",d={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function f(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,o.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-useeffectonce",children:"Function: useEffectOnce()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"useEffectOnce"}),"(",(0,s.jsx)(n.code,{children:"effect"}),"): ",(0,s.jsx)(n.code,{children:"void"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"effect"}),": ",(0,s.jsx)(n.code,{children:"EffectCallback"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"void"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useEffectOnce.ts#L3",children:"packages/react/src/hooks/useEffectOnce.ts:3"})})]})}function u(e={}){const{wrapper:n}={...(0,o.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(f,{...e})}):f(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>r,x:()=>i});var c=t(4041);const s={},o=c.createContext(s);function r(e){const n=c.useContext(o);return c.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),c.createElement(o.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/d926dfea.07383f1e.js b/assets/js/d926dfea.15b3fd0e.js similarity index 97% rename from assets/js/d926dfea.07383f1e.js rename to assets/js/d926dfea.15b3fd0e.js index 9f98af9..d10191d 100644 --- a/assets/js/d926dfea.07383f1e.js +++ b/assets/js/d926dfea.15b3fd0e.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8814],{6618:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>a,frontMatter:()=>o,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"core/functions/getNumberOrDefault","title":"Function: getNumberOrDefault()","description":"getNumberOrDefault(value?, defaultValue?): number","source":"@site/docs/core/functions/getNumberOrDefault.md","sourceDirName":"core/functions","slug":"/core/functions/getNumberOrDefault","permalink":"/frontend-libraries/docs/core/functions/getNumberOrDefault","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/getNumberOrDefault.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"ensureArray","permalink":"/frontend-libraries/docs/core/functions/ensureArray"},"next":{"title":"getStringOrDefault","permalink":"/frontend-libraries/docs/core/functions/getStringOrDefault"}}');var s=r(1085),c=r(1184);const o={},i="Function: getNumberOrDefault()",u={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-getnumberordefault",children:"Function: getNumberOrDefault()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"getNumberOrDefault"}),"(",(0,s.jsx)(n.code,{children:"value"}),"?, ",(0,s.jsx)(n.code,{children:"defaultValue"}),"?): ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"number"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"defaultValue?"}),": ",(0,s.jsx)(n.code,{children:"number"})," = ",(0,s.jsx)(n.code,{children:"0"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"number"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/core/src/utils.ts#L26",children:"utils.ts:26"})})]})}function a(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>o,x:()=>i});var t=r(4041);const s={},c=t.createContext(s);function o(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[8814],{6618:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>a,frontMatter:()=>o,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"core/functions/getNumberOrDefault","title":"Function: getNumberOrDefault()","description":"getNumberOrDefault(value?, defaultValue?): number","source":"@site/docs/core/functions/getNumberOrDefault.md","sourceDirName":"core/functions","slug":"/core/functions/getNumberOrDefault","permalink":"/frontend-libraries/docs/core/functions/getNumberOrDefault","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/core/functions/getNumberOrDefault.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"ensureArray","permalink":"/frontend-libraries/docs/core/functions/ensureArray"},"next":{"title":"getStringOrDefault","permalink":"/frontend-libraries/docs/core/functions/getStringOrDefault"}}');var s=r(1085),c=r(1184);const o={},i="Function: getNumberOrDefault()",u={},l=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-getnumberordefault",children:"Function: getNumberOrDefault()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"getNumberOrDefault"}),"(",(0,s.jsx)(n.code,{children:"value"}),"?, ",(0,s.jsx)(n.code,{children:"defaultValue"}),"?): ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"value?"}),": ",(0,s.jsx)(n.code,{children:"null"})," | ",(0,s.jsx)(n.code,{children:"number"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"defaultValue?"}),": ",(0,s.jsx)(n.code,{children:"number"})," = ",(0,s.jsx)(n.code,{children:"0"})]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.code,{children:"number"})}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/core/src/utils.ts#L26",children:"utils.ts:26"})})]})}function a(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},1184:(e,n,r)=>{r.d(n,{R:()=>o,x:()=>i});var t=r(4041);const s={},c=t.createContext(s);function o(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function i(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/e25a2221.65be266e.js b/assets/js/e25a2221.547bd9b6.js similarity index 97% rename from assets/js/e25a2221.65be266e.js rename to assets/js/e25a2221.547bd9b6.js index e3b2933..b850893 100644 --- a/assets/js/e25a2221.65be266e.js +++ b/assets/js/e25a2221.547bd9b6.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1531],{2964:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>d,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useUpdateEffect","title":"Function: useUpdateEffect()","description":"useUpdateEffect(effect, deps?): void","source":"@site/docs/react/hooks/functions/useUpdateEffect.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useUpdateEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useUpdateEffect","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useUpdateEffect.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useUnmount","permalink":"/frontend-libraries/docs/react/hooks/functions/useUnmount"},"next":{"title":"@nf-team/fetch","permalink":"/frontend-libraries/docs/fetch/"}}');var c=n(1085),r=n(1184);const o={},d="Function: useUpdateEffect()",i={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function f(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"function-useupdateeffect",children:"Function: useUpdateEffect()"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"useUpdateEffect"}),"(",(0,c.jsx)(t.code,{children:"effect"}),", ",(0,c.jsx)(t.code,{children:"deps"}),"?): ",(0,c.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,c.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"effect"}),": ",(0,c.jsx)(t.code,{children:"EffectCallback"})]}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"deps?"}),": ",(0,c.jsx)(t.code,{children:"DependencyList"})]}),"\n",(0,c.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.code,{children:"void"})}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/react/src/hooks/useUpdateEffect.ts#L5",children:"packages/react/src/hooks/useUpdateEffect.ts:5"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(f,{...e})}):f(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>d});var s=n(4041);const c={},r=s.createContext(c);function o(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1531],{2964:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>d,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"react/hooks/functions/useUpdateEffect","title":"Function: useUpdateEffect()","description":"useUpdateEffect(effect, deps?): void","source":"@site/docs/react/hooks/functions/useUpdateEffect.md","sourceDirName":"react/hooks/functions","slug":"/react/hooks/functions/useUpdateEffect","permalink":"/frontend-libraries/docs/react/hooks/functions/useUpdateEffect","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/react/hooks/functions/useUpdateEffect.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"useUnmount","permalink":"/frontend-libraries/docs/react/hooks/functions/useUnmount"},"next":{"title":"@nf-team/fetch","permalink":"/frontend-libraries/docs/fetch/"}}');var c=n(1085),r=n(1184);const o={},d="Function: useUpdateEffect()",i={},a=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function f(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(t.header,{children:(0,c.jsx)(t.h1,{id:"function-useupdateeffect",children:"Function: useUpdateEffect()"})}),"\n",(0,c.jsxs)(t.blockquote,{children:["\n",(0,c.jsxs)(t.p,{children:[(0,c.jsx)(t.strong,{children:"useUpdateEffect"}),"(",(0,c.jsx)(t.code,{children:"effect"}),", ",(0,c.jsx)(t.code,{children:"deps"}),"?): ",(0,c.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,c.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"effect"}),": ",(0,c.jsx)(t.code,{children:"EffectCallback"})]}),"\n",(0,c.jsxs)(t.p,{children:["\u2022 ",(0,c.jsx)(t.strong,{children:"deps?"}),": ",(0,c.jsx)(t.code,{children:"DependencyList"})]}),"\n",(0,c.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.code,{children:"void"})}),"\n",(0,c.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(t.p,{children:(0,c.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/react/src/hooks/useUpdateEffect.ts#L5",children:"packages/react/src/hooks/useUpdateEffect.ts:5"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,c.jsx)(t,{...e,children:(0,c.jsx)(f,{...e})}):f(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>o,x:()=>d});var s=n(4041);const c={},r=s.createContext(c);function o(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/ef487c13.9519ccbd.js b/assets/js/ef487c13.db56aaa1.js similarity index 95% rename from assets/js/ef487c13.9519ccbd.js rename to assets/js/ef487c13.db56aaa1.js index 3e62dc7..72e62b7 100644 --- a/assets/js/ef487c13.9519ccbd.js +++ b/assets/js/ef487c13.db56aaa1.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1896],{9558:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"storage/functions/setSessionStorageItem","title":"Function: setSessionStorageItem()","description":"setSessionStorageItem(key, value): void","source":"@site/docs/storage/functions/setSessionStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/setSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setSessionStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/setSessionStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"setLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setLocalStorageItem"}}');var o=n(1085),r=n(1184);const i={},c="Function: setSessionStorageItem()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"function-setsessionstorageitem",children:"Function: setSessionStorageItem()"})}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"setSessionStorageItem"}),"(",(0,o.jsx)(t.code,{children:"key"}),", ",(0,o.jsx)(t.code,{children:"value"}),"): ",(0,o.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"key"}),": ",(0,o.jsx)(t.code,{children:"string"})]}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"value"}),": ",(0,o.jsx)(t.code,{children:"unknown"})]}),"\n",(0,o.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.code,{children:"void"})}),"\n",(0,o.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/storage/src/sessionStorage.ts#L1",children:"sessionStorage.ts:1"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var s=n(4041);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[1896],{9558:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>c,default:()=>u,frontMatter:()=>i,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"storage/functions/setSessionStorageItem","title":"Function: setSessionStorageItem()","description":"setSessionStorageItem(key, value): void","source":"@site/docs/storage/functions/setSessionStorageItem.md","sourceDirName":"storage/functions","slug":"/storage/functions/setSessionStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setSessionStorageItem","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/storage/functions/setSessionStorageItem.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"setLocalStorageItem","permalink":"/frontend-libraries/docs/storage/functions/setLocalStorageItem"}}');var o=n(1085),r=n(1184);const i={},c="Function: setSessionStorageItem()",a={},d=[{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function l(e){const t={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"function-setsessionstorageitem",children:"Function: setSessionStorageItem()"})}),"\n",(0,o.jsxs)(t.blockquote,{children:["\n",(0,o.jsxs)(t.p,{children:[(0,o.jsx)(t.strong,{children:"setSessionStorageItem"}),"(",(0,o.jsx)(t.code,{children:"key"}),", ",(0,o.jsx)(t.code,{children:"value"}),"): ",(0,o.jsx)(t.code,{children:"void"})]}),"\n"]}),"\n",(0,o.jsx)(t.h2,{id:"parameters",children:"Parameters"}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"key"}),": ",(0,o.jsx)(t.code,{children:"string"})]}),"\n",(0,o.jsxs)(t.p,{children:["\u2022 ",(0,o.jsx)(t.strong,{children:"value"}),": ",(0,o.jsx)(t.code,{children:"unknown"})]}),"\n",(0,o.jsx)(t.h2,{id:"returns",children:"Returns"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.code,{children:"void"})}),"\n",(0,o.jsx)(t.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,o.jsx)(t.p,{children:(0,o.jsx)(t.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/storage/src/sessionStorage.ts#L1",children:"sessionStorage.ts:1"})})]})}function u(e={}){const{wrapper:t}={...(0,r.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(l,{...e})}):l(e)}},1184:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var s=n(4041);const o={},r=s.createContext(o);function i(e){const t=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),s.createElement(r.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f39f22ab.22b89e90.js b/assets/js/f39f22ab.bbc52860.js similarity index 96% rename from assets/js/f39f22ab.22b89e90.js rename to assets/js/f39f22ab.bbc52860.js index be31238..f51d08b 100644 --- a/assets/js/f39f22ab.22b89e90.js +++ b/assets/js/f39f22ab.bbc52860.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9962],{8405:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>l,frontMatter:()=>i,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"fetch/functions/fetchApi","title":"Function: fetchApi()","description":"fetchApi\\\\(namedParameters): Promise\\\\","source":"@site/docs/fetch/functions/fetchApi.md","sourceDirName":"fetch/functions","slug":"/fetch/functions/fetchApi","permalink":"/frontend-libraries/docs/fetch/functions/fetchApi","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/functions/fetchApi.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"Method","permalink":"/frontend-libraries/docs/fetch/type-aliases/Method"},"next":{"title":"paramsSerializer","permalink":"/frontend-libraries/docs/fetch/functions/paramsSerializer"}}');var s=t(1085),c=t(1184);const i={},d="Function: fetchApi()",o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-fetchapi",children:"Function: fetchApi()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"fetchApi"}),"<",(0,s.jsx)(n.code,{children:"T"}),", ",(0,s.jsx)(n.code,{children:"K"}),", ",(0,s.jsx)(n.code,{children:"B"}),">(",(0,s.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,s.jsx)(n.code,{children:"Promise"}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"T"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"K"})," = ",(0,s.jsx)(n.code,{children:"unknown"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"B"})," = ",(0,s.jsx)(n.code,{children:"unknown"})]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"__namedParameters"}),": ",(0,s.jsx)(n.a,{href:"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest",children:(0,s.jsx)(n.code,{children:"FetchApiRequest"})}),"<",(0,s.jsx)(n.code,{children:"K"}),", ",(0,s.jsx)(n.code,{children:"B"}),">"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Promise"}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L32",children:"packages/fetch/src/fetch.ts:32"})})]})}function l(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>d});var r=t(4041);const s={},c=r.createContext(s);function i(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[9962],{8405:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>d,default:()=>l,frontMatter:()=>i,metadata:()=>r,toc:()=>a});const r=JSON.parse('{"id":"fetch/functions/fetchApi","title":"Function: fetchApi()","description":"fetchApi\\\\(namedParameters): Promise\\\\","source":"@site/docs/fetch/functions/fetchApi.md","sourceDirName":"fetch/functions","slug":"/fetch/functions/fetchApi","permalink":"/frontend-libraries/docs/fetch/functions/fetchApi","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/functions/fetchApi.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"Method","permalink":"/frontend-libraries/docs/fetch/type-aliases/Method"},"next":{"title":"paramsSerializer","permalink":"/frontend-libraries/docs/fetch/functions/paramsSerializer"}}');var s=t(1085),c=t(1184);const i={},d="Function: fetchApi()",o={},a=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Parameters",id:"parameters",level:2},{value:"Returns",id:"returns",level:2},{value:"Defined in",id:"defined-in",level:2}];function h(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"function-fetchapi",children:"Function: fetchApi()"})}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"fetchApi"}),"<",(0,s.jsx)(n.code,{children:"T"}),", ",(0,s.jsx)(n.code,{children:"K"}),", ",(0,s.jsx)(n.code,{children:"B"}),">(",(0,s.jsx)(n.code,{children:"__namedParameters"}),"): ",(0,s.jsx)(n.code,{children:"Promise"}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"T"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"K"})," = ",(0,s.jsx)(n.code,{children:"unknown"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"B"})," = ",(0,s.jsx)(n.code,{children:"unknown"})]}),"\n",(0,s.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"__namedParameters"}),": ",(0,s.jsx)(n.a,{href:"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest",children:(0,s.jsx)(n.code,{children:"FetchApiRequest"})}),"<",(0,s.jsx)(n.code,{children:"K"}),", ",(0,s.jsx)(n.code,{children:"B"}),">"]}),"\n",(0,s.jsx)(n.h2,{id:"returns",children:"Returns"}),"\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"Promise"}),"<",(0,s.jsx)(n.code,{children:"T"}),">"]}),"\n",(0,s.jsx)(n.h2,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L32",children:"packages/fetch/src/fetch.ts:32"})})]})}function l(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(h,{...e})}):h(e)}},1184:(e,n,t)=>{t.d(n,{R:()=>i,x:()=>d});var r=t(4041);const s={},c=r.createContext(s);function i(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f423a5fc.6203c373.js b/assets/js/f423a5fc.6203c373.js new file mode 100644 index 0000000..681dbb7 --- /dev/null +++ b/assets/js/f423a5fc.6203c373.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[99],{9457:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>a,frontMatter:()=>r,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"fetch/interfaces/FetchApiRequest","title":"Interface: FetchApiRequest\\\\","description":"Type Parameters","source":"@site/docs/fetch/interfaces/FetchApiRequest.md","sourceDirName":"fetch/interfaces","slug":"/fetch/interfaces/FetchApiRequest","permalink":"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/interfaces/FetchApiRequest.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"FetchError","permalink":"/frontend-libraries/docs/fetch/classes/FetchError"},"next":{"title":"Method","permalink":"/frontend-libraries/docs/fetch/type-aliases/Method"}}');var c=i(1085),s=i(1184);const r={},d="Interface: FetchApiRequest",h={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"body?",id:"body",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"config?",id:"config",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"method?",id:"method",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"params?",id:"params",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"timeout?",id:"timeout",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"url",id:"url",level:3},{value:"Defined in",id:"defined-in-5",level:4}];function o(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,s.R)(),...e.components};return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(n.header,{children:(0,c.jsx)(n.h1,{id:"interface-fetchapirequestk-b",children:"Interface: FetchApiRequest"})}),"\n",(0,c.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"K"})," = ",(0,c.jsx)(n.code,{children:"unknown"})]}),"\n",(0,c.jsxs)(n.p,{children:["\u2022 ",(0,c.jsx)(n.strong,{children:"B"})," = ",(0,c.jsx)(n.code,{children:"unknown"})]}),"\n",(0,c.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,c.jsx)(n.h3,{id:"body",children:"body?"}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"optional"})," ",(0,c.jsx)(n.strong,{children:"body"}),": ",(0,c.jsx)(n.code,{children:"B"})]}),"\n"]}),"\n",(0,c.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L18",children:"packages/fetch/src/fetch.ts:18"})}),"\n",(0,c.jsx)(n.hr,{}),"\n",(0,c.jsx)(n.h3,{id:"config",children:"config?"}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"optional"})," ",(0,c.jsx)(n.strong,{children:"config"}),": ",(0,c.jsx)(n.code,{children:"Omit"}),"<",(0,c.jsx)(n.code,{children:"RequestInit"}),", ",(0,c.jsx)(n.code,{children:'"method"'})," | ",(0,c.jsx)(n.code,{children:'"body"'}),">"]}),"\n"]}),"\n",(0,c.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L20",children:"packages/fetch/src/fetch.ts:20"})}),"\n",(0,c.jsx)(n.hr,{}),"\n",(0,c.jsx)(n.h3,{id:"method",children:"method?"}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"optional"})," ",(0,c.jsx)(n.strong,{children:"method"}),": ",(0,c.jsx)(n.a,{href:"/frontend-libraries/docs/fetch/type-aliases/Method",children:(0,c.jsx)(n.code,{children:"Method"})})]}),"\n"]}),"\n",(0,c.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L17",children:"packages/fetch/src/fetch.ts:17"})}),"\n",(0,c.jsx)(n.hr,{}),"\n",(0,c.jsx)(n.h3,{id:"params",children:"params?"}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"optional"})," ",(0,c.jsx)(n.strong,{children:"params"}),": ",(0,c.jsx)(n.code,{children:"K"})]}),"\n"]}),"\n",(0,c.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L16",children:"packages/fetch/src/fetch.ts:16"})}),"\n",(0,c.jsx)(n.hr,{}),"\n",(0,c.jsx)(n.h3,{id:"timeout",children:"timeout?"}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.code,{children:"optional"})," ",(0,c.jsx)(n.strong,{children:"timeout"}),": ",(0,c.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,c.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L19",children:"packages/fetch/src/fetch.ts:19"})}),"\n",(0,c.jsx)(n.hr,{}),"\n",(0,c.jsx)(n.h3,{id:"url",children:"url"}),"\n",(0,c.jsxs)(n.blockquote,{children:["\n",(0,c.jsxs)(n.p,{children:[(0,c.jsx)(n.strong,{children:"url"}),": ",(0,c.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,c.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,c.jsx)(n.p,{children:(0,c.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/cb9f16effcbb3b52a7665414ddc263d99e4aa174/packages/fetch/src/fetch.ts#L15",children:"packages/fetch/src/fetch.ts:15"})})]})}function a(e={}){const{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,c.jsx)(n,{...e,children:(0,c.jsx)(o,{...e})}):o(e)}},1184:(e,n,i)=>{i.d(n,{R:()=>r,x:()=>d});var t=i(4041);const c={},s=t.createContext(c);function r(e){const n=t.useContext(s);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:r(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/f423a5fc.740c25e3.js b/assets/js/f423a5fc.740c25e3.js deleted file mode 100644 index 126ae92..0000000 --- a/assets/js/f423a5fc.740c25e3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[99],{9457:(e,n,i)=>{i.r(n),i.d(n,{assets:()=>h,contentTitle:()=>d,default:()=>a,frontMatter:()=>r,metadata:()=>t,toc:()=>l});const t=JSON.parse('{"id":"fetch/interfaces/FetchApiRequest","title":"Interface: FetchApiRequest\\\\","description":"Type Parameters","source":"@site/docs/fetch/interfaces/FetchApiRequest.md","sourceDirName":"fetch/interfaces","slug":"/fetch/interfaces/FetchApiRequest","permalink":"/frontend-libraries/docs/fetch/interfaces/FetchApiRequest","draft":false,"unlisted":false,"editUrl":"https://github.com/mbti-nf-team/frontend-libraries/tree/main/apps/docs/docs/fetch/interfaces/FetchApiRequest.md","tags":[],"version":"current","frontMatter":{},"sidebar":"typedocSidebar","previous":{"title":"FetchError","permalink":"/frontend-libraries/docs/fetch/classes/FetchError"},"next":{"title":"Method","permalink":"/frontend-libraries/docs/fetch/type-aliases/Method"}}');var s=i(1085),c=i(1184);const r={},d="Interface: FetchApiRequest",h={},l=[{value:"Type Parameters",id:"type-parameters",level:2},{value:"Properties",id:"properties",level:2},{value:"body?",id:"body",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"config?",id:"config",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"method?",id:"method",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"params?",id:"params",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"timeout?",id:"timeout",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"url",id:"url",level:3},{value:"Defined in",id:"defined-in-5",level:4}];function o(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",p:"p",strong:"strong",...(0,c.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.header,{children:(0,s.jsx)(n.h1,{id:"interface-fetchapirequestk-b",children:"Interface: FetchApiRequest"})}),"\n",(0,s.jsx)(n.h2,{id:"type-parameters",children:"Type Parameters"}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"K"})," = ",(0,s.jsx)(n.code,{children:"unknown"})]}),"\n",(0,s.jsxs)(n.p,{children:["\u2022 ",(0,s.jsx)(n.strong,{children:"B"})," = ",(0,s.jsx)(n.code,{children:"unknown"})]}),"\n",(0,s.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,s.jsx)(n.h3,{id:"body",children:"body?"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"optional"})," ",(0,s.jsx)(n.strong,{children:"body"}),": ",(0,s.jsx)(n.code,{children:"B"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L18",children:"packages/fetch/src/fetch.ts:18"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"config",children:"config?"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"optional"})," ",(0,s.jsx)(n.strong,{children:"config"}),": ",(0,s.jsx)(n.code,{children:"Omit"}),"<",(0,s.jsx)(n.code,{children:"RequestInit"}),", ",(0,s.jsx)(n.code,{children:'"method"'})," | ",(0,s.jsx)(n.code,{children:'"body"'}),">"]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-1",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L20",children:"packages/fetch/src/fetch.ts:20"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"method",children:"method?"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"optional"})," ",(0,s.jsx)(n.strong,{children:"method"}),": ",(0,s.jsx)(n.a,{href:"/frontend-libraries/docs/fetch/type-aliases/Method",children:(0,s.jsx)(n.code,{children:"Method"})})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-2",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L17",children:"packages/fetch/src/fetch.ts:17"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"params",children:"params?"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"optional"})," ",(0,s.jsx)(n.strong,{children:"params"}),": ",(0,s.jsx)(n.code,{children:"K"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-3",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L16",children:"packages/fetch/src/fetch.ts:16"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"timeout",children:"timeout?"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.code,{children:"optional"})," ",(0,s.jsx)(n.strong,{children:"timeout"}),": ",(0,s.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-4",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L19",children:"packages/fetch/src/fetch.ts:19"})}),"\n",(0,s.jsx)(n.hr,{}),"\n",(0,s.jsx)(n.h3,{id:"url",children:"url"}),"\n",(0,s.jsxs)(n.blockquote,{children:["\n",(0,s.jsxs)(n.p,{children:[(0,s.jsx)(n.strong,{children:"url"}),": ",(0,s.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,s.jsx)(n.h4,{id:"defined-in-5",children:"Defined in"}),"\n",(0,s.jsx)(n.p,{children:(0,s.jsx)(n.a,{href:"https://github.com/mbti-nf-team/frontend-libraries/blob/338232b5e3916f2759a07236e6b9a78b3fc66682/packages/fetch/src/fetch.ts#L15",children:"packages/fetch/src/fetch.ts:15"})})]})}function a(e={}){const{wrapper:n}={...(0,c.R)(),...e.components};return n?(0,s.jsx)(n,{...e,children:(0,s.jsx)(o,{...e})}):o(e)}},1184:(e,n,i)=>{i.d(n,{R:()=>r,x:()=>d});var t=i(4041);const s={},c=t.createContext(s);function r(e){const n=t.useContext(c);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function d(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:r(e.components),t.createElement(c.Provider,{value:n},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.0e91a0cf.js b/assets/js/runtime~main.0e91a0cf.js deleted file mode 100644 index 2c42b17..0000000 --- a/assets/js/runtime~main.0e91a0cf.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{"use strict";var e,a,f,b,c,t={},d={};function r(e){var a=d[e];if(void 0!==a)return a.exports;var f=d[e]={id:e,loaded:!1,exports:{}};return t[e].call(f.exports,f,f.exports,r),f.loaded=!0,f.exports}r.m=t,r.c=d,e=[],r.O=(a,f,b,c)=>{if(!f){var t=1/0;for(i=0;i=c)&&Object.keys(r.O).every((e=>r.O[e](f[o])))?f.splice(o--,1):(d=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[f,b,c]},r.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return r.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(e,b){if(1&b&&(e=this(e)),8&b)return e;if("object"==typeof e&&e){if(4&b&&e.__esModule)return e;if(16&b&&"function"==typeof e.then)return e}var c=Object.create(null);r.r(c);var t={};a=a||[null,f({}),f([]),f(f)];for(var d=2&b&&e;"object"==typeof d&&!~a.indexOf(d);d=f(d))Object.getOwnPropertyNames(d).forEach((a=>t[a]=()=>e[a]));return t.default=()=>e,r.d(c,t),c},r.d=(e,a)=>{for(var f in a)r.o(a,f)&&!r.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((a,f)=>(r.f[f](e,a),a)),[])),r.u=e=>"assets/js/"+({99:"f423a5fc",396:"00115d42",867:"558ae5da",1115:"0ca8f66b",1235:"a7456010",1531:"e25a2221",1896:"ef487c13",2138:"94d6b71b",2673:"6a697cbb",3274:"00c7fb03",3336:"bf1b63ba",3361:"c377a04b",3555:"111dc743",3888:"87799a3c",4308:"c1af470a",4331:"35c8f0ed",4377:"76dd0cb8",4478:"68d9404b",4583:"1df93b7f",4737:"20f59c58",4741:"2fe0723c",4777:"b4570d6f",5009:"49f38925",5037:"0ddb8718",5055:"2a22f953",5155:"4e6b4c5a",5515:"fbdfd165",5645:"a48a9bde",5649:"51690aae",5723:"77ea8981",5742:"aba21aa0",5954:"bd3af8c0",6296:"74f058ad",6365:"0f644bb2",6667:"50539457",6715:"708e6d46",7014:"9b8bda3f",7063:"2880f6f4",7098:"a7bd4aaa",7205:"630c44c5",7258:"52099976",8245:"7688874f",8401:"17896441",8517:"4ca39a29",8738:"929933fb",8814:"d926dfea",9048:"a94703ab",9200:"4e46b231",9399:"0ba427ff",9441:"d63a8f0b",9463:"18c3d7cc",9647:"5e95c892",9803:"21e3aef7",9823:"cb19188b",9953:"2e996eac",9962:"f39f22ab"}[e]||e)+"."+{99:"740c25e3",396:"2a342423",867:"036f98ec",1115:"71cfaf4d",1235:"5f9bbb01",1531:"65be266e",1896:"9519ccbd",2138:"8a855a02",2673:"795efbe7",3274:"a2509a19",3336:"8fbad625",3361:"07cb4bc7",3555:"6ae9877a",3888:"4831b267",4308:"d397be41",4331:"9dfd8f56",4377:"7af15c13",4478:"f12c4b3f",4583:"1f4ab25b",4737:"99637ade",4741:"533a9f57",4777:"4442c431",5009:"9c833849",5037:"f2febf24",5055:"bebce578",5155:"f7d63a5b",5515:"0ec70482",5645:"80e4db56",5649:"70fcee04",5723:"3ca9f15e",5742:"ed09cce9",5954:"a100b25d",6296:"06151472",6365:"8906adfb",6667:"cfd7fffa",6715:"2bdddfc3",7014:"6949063a",7063:"efe2bc0d",7098:"4471edeb",7205:"cb4f3222",7258:"cdc52215",8104:"18171fa1",8245:"32279a8b",8401:"21232f90",8517:"1ef4c533",8738:"f79d99b7",8814:"07383f1e",9048:"8fd2edcc",9200:"ed818c2e",9399:"eafdf293",9441:"fa750d69",9463:"fcce002d",9647:"799853a2",9803:"4fda6753",9823:"6d74b8c5",9953:"06854974",9962:"22b89e90"}[e]+".js",r.miniCssF=e=>{},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),b={},c="docs:",r.l=(e,a,f,t)=>{if(b[e])b[e].push(a);else{var d,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{d.onerror=d.onload=null,clearTimeout(s);var c=b[e];if(delete b[e],d.parentNode&&d.parentNode.removeChild(d),c&&c.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:d}),12e4);d.onerror=l.bind(null,d.onerror),d.onload=l.bind(null,d.onload),o&&document.head.appendChild(d)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/frontend-libraries/",r.gca=function(e){return e={17896441:"8401",50539457:"6667",52099976:"7258",f423a5fc:"99","00115d42":"396","558ae5da":"867","0ca8f66b":"1115",a7456010:"1235",e25a2221:"1531",ef487c13:"1896","94d6b71b":"2138","6a697cbb":"2673","00c7fb03":"3274",bf1b63ba:"3336",c377a04b:"3361","111dc743":"3555","87799a3c":"3888",c1af470a:"4308","35c8f0ed":"4331","76dd0cb8":"4377","68d9404b":"4478","1df93b7f":"4583","20f59c58":"4737","2fe0723c":"4741",b4570d6f:"4777","49f38925":"5009","0ddb8718":"5037","2a22f953":"5055","4e6b4c5a":"5155",fbdfd165:"5515",a48a9bde:"5645","51690aae":"5649","77ea8981":"5723",aba21aa0:"5742",bd3af8c0:"5954","74f058ad":"6296","0f644bb2":"6365","708e6d46":"6715","9b8bda3f":"7014","2880f6f4":"7063",a7bd4aaa:"7098","630c44c5":"7205","7688874f":"8245","4ca39a29":"8517","929933fb":"8738",d926dfea:"8814",a94703ab:"9048","4e46b231":"9200","0ba427ff":"9399",d63a8f0b:"9441","18c3d7cc":"9463","5e95c892":"9647","21e3aef7":"9803",cb19188b:"9823","2e996eac":"9953",f39f22ab:"9962"}[e]||e,r.p+r.u(e)},(()=>{var e={5354:0,1869:0};r.f.j=(a,f)=>{var b=r.o(e,a)?e[a]:void 0;if(0!==b)if(b)f.push(b[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var c=new Promise(((f,c)=>b=e[a]=[f,c]));f.push(b[2]=c);var t=r.p+r.u(a),d=new Error;r.l(t,(f=>{if(r.o(e,a)&&(0!==(b=e[a])&&(e[a]=void 0),b)){var c=f&&("load"===f.type?"missing":f.type),t=f&&f.target&&f.target.src;d.message="Loading chunk "+a+" failed.\n("+c+": "+t+")",d.name="ChunkLoadError",d.type=c,d.request=t,b[1](d)}}),"chunk-"+a,a)}},r.O.j=a=>0===e[a];var a=(a,f)=>{var b,c,t=f[0],d=f[1],o=f[2],n=0;if(t.some((a=>0!==e[a]))){for(b in d)r.o(d,b)&&(r.m[b]=d[b]);if(o)var i=o(r)}for(a&&a(f);n{"use strict";var e,a,f,t,c,r={},b={};function d(e){var a=b[e];if(void 0!==a)return a.exports;var f=b[e]={id:e,loaded:!1,exports:{}};return r[e].call(f.exports,f,f.exports,d),f.loaded=!0,f.exports}d.m=r,d.c=b,e=[],d.O=(a,f,t,c)=>{if(!f){var r=1/0;for(i=0;i=c)&&Object.keys(d.O).every((e=>d.O[e](f[o])))?f.splice(o--,1):(b=!1,c0&&e[i-1][2]>c;i--)e[i]=e[i-1];e[i]=[f,t,c]},d.n=e=>{var a=e&&e.__esModule?()=>e.default:()=>e;return d.d(a,{a:a}),a},f=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var c=Object.create(null);d.r(c);var r={};a=a||[null,f({}),f([]),f(f)];for(var b=2&t&&e;"object"==typeof b&&!~a.indexOf(b);b=f(b))Object.getOwnPropertyNames(b).forEach((a=>r[a]=()=>e[a]));return r.default=()=>e,d.d(c,r),c},d.d=(e,a)=>{for(var f in a)d.o(a,f)&&!d.o(e,f)&&Object.defineProperty(e,f,{enumerable:!0,get:a[f]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((a,f)=>(d.f[f](e,a),a)),[])),d.u=e=>"assets/js/"+({99:"f423a5fc",396:"00115d42",867:"558ae5da",1115:"0ca8f66b",1235:"a7456010",1531:"e25a2221",1896:"ef487c13",2138:"94d6b71b",2673:"6a697cbb",3274:"00c7fb03",3336:"bf1b63ba",3361:"c377a04b",3555:"111dc743",3888:"87799a3c",4308:"c1af470a",4331:"35c8f0ed",4377:"76dd0cb8",4478:"68d9404b",4583:"1df93b7f",4737:"20f59c58",4741:"2fe0723c",4777:"b4570d6f",5009:"49f38925",5037:"0ddb8718",5055:"2a22f953",5155:"4e6b4c5a",5515:"fbdfd165",5645:"a48a9bde",5649:"51690aae",5723:"77ea8981",5742:"aba21aa0",5954:"bd3af8c0",6296:"74f058ad",6365:"0f644bb2",6667:"50539457",6715:"708e6d46",7014:"9b8bda3f",7063:"2880f6f4",7098:"a7bd4aaa",7205:"630c44c5",7258:"52099976",8245:"7688874f",8401:"17896441",8517:"4ca39a29",8738:"929933fb",8814:"d926dfea",9048:"a94703ab",9200:"4e46b231",9399:"0ba427ff",9441:"d63a8f0b",9463:"18c3d7cc",9647:"5e95c892",9803:"21e3aef7",9823:"cb19188b",9953:"2e996eac",9962:"f39f22ab"}[e]||e)+"."+{99:"6203c373",396:"b9844225",867:"859c8a50",1115:"81fd4abc",1235:"5f9bbb01",1531:"547bd9b6",1896:"db56aaa1",2138:"efdc58e9",2673:"ebb1806c",3274:"0ad0c3fb",3336:"642b2346",3361:"07cb4bc7",3555:"6ae9877a",3888:"4831b267",4308:"6c21db0f",4331:"9dfd8f56",4377:"775c3bcb",4478:"764d360d",4583:"1f4ab25b",4737:"5bbc22eb",4741:"fd82f9db",4777:"4442c431",5009:"9c833849",5037:"a62db705",5055:"4a0bfd7b",5155:"a2cfefc2",5515:"0ec70482",5645:"80e4db56",5649:"5a64636b",5723:"3bbd5f3d",5742:"ed09cce9",5954:"f6b78e56",6296:"e3d3d4c7",6365:"7c4d0359",6667:"cfd7fffa",6715:"702cc9b8",7014:"5f1a4477",7063:"efe2bc0d",7098:"4471edeb",7205:"9178165b",7258:"cdc52215",8104:"18171fa1",8245:"4f61e424",8401:"21232f90",8517:"48f64bc2",8738:"fbead71f",8814:"15b3fd0e",9048:"8fd2edcc",9200:"9e54590b",9399:"eafdf293",9441:"67f6c218",9463:"fcce002d",9647:"799853a2",9803:"df8f84b0",9823:"6d74b8c5",9953:"92da9b28",9962:"bbc52860"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,a)=>Object.prototype.hasOwnProperty.call(e,a),t={},c="docs:",d.l=(e,a,f,r)=>{if(t[e])t[e].push(a);else{var b,o;if(void 0!==f)for(var n=document.getElementsByTagName("script"),i=0;i{b.onerror=b.onload=null,clearTimeout(s);var c=t[e];if(delete t[e],b.parentNode&&b.parentNode.removeChild(b),c&&c.forEach((e=>e(f))),a)return a(f)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:b}),12e4);b.onerror=l.bind(null,b.onerror),b.onload=l.bind(null,b.onload),o&&document.head.appendChild(b)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/frontend-libraries/",d.gca=function(e){return e={17896441:"8401",50539457:"6667",52099976:"7258",f423a5fc:"99","00115d42":"396","558ae5da":"867","0ca8f66b":"1115",a7456010:"1235",e25a2221:"1531",ef487c13:"1896","94d6b71b":"2138","6a697cbb":"2673","00c7fb03":"3274",bf1b63ba:"3336",c377a04b:"3361","111dc743":"3555","87799a3c":"3888",c1af470a:"4308","35c8f0ed":"4331","76dd0cb8":"4377","68d9404b":"4478","1df93b7f":"4583","20f59c58":"4737","2fe0723c":"4741",b4570d6f:"4777","49f38925":"5009","0ddb8718":"5037","2a22f953":"5055","4e6b4c5a":"5155",fbdfd165:"5515",a48a9bde:"5645","51690aae":"5649","77ea8981":"5723",aba21aa0:"5742",bd3af8c0:"5954","74f058ad":"6296","0f644bb2":"6365","708e6d46":"6715","9b8bda3f":"7014","2880f6f4":"7063",a7bd4aaa:"7098","630c44c5":"7205","7688874f":"8245","4ca39a29":"8517","929933fb":"8738",d926dfea:"8814",a94703ab:"9048","4e46b231":"9200","0ba427ff":"9399",d63a8f0b:"9441","18c3d7cc":"9463","5e95c892":"9647","21e3aef7":"9803",cb19188b:"9823","2e996eac":"9953",f39f22ab:"9962"}[e]||e,d.p+d.u(e)},(()=>{var e={5354:0,1869:0};d.f.j=(a,f)=>{var t=d.o(e,a)?e[a]:void 0;if(0!==t)if(t)f.push(t[2]);else if(/^(1869|5354)$/.test(a))e[a]=0;else{var c=new Promise(((f,c)=>t=e[a]=[f,c]));f.push(t[2]=c);var r=d.p+d.u(a),b=new Error;d.l(r,(f=>{if(d.o(e,a)&&(0!==(t=e[a])&&(e[a]=void 0),t)){var c=f&&("load"===f.type?"missing":f.type),r=f&&f.target&&f.target.src;b.message="Loading chunk "+a+" failed.\n("+c+": "+r+")",b.name="ChunkLoadError",b.type=c,b.request=r,t[1](b)}}),"chunk-"+a,a)}},d.O.j=a=>0===e[a];var a=(a,f)=>{var t,c,r=f[0],b=f[1],o=f[2],n=0;if(r.some((a=>0!==e[a]))){for(t in b)d.o(b,t)&&(d.m[t]=b[t]);if(o)var i=o(d)}for(a&&a(f);n Introduction | @nf-team/frontend-libraries - + diff --git a/docs/core.html b/docs/core.html index a3d8230..91cecd1 100644 --- a/docs/core.html +++ b/docs/core.html @@ -4,7 +4,7 @@ @nf-team/core | @nf-team/frontend-libraries - + diff --git a/docs/core/functions/createNumberArray.html b/docs/core/functions/createNumberArray.html index 676eb25..bd6bf38 100644 --- a/docs/core/functions/createNumberArray.html +++ b/docs/core/functions/createNumberArray.html @@ -4,7 +4,7 @@ Function: createNumberArray() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

number[]

Defined in

-

utils.ts:61

+

utils.ts:61

\ No newline at end of file diff --git a/docs/core/functions/emptyAThenB.html b/docs/core/functions/emptyAThenB.html index 539872a..93162fe 100644 --- a/docs/core/functions/emptyAThenB.html +++ b/docs/core/functions/emptyAThenB.html @@ -4,7 +4,7 @@ Function: emptyAThenB() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

string

Defined in

-

utils.ts:31

+

utils.ts:31

\ No newline at end of file diff --git a/docs/core/functions/ensureArray.html b/docs/core/functions/ensureArray.html index 0229227..0034e83 100644 --- a/docs/core/functions/ensureArray.html +++ b/docs/core/functions/ensureArray.html @@ -4,7 +4,7 @@ Function: ensureArray() | @nf-team/frontend-libraries - + @@ -19,6 +19,6 @@

ParametersReturns

T[]

Defined in

-

utils.ts:41

+

utils.ts:41

\ No newline at end of file diff --git a/docs/core/functions/getNumberOrDefault.html b/docs/core/functions/getNumberOrDefault.html index 98d4838..9a231d2 100644 --- a/docs/core/functions/getNumberOrDefault.html +++ b/docs/core/functions/getNumberOrDefault.html @@ -4,7 +4,7 @@ Function: getNumberOrDefault() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

number

Defined in

-

utils.ts:26

+

utils.ts:26

\ No newline at end of file diff --git a/docs/core/functions/getStringOrDefault.html b/docs/core/functions/getStringOrDefault.html index cfdff92..1bbc4e8 100644 --- a/docs/core/functions/getStringOrDefault.html +++ b/docs/core/functions/getStringOrDefault.html @@ -4,7 +4,7 @@ Function: getStringOrDefault() | @nf-team/frontend-libraries - + @@ -25,6 +25,6 @@

DescriptionExample

console.log(result); // 'newValue';

Defined in

-

utils.ts:14

+

utils.ts:14

\ No newline at end of file diff --git a/docs/core/functions/isEmpty.html b/docs/core/functions/isEmpty.html index 3e6d2e5..1457a41 100644 --- a/docs/core/functions/isEmpty.html +++ b/docs/core/functions/isEmpty.html @@ -4,7 +4,7 @@ Function: isEmpty() | @nf-team/frontend-libraries - + @@ -19,6 +19,6 @@

ParametersReturns

boolean

Defined in

-

utils.ts:49

+

utils.ts:49

\ No newline at end of file diff --git a/docs/core/functions/trueOrFalse.html b/docs/core/functions/trueOrFalse.html index 84ed908..460dd92 100644 --- a/docs/core/functions/trueOrFalse.html +++ b/docs/core/functions/trueOrFalse.html @@ -4,7 +4,7 @@ Function: trueOrFalse() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

boolean

Defined in

-

utils.ts:33

+

utils.ts:33

\ No newline at end of file diff --git a/docs/core/packages.html b/docs/core/packages.html index eca98a0..c9886c9 100644 --- a/docs/core/packages.html +++ b/docs/core/packages.html @@ -4,7 +4,7 @@ @nf-team/core v3.0.0 | @nf-team/frontend-libraries - + diff --git a/docs/eslint-config.html b/docs/eslint-config.html index 18e1961..44e598a 100644 --- a/docs/eslint-config.html +++ b/docs/eslint-config.html @@ -4,7 +4,7 @@ @nf-team/eslint-config | @nf-team/frontend-libraries - + diff --git a/docs/fetch.html b/docs/fetch.html index 1f7ac27..a4268fe 100644 --- a/docs/fetch.html +++ b/docs/fetch.html @@ -4,7 +4,7 @@ @nf-team/fetch | @nf-team/frontend-libraries - + diff --git a/docs/fetch/classes/FetchError.html b/docs/fetch/classes/FetchError.html index 17948ed..bfc4055 100644 --- a/docs/fetch/classes/FetchError.html +++ b/docs/fetch/classes/FetchError.html @@ -4,7 +4,7 @@ Class: FetchError | @nf-team/frontend-libraries - + @@ -26,7 +26,7 @@

ReturnsOverrides

Error.constructor

Defined in

-

packages/fetch/src/fetch.ts:6

+

packages/fetch/src/fetch.ts:6

Properties

message

@@ -60,7 +60,7 @@

statusDefined in

-

packages/fetch/src/fetch.ts:6

+

packages/fetch/src/fetch.ts:6


prepareStackTrace()?

diff --git a/docs/fetch/functions/fetchApi.html b/docs/fetch/functions/fetchApi.html index c14f5ed..ad8c5bd 100644 --- a/docs/fetch/functions/fetchApi.html +++ b/docs/fetch/functions/fetchApi.html @@ -4,7 +4,7 @@ Function: fetchApi() | @nf-team/frontend-libraries - + @@ -21,6 +21,6 @@

ParametersReturns

Promise<T>

Defined in

-

packages/fetch/src/fetch.ts:32

+

packages/fetch/src/fetch.ts:32

\ No newline at end of file diff --git a/docs/fetch/functions/paramsSerializer.html b/docs/fetch/functions/paramsSerializer.html index 12c4ad0..dba0cad 100644 --- a/docs/fetch/functions/paramsSerializer.html +++ b/docs/fetch/functions/paramsSerializer.html @@ -4,7 +4,7 @@ Function: paramsSerializer() | @nf-team/frontend-libraries - + @@ -19,6 +19,6 @@

ParametersReturns

string

Defined in

-

packages/fetch/src/fetch.ts:23

+

packages/fetch/src/fetch.ts:23

\ No newline at end of file diff --git a/docs/fetch/interfaces/FetchApiRequest.html b/docs/fetch/interfaces/FetchApiRequest.html index 44a87bb..4601c9f 100644 --- a/docs/fetch/interfaces/FetchApiRequest.html +++ b/docs/fetch/interfaces/FetchApiRequest.html @@ -4,7 +4,7 @@ Interface: FetchApiRequest\<K, B\> | @nf-team/frontend-libraries - + @@ -18,41 +18,41 @@

body?optional body: B

Defined in

-

packages/fetch/src/fetch.ts:18

+

packages/fetch/src/fetch.ts:18


config?

optional config: Omit<RequestInit, "method" | "body">

Defined in

-

packages/fetch/src/fetch.ts:20

+

packages/fetch/src/fetch.ts:20


method?

optional method: Method

Defined in

-

packages/fetch/src/fetch.ts:17

+

packages/fetch/src/fetch.ts:17


params?

optional params: K

Defined in

-

packages/fetch/src/fetch.ts:16

+

packages/fetch/src/fetch.ts:16


timeout?

optional timeout: number

Defined in

-

packages/fetch/src/fetch.ts:19

+

packages/fetch/src/fetch.ts:19


url

url: string

Defined in

-

packages/fetch/src/fetch.ts:15

+

packages/fetch/src/fetch.ts:15

\ No newline at end of file diff --git a/docs/fetch/packages.html b/docs/fetch/packages.html index 64176b4..37ff595 100644 --- a/docs/fetch/packages.html +++ b/docs/fetch/packages.html @@ -4,7 +4,7 @@ @nf-team/fetch v1.2.0 | @nf-team/frontend-libraries - + diff --git a/docs/fetch/type-aliases/Method.html b/docs/fetch/type-aliases/Method.html index 9006614..9c4e666 100644 --- a/docs/fetch/type-aliases/Method.html +++ b/docs/fetch/type-aliases/Method.html @@ -4,7 +4,7 @@ Type Alias: Method | @nf-team/frontend-libraries - + @@ -13,6 +13,6 @@

Method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"

Defined in

-

packages/fetch/src/fetch.ts:12

+

packages/fetch/src/fetch.ts:12

\ No newline at end of file diff --git a/docs/react.html b/docs/react.html index 09e70c8..a605916 100644 --- a/docs/react.html +++ b/docs/react.html @@ -4,7 +4,7 @@ @nf-team/react | @nf-team/frontend-libraries - + diff --git a/docs/react/components.html b/docs/react/components.html index 8c6760d..c64a357 100644 --- a/docs/react/components.html +++ b/docs/react/components.html @@ -4,7 +4,7 @@ components | @nf-team/frontend-libraries - + diff --git a/docs/react/components/functions/ClientOnly.html b/docs/react/components/functions/ClientOnly.html index ea0e0b1..f7b87b4 100644 --- a/docs/react/components/functions/ClientOnly.html +++ b/docs/react/components/functions/ClientOnly.html @@ -4,7 +4,7 @@ Function: ClientOnly() | @nf-team/frontend-libraries - + @@ -25,6 +25,6 @@

DescriptionExample

function ClintOnlyComponent() {
return (
<ClientOnly>
<div>Render only client environment</div>
</ClientOnly>
);
}

Defined in

-

packages/react/src/components/ClientOnly.tsx:22

+

packages/react/src/components/ClientOnly.tsx:22

\ No newline at end of file diff --git a/docs/react/components/functions/DelayRenderComponent.html b/docs/react/components/functions/DelayRenderComponent.html index 0149ff5..c9d9704 100644 --- a/docs/react/components/functions/DelayRenderComponent.html +++ b/docs/react/components/functions/DelayRenderComponent.html @@ -4,7 +4,7 @@ Function: DelayRenderComponent() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

null | Element

Defined in

-

packages/react/src/components/DelayRenderComponent.tsx:12

+

packages/react/src/components/DelayRenderComponent.tsx:12

\ No newline at end of file diff --git a/docs/react/components/functions/GlobalPortal.html b/docs/react/components/functions/GlobalPortal.html index ec5108d..d2e8a2c 100644 --- a/docs/react/components/functions/GlobalPortal.html +++ b/docs/react/components/functions/GlobalPortal.html @@ -4,7 +4,7 @@ Function: GlobalPortal() | @nf-team/frontend-libraries - + @@ -26,6 +26,6 @@

Example
html
<div id="portal-container" />
tsx
function SampleComponent() {

return (
<GlobalPortal elementId="portal-container">
<div>Render component</div>
</GlobalPortal>
);
}

Defined in

-

packages/react/src/components/GlobalPortal.tsx:34

+

packages/react/src/components/GlobalPortal.tsx:34

\ No newline at end of file diff --git a/docs/react/hooks.html b/docs/react/hooks.html index 6f26640..827897b 100644 --- a/docs/react/hooks.html +++ b/docs/react/hooks.html @@ -4,7 +4,7 @@ hooks | @nf-team/frontend-libraries - + diff --git a/docs/react/hooks/functions/useActionKeyEvent.html b/docs/react/hooks/functions/useActionKeyEvent.html index 14f838d..00aed89 100644 --- a/docs/react/hooks/functions/useActionKeyEvent.html +++ b/docs/react/hooks/functions/useActionKeyEvent.html @@ -4,7 +4,7 @@ Function: useActionKeyEvent() | @nf-team/frontend-libraries - + @@ -21,6 +21,6 @@

ParametersReturns

ActionKeyEvent<T, U>

Defined in

-

packages/react/src/hooks/useActionKeyEvent.ts:6

+

packages/react/src/hooks/useActionKeyEvent.ts:6

\ No newline at end of file diff --git a/docs/react/hooks/functions/useBoolean.html b/docs/react/hooks/functions/useBoolean.html index 177a88b..8408535 100644 --- a/docs/react/hooks/functions/useBoolean.html +++ b/docs/react/hooks/functions/useBoolean.html @@ -4,7 +4,7 @@ Function: useBoolean() | @nf-team/frontend-libraries - + @@ -22,6 +22,6 @@

DescriptionExample

const [isOpen, openModal, closeModal, toggleModal] = useBoolean();

Defined in

-

packages/react/src/hooks/useBoolean.ts:13

+

packages/react/src/hooks/useBoolean.ts:13

\ No newline at end of file diff --git a/docs/react/hooks/functions/useDebounce.html b/docs/react/hooks/functions/useDebounce.html index 99a266d..bbce2cc 100644 --- a/docs/react/hooks/functions/useDebounce.html +++ b/docs/react/hooks/functions/useDebounce.html @@ -4,7 +4,7 @@ Function: useDebounce() | @nf-team/frontend-libraries - + @@ -20,6 +20,6 @@

ParametersReturns

T

Defined in

-

packages/react/src/hooks/useDebounce.ts:3

+

packages/react/src/hooks/useDebounce.ts:3

\ No newline at end of file diff --git a/docs/react/hooks/functions/useEffectOnce.html b/docs/react/hooks/functions/useEffectOnce.html index 37350c2..5bc037a 100644 --- a/docs/react/hooks/functions/useEffectOnce.html +++ b/docs/react/hooks/functions/useEffectOnce.html @@ -4,7 +4,7 @@ Function: useEffectOnce() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

void

Defined in

-

packages/react/src/hooks/useEffectOnce.ts:3

+

packages/react/src/hooks/useEffectOnce.ts:3

\ No newline at end of file diff --git a/docs/react/hooks/functions/useGeolocation.html b/docs/react/hooks/functions/useGeolocation.html index c11e5cc..ecc5901 100644 --- a/docs/react/hooks/functions/useGeolocation.html +++ b/docs/react/hooks/functions/useGeolocation.html @@ -4,7 +4,7 @@ Function: useGeolocation() | @nf-team/frontend-libraries - + @@ -15,6 +15,6 @@

Returns

[GeoLocation, () => void]

Defined in

-

packages/react/src/hooks/useGeolocation.ts:15

+

packages/react/src/hooks/useGeolocation.ts:15

\ No newline at end of file diff --git a/docs/react/hooks/functions/useIsFirstRender.html b/docs/react/hooks/functions/useIsFirstRender.html index 17d9ed7..a0a643c 100644 --- a/docs/react/hooks/functions/useIsFirstRender.html +++ b/docs/react/hooks/functions/useIsFirstRender.html @@ -4,7 +4,7 @@ Function: useIsFirstRender() | @nf-team/frontend-libraries - + @@ -15,6 +15,6 @@

Returns

boolean

Defined in

-

packages/react/src/hooks/useIsFirstRender.ts:3

+

packages/react/src/hooks/useIsFirstRender.ts:3

\ No newline at end of file diff --git a/docs/react/hooks/functions/useIsMounted.html b/docs/react/hooks/functions/useIsMounted.html index 3886900..8614b39 100644 --- a/docs/react/hooks/functions/useIsMounted.html +++ b/docs/react/hooks/functions/useIsMounted.html @@ -4,7 +4,7 @@ Function: useIsMounted() | @nf-team/frontend-libraries - + @@ -20,6 +20,6 @@

DescriptionExample

const isMounted = useIsMounted();

useEffect(() => {
if (isMounted) {
return;
}
}, [isMounted]);

Defined in

-

packages/react/src/hooks/useIsMounted.ts:18

+

packages/react/src/hooks/useIsMounted.ts:18

\ No newline at end of file diff --git a/docs/react/hooks/functions/useIsomorphicLayoutEffect.html b/docs/react/hooks/functions/useIsomorphicLayoutEffect.html index 70121f1..026f02a 100644 --- a/docs/react/hooks/functions/useIsomorphicLayoutEffect.html +++ b/docs/react/hooks/functions/useIsomorphicLayoutEffect.html @@ -4,7 +4,7 @@ Function: useIsomorphicLayoutEffect() | @nf-team/frontend-libraries - + @@ -25,6 +25,6 @@

VersionSee

https://react.dev/reference/react/useEffect

Defined in

-

packages/react/src/hooks/useIsomorphicLayoutEffect.ts:3

+

packages/react/src/hooks/useIsomorphicLayoutEffect.ts:3

\ No newline at end of file diff --git a/docs/react/hooks/functions/useLessThenScrollY.html b/docs/react/hooks/functions/useLessThenScrollY.html index f51ae34..0ffd85f 100644 --- a/docs/react/hooks/functions/useLessThenScrollY.html +++ b/docs/react/hooks/functions/useLessThenScrollY.html @@ -4,7 +4,7 @@ Function: useLessThenScrollY() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

boolean

Defined in

-

packages/react/src/hooks/useLessThenScrollY.ts:5

+

packages/react/src/hooks/useLessThenScrollY.ts:5

\ No newline at end of file diff --git a/docs/react/hooks/functions/useResizeViewportHeight.html b/docs/react/hooks/functions/useResizeViewportHeight.html index 2b52014..98829ed 100644 --- a/docs/react/hooks/functions/useResizeViewportHeight.html +++ b/docs/react/hooks/functions/useResizeViewportHeight.html @@ -4,7 +4,7 @@ Function: useResizeViewportHeight() | @nf-team/frontend-libraries - + @@ -20,6 +20,6 @@

DescriptionExample

function SampleComponent() {
useResizeViewportHeight();

return <div>sample text</div>
}

Defined in

-

packages/react/src/hooks/useResizeViewportHeight.ts:17

+

packages/react/src/hooks/useResizeViewportHeight.ts:17

\ No newline at end of file diff --git a/docs/react/hooks/functions/useThrottleCallback.html b/docs/react/hooks/functions/useThrottleCallback.html index 1d214f1..a7f6d3c 100644 --- a/docs/react/hooks/functions/useThrottleCallback.html +++ b/docs/react/hooks/functions/useThrottleCallback.html @@ -4,7 +4,7 @@ Function: useThrottleCallback() | @nf-team/frontend-libraries - + @@ -25,6 +25,6 @@

ParametersReturns

void

Defined in

-

packages/react/src/hooks/useThrottleCallback.ts:3

+

packages/react/src/hooks/useThrottleCallback.ts:3

\ No newline at end of file diff --git a/docs/react/hooks/functions/useTimeout.html b/docs/react/hooks/functions/useTimeout.html index 1bd91bf..704759b 100644 --- a/docs/react/hooks/functions/useTimeout.html +++ b/docs/react/hooks/functions/useTimeout.html @@ -4,7 +4,7 @@ Function: useTimeout() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

void

Defined in

-

packages/react/src/hooks/useTimeout.ts:5

+

packages/react/src/hooks/useTimeout.ts:5

\ No newline at end of file diff --git a/docs/react/hooks/functions/useUnmount.html b/docs/react/hooks/functions/useUnmount.html index 2862732..8e60ca4 100644 --- a/docs/react/hooks/functions/useUnmount.html +++ b/docs/react/hooks/functions/useUnmount.html @@ -4,7 +4,7 @@ Function: useUnmount() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

void

Defined in

-

packages/react/src/hooks/useUnmount.ts:5

+

packages/react/src/hooks/useUnmount.ts:5

\ No newline at end of file diff --git a/docs/react/hooks/functions/useUpdateEffect.html b/docs/react/hooks/functions/useUpdateEffect.html index 5caff62..d3230ee 100644 --- a/docs/react/hooks/functions/useUpdateEffect.html +++ b/docs/react/hooks/functions/useUpdateEffect.html @@ -4,7 +4,7 @@ Function: useUpdateEffect() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

void

Defined in

-

packages/react/src/hooks/useUpdateEffect.ts:5

+

packages/react/src/hooks/useUpdateEffect.ts:5

\ No newline at end of file diff --git a/docs/react/packages.html b/docs/react/packages.html index 0b8d76d..6712dab 100644 --- a/docs/react/packages.html +++ b/docs/react/packages.html @@ -4,7 +4,7 @@ @nf-team/react v2.7.1 | @nf-team/frontend-libraries - + diff --git a/docs/storage.html b/docs/storage.html index 47ce516..43a9786 100644 --- a/docs/storage.html +++ b/docs/storage.html @@ -4,7 +4,7 @@ @nf-team/storage | @nf-team/frontend-libraries - + diff --git a/docs/storage/functions/getLocalStorageItem.html b/docs/storage/functions/getLocalStorageItem.html index b76e11e..ca23dcc 100644 --- a/docs/storage/functions/getLocalStorageItem.html +++ b/docs/storage/functions/getLocalStorageItem.html @@ -4,7 +4,7 @@ Function: getLocalStorageItem() | @nf-team/frontend-libraries - + @@ -19,6 +19,6 @@

ParametersReturns

null | T

Defined in

-

localStorage.ts:5

+

localStorage.ts:5

\ No newline at end of file diff --git a/docs/storage/functions/getSessionStorageItem.html b/docs/storage/functions/getSessionStorageItem.html index a13a795..55f9270 100644 --- a/docs/storage/functions/getSessionStorageItem.html +++ b/docs/storage/functions/getSessionStorageItem.html @@ -4,7 +4,7 @@ Function: getSessionStorageItem() | @nf-team/frontend-libraries - + @@ -19,6 +19,6 @@

ParametersReturns

null | T

Defined in

-

sessionStorage.ts:5

+

sessionStorage.ts:5

\ No newline at end of file diff --git a/docs/storage/functions/removeLocalStorageItem.html b/docs/storage/functions/removeLocalStorageItem.html index 5075de5..c36d88b 100644 --- a/docs/storage/functions/removeLocalStorageItem.html +++ b/docs/storage/functions/removeLocalStorageItem.html @@ -4,7 +4,7 @@ Function: removeLocalStorageItem() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

void

Defined in

-

localStorage.ts:20

+

localStorage.ts:20

\ No newline at end of file diff --git a/docs/storage/functions/removeSessionStorageItem.html b/docs/storage/functions/removeSessionStorageItem.html index 81d6553..fd21501 100644 --- a/docs/storage/functions/removeSessionStorageItem.html +++ b/docs/storage/functions/removeSessionStorageItem.html @@ -4,7 +4,7 @@ Function: removeSessionStorageItem() | @nf-team/frontend-libraries - + @@ -17,6 +17,6 @@

ParametersReturns

void

Defined in

-

sessionStorage.ts:20

+

sessionStorage.ts:20

\ No newline at end of file diff --git a/docs/storage/functions/setLocalStorageItem.html b/docs/storage/functions/setLocalStorageItem.html index 9cf3217..80f8c49 100644 --- a/docs/storage/functions/setLocalStorageItem.html +++ b/docs/storage/functions/setLocalStorageItem.html @@ -4,7 +4,7 @@ Function: setLocalStorageItem() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

void

Defined in

-

localStorage.ts:1

+

localStorage.ts:1

\ No newline at end of file diff --git a/docs/storage/functions/setSessionStorageItem.html b/docs/storage/functions/setSessionStorageItem.html index 4fc0297..b1b8d0c 100644 --- a/docs/storage/functions/setSessionStorageItem.html +++ b/docs/storage/functions/setSessionStorageItem.html @@ -4,7 +4,7 @@ Function: setSessionStorageItem() | @nf-team/frontend-libraries - + @@ -18,6 +18,6 @@

ParametersReturns

void

Defined in

-

sessionStorage.ts:1

+

sessionStorage.ts:1

\ No newline at end of file diff --git a/docs/storage/packages.html b/docs/storage/packages.html index 8a4f33f..82b7ca6 100644 --- a/docs/storage/packages.html +++ b/docs/storage/packages.html @@ -4,7 +4,7 @@ @nf-team/storage v1.1.0 | @nf-team/frontend-libraries - + diff --git a/docs/stylelint-config.html b/docs/stylelint-config.html index 404ef19..60d49c9 100644 --- a/docs/stylelint-config.html +++ b/docs/stylelint-config.html @@ -4,7 +4,7 @@ @nf-team/stylelint-config | @nf-team/frontend-libraries - + diff --git a/index.html b/index.html index 858b8a6..1e851dc 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ @nf-team/frontend-libraries | @nf-team/frontend-libraries - +