Skip to content

Commit

Permalink
minor #1294 [TwigComponent] Fix typo in Component Attributes docs (ma…
Browse files Browse the repository at this point in the history
…riusadam)

This PR was merged into the 2.x branch.

Discussion
----------

[TwigComponent] Fix typo in Component Attributes docs

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Issues        | none <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

Fixing a small typo in the documentation.

Commits
-------

5ca5a8a [TwigComponent] Fix typo in Component Attributes docs
  • Loading branch information
weaverryan committed Dec 1, 2023
2 parents 7794893 + 5ca5a8a commit 311eb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ Component Attributes
A common need for components is to configure/render attributes for the
root node. Attributes are any props that are passed when rendering that
cannot be mounted on the component itself. This extra data is added to a
``ComponentAttributes`` object that'ss available as ``attributes`` in your
``ComponentAttributes`` object that's available as ``attributes`` in your
component's template:

.. code-block:: html+twig
Expand Down

0 comments on commit 311eb12

Please sign in to comment.