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
@@ -1211,7 +1211,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>
|
||||
@@ -1246,11 +1246,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>
|
||||
@@ -1261,7 +1261,7 @@ 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="issortable">isSortable<a class="headerlink" href="#issortable" title="Permanent link">#</a></h3>
|
||||
<p>• <strong>get isSortable</strong>(): <em>boolean</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/table/table-cell.tsx#L35">src/renderer/components/table/table-cell.tsx:35</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/table/table-cell.tsx#L35">src/renderer/components/table/table-cell.tsx:35</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>boolean</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>
|
||||
@@ -1547,7 +1547,7 @@ lifecycle events from running.</p>
|
||||
<hr />
|
||||
<h3 id="onclick">onClick<a class="headerlink" href="#onclick" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>onClick</strong>(<code>evt</code>: MouseEvent‹HTMLDivElement›): <em>void</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/table/table-cell.tsx#L25">src/renderer/components/table/table-cell.tsx:25</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/table/table-cell.tsx#L25">src/renderer/components/table/table-cell.tsx:25</a></em></p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<table>
|
||||
<thead>
|
||||
@@ -1568,17 +1568,17 @@ 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/table/table-cell.tsx#L65">src/renderer/components/table/table-cell.tsx:65</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/table/table-cell.tsx#L65">src/renderer/components/table/table-cell.tsx:65</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>Element‹›</em></p>
|
||||
<hr />
|
||||
<h3 id="rendercheckbox">renderCheckbox<a class="headerlink" href="#rendercheckbox" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>renderCheckbox</strong>(): <em>Element‹›</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/table/table-cell.tsx#L56">src/renderer/components/table/table-cell.tsx:56</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/table/table-cell.tsx#L56">src/renderer/components/table/table-cell.tsx:56</a></em></p>
|
||||
<p><strong>Returns:</strong> <em>Element‹›</em></p>
|
||||
<hr />
|
||||
<h3 id="rendersorticon">renderSortIcon<a class="headerlink" href="#rendersorticon" title="Permanent link">#</a></h3>
|
||||
<p>▸ <strong>renderSortIcon</strong>(): <em>Element‹›</em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/507994686/src/renderer/components/table/table-cell.tsx#L41">src/renderer/components/table/table-cell.tsx:41</a></em></p>
|
||||
<p><em>Defined in <a href="https://github.com/lensapp/lens/blob/dce74fee5/src/renderer/components/table/table-cell.tsx#L41">src/renderer/components/table/table-cell.tsx:41</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