Skip to content

Commit 0aafc76

Browse files
committed
docs
1 parent 396d4d9 commit 0aafc76

File tree

6 files changed

+123
-22
lines changed

6 files changed

+123
-22
lines changed

docs/dist/4.x/forms/overview/index.html

Lines changed: 92 additions & 2 deletions
Large diffs are not rendered by default.

docs/dist/4.x/schemas/overview/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ <h2 id="available-components"><a class="heading-anchor" href="#available-compone
189189
</ul>
190190
<p>For displaying arbitrary content, Filament includes <a href="primes">prime</a> components:</p>
191191
<ul>
192-
<li><a href="primes#text">Text</a></li>
193-
<li><a href="primes#icon">Icon</a></li>
194-
<li><a href="primes#image">Image</a></li>
195-
<li><a href="primes#unordered-list">Unordered list</a></li>
192+
<li><a href="primes#text-component">Text</a></li>
193+
<li><a href="primes#icon-component">Icon</a></li>
194+
<li><a href="primes#image-component">Image</a></li>
195+
<li><a href="primes#unordered-list-component">Unordered list</a></li>
196196
</ul>
197197
<p>You can also insert “action” buttons into schemas. These can run PHP functions, and even open modals. For more information, see the <a href="../actions">actions documentation</a>.</p>
198198
<p>You can learn more about building custom components to render your own Blade views in the <a href="custom-components">custom components documentation</a>.</p>
@@ -316,7 +316,7 @@ <h3 id="injecting-dependencies-from-laravels-container"><a class="heading-anchor
316316
<span class="line"><span style="color:#89DDFF">}</span></span>
317317
<span class="line"></span></code></pre>
318318
<h2 id="global-settings"><a class="heading-anchor" href="#global-settings"><span class="heading-anchor-icon" aria-hidden="true">#</span></a>Global settings</h2>
319-
<p>If you wish to change the default behavior of a component globally, then you can call the static <code>configureUsing()</code> method inside a service provider’s <code>boot()</code> method, to which you pass a Closure to modify the component using. For example, if you wish to make all section components have <a href="grid">2 columns</a> by default, you can do it like so:</p>
319+
<p>If you wish to change the default behavior of a component globally, then you can call the static <code>configureUsing()</code> method inside a service provider’s <code>boot()</code> method, to which you pass a Closure to modify the component using. For example, if you wish to make all section components have <a href="sections#using-grid-columns-within-a-section">2 columns</a> by default, you can do it like so:</p>
320320
<pre class="astro-code material-theme-palenight" style="background-color:#292D3E;color:#babed8;overflow-x:auto" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F78C6C">use</span><span style="color:#BABED8"> Filament</span><span style="color:#89DDFF">\</span><span style="color:#BABED8">Schemas</span><span style="color:#89DDFF">\</span><span style="color:#BABED8">Components</span><span style="color:#89DDFF">\</span><span style="color:#BABED8">Section</span><span style="color:#89DDFF">;</span></span>
321321
<span class="line"></span>
322322
<span class="line"><span style="color:#FFCB6B">Section</span><span style="color:#89DDFF">::</span><span style="color:#82AAFF">configureUsing</span><span style="color:#89DDFF">(</span><span style="color:#C792EA">function</span><span style="color:#89DDFF"> (</span><span style="color:#FFCB6B">Section</span><span style="color:#89DDFF"> $</span><span style="color:#BABED8">section</span><span style="color:#89DDFF">):</span><span style="color:#F78C6C"> void</span><span style="color:#89DDFF"> {</span></span>

0 commit comments

Comments
 (0)