Skip to content

Commit 42c67a1

Browse files
committed
minor #1372 [live-component docs] Fix typo and format warning at top of page (srich387)
This PR was merged into the 2.x branch. Discussion ---------- [live-component docs] Fix typo and format warning at top of page | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | n/a | License | MIT - Format the "experimental" warning as a caution box - Fix typo in code sample ("it's" -> "its") Commits ------- 4bd5edf Update index.rst
2 parents 86a7d39 + 4bd5edf commit 42c67a1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/LiveComponent/doc/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
Live Components
22
===============
33

4-
**EXPERIMENTAL** This component is currently experimental and is likely
5-
to change, or even change drastically.
4+
.. caution::
5+
6+
This component is currently experimental and is likely to change, or even
7+
change drastically.
68

79
Live components builds on top of the `TwigComponent`_ library
810
to give you the power to automatically update your Twig components on
@@ -3256,7 +3258,7 @@ uses Symfony's test client to render and make requests to your components::
32563258
// refresh the component
32573259
$testComponent->refresh();
32583260

3259-
// access the component object (in it's current state)
3261+
// access the component object (in its current state)
32603262
$component = $testComponent->component(); // MyComponent
32613263

32623264
$this->assertSame(99, $component->count);

0 commit comments

Comments
 (0)