mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Deployed dce74fee5 to v4.0.7 with MkDocs 1.1.2 and mike 0.5.5
This commit is contained in:
1 parent
a351768e17
commit
d84b22d035
498 files changed
+387039
-3798
No files matched your search
+12
-12
@@ -1229,7 +1229,7 @@
|
||||
<p>If using the new style context, re-declare this in your class to be the
|
||||
<code>React.ContextType</code> of your <code>static contextType</code>.
|
||||
Should be used with type annotation or static contextType.</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="kr">static</span> <span class="nx">contextType</span> <span class="o">=</span> <span class="nx">MyContext</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="k">static</span> <span class="nx">contextType</span> <span class="o">=</span> <span class="nx">MyContext</span>
|
||||
<span class="c1">// For TS pre-3.7:</span>
|
||||
<span class="nx">context</span><span class="o">!:</span> <span class="nx">React</span><span class="p">.</span><span class="nx">ContextType</span><span class="o"><</span><span class="k">typeof</span> <span class="nx">MyContext</span><span class="o">></span>
|
||||
<span class="c1">// For TS 3.7 and above:</span>
|
||||
@@ -1239,7 +1239,7 @@ Should be used with type annotation or static contextType.</p>
|
||||
<hr />
|
||||
<h3 id="isloading">isLoading<a class="headerlink" href="#isloading" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>isLoading</strong>: <em>boolean</em> = false</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L24">src/renderer/components/kube-object/kube-object-details.tsx:24</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L24">src/renderer/components/kube-object/kube-object-details.tsx:24</a></em></p>
|
||||
<hr />
|
||||
<h3 id="loader">loader<a class="headerlink" href="#loader" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>loader</strong>: <em>IReactionDisposer</em> = reaction(() => [
|
||||
@@ -1266,11 +1266,11 @@ Should be used with type annotation or static contextType.</p>
|
||||
}
|
||||
</code></pre></div>
|
||||
<p>})</p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L44">src/renderer/components/kube-object/kube-object-details.tsx:44</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L44">src/renderer/components/kube-object/kube-object-details.tsx:44</a></em></p>
|
||||
<hr />
|
||||
<h3 id="loadingerror">loadingError<a class="headerlink" href="#loadingerror" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>loadingError</strong>: <em>React.ReactNode</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L25">src/renderer/components/kube-object/kube-object-details.tsx:25</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L25">src/renderer/components/kube-object/kube-object-details.tsx:25</a></em></p>
|
||||
<hr />
|
||||
<h3 id="props">props<a class="headerlink" href="#props" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>props</strong>: <em>Readonly‹P› & Readonly‹object›</em></p>
|
||||
@@ -1299,11 +1299,11 @@ https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</p>
|
||||
<p>Defined in node_modules/@types/react/index.d.ts:468</p>
|
||||
<p>If set, <code>this.context</code> will be set at runtime to the current value of the given Context.</p>
|
||||
<p>Usage:</p>
|
||||
<div class="highlight"><pre><span></span><code><span class="nx">type</span> <span class="nx">MyContext</span> <span class="o">=</span> <span class="kt">number</span>
|
||||
<span class="kr">const</span> <span class="nx">Ctx</span> <span class="o">=</span> <span class="nx">React</span><span class="p">.</span><span class="nx">createContext</span><span class="o"><</span><span class="nx">MyContext</span><span class="o">></span><span class="p">(</span><span class="mi">0</span><span class="p">)</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="kd">type</span> <span class="nx">MyContext</span> <span class="o">=</span> <span class="kt">number</span>
|
||||
<span class="kd">const</span> <span class="nx">Ctx</span> <span class="o">=</span> <span class="nx">React</span><span class="p">.</span><span class="nx">createContext</span><span class="o"><</span><span class="nx">MyContext</span><span class="o">></span><span class="p">(</span><span class="mf">0</span><span class="p">)</span>
|
||||
|
||||
<span class="kr">class</span> <span class="nx">Foo</span> <span class="kr">extends</span> <span class="nx">React</span><span class="p">.</span><span class="nx">Component</span> <span class="p">{</span>
|
||||
<span class="kr">static</span> <span class="nx">contextType</span> <span class="o">=</span> <span class="nx">Ctx</span>
|
||||
<span class="kd">class</span> <span class="nx">Foo</span> <span class="k">extends</span> <span class="nx">React</span><span class="p">.</span><span class="nx">Component</span> <span class="p">{</span>
|
||||
<span class="k">static</span> <span class="nx">contextType</span> <span class="o">=</span> <span class="nx">Ctx</span>
|
||||
<span class="nx">context</span><span class="o">!:</span> <span class="nx">React</span><span class="p">.</span><span class="nx">ContextType</span><span class="o"><</span><span class="k">typeof</span> <span class="nx">Ctx</span><span class="o">></span>
|
||||
<span class="nx">render</span> <span class="p">()</span> <span class="p">{</span>
|
||||
<span class="k">return</span> <span class="o"><></span><span class="nx">My</span> <span class="nx">context</span><span class="err">'</span><span class="nx">s</span> <span class="nx">value</span><span class="o">:</span> <span class="p">{</span><span class="k">this</span><span class="p">.</span><span class="nx">context</span><span class="p">}</span><span class="o"><</span><span class="err">/>;</span>
|
||||
@@ -1314,17 +1314,17 @@ https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</p>
|
||||
<h2 id="accessors_1">Accessors<a class="headerlink" href="#accessors_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="iscrdinstance">isCrdInstance<a class="headerlink" href="#iscrdinstance" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get isCrdInstance</strong>(): <em>boolean</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L39">src/renderer/components/kube-object/kube-object-details.tsx:39</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L39">src/renderer/components/kube-object/kube-object-details.tsx:39</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>boolean</em></p>
|
||||
<hr />
|
||||
<h3 id="object">object<a class="headerlink" href="#object" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get object</strong>(): <em>any</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L31">src/renderer/components/kube-object/kube-object-details.tsx:31</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L31">src/renderer/components/kube-object/kube-object-details.tsx:31</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>any</em></p>
|
||||
<hr />
|
||||
<h3 id="path">path<a class="headerlink" href="#path" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get path</strong>(): <em>string</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L27">src/renderer/components/kube-object/kube-object-details.tsx:27</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L27">src/renderer/components/kube-object/kube-object-details.tsx:27</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>string</em></p>
|
||||
<h2 id="methods_1">Methods<a class="headerlink" href="#methods_1" title="Permanent link">#</a></h2>
|
||||
<h3 id="optional-unsafe_componentwillmount"><code>Optional</code> UNSAFE_componentWillMount<a class="headerlink" href="#optional-unsafe_componentwillmount" title="Permanent link">#</a></h3>
|
||||
@@ -1611,7 +1611,7 @@ lifecycle events from running.</p>
|
||||
<h3 id="render">render<a class="headerlink" href="#render" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>render</strong>(): <em>Element‹›</em></p>
|
||||
<p><em>Overrides void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/kube-object/kube-object-details.tsx#L69">src/renderer/components/kube-object/kube-object-details.tsx:69</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/kube-object/kube-object-details.tsx#L69">src/renderer/components/kube-object/kube-object-details.tsx:69</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>Element‹›</em></p>
|
||||
<hr />
|
||||
<h3 id="setstate">setState<a class="headerlink" href="#setstate" title="Permanent link">#</a></h3>
|
||||
|
||||
Reference in new issue
Block a user