Nest multiple component parts by a dot instead of a /
This commit is contained in:
parent
2fe403ed9a
commit
3ca17d3fa1
|
@ -489,13 +489,13 @@ Here are a few examples of valid context hierarchies:
|
||||||
- ``*/*/*/Verb, Short``
|
- ``*/*/*/Verb, Short``
|
||||||
- ``Modal/Playlist/Button``
|
- ``Modal/Playlist/Button``
|
||||||
|
|
||||||
It's possible to nest multiple component parts to reach a higher level of detail:
|
It's possible to nest multiple component parts to reach a higher level of detail. The component parts are then separated by a dot:
|
||||||
|
|
||||||
- ``Sidebar/Queue/Tab/Title``
|
- ``Sidebar/Queue/Tab.Title``
|
||||||
- ``Content/*/Button/Title``
|
- ``Content/*/Button.Title``
|
||||||
- ``Content/*/Table/Header``
|
- ``Content/*/Table.Header``
|
||||||
- ``Footer/*/List item/Link``
|
- ``Footer/*/List item.Link``
|
||||||
- ``Content/*/Form/Help text``
|
- ``Content/*/Form.Help text``
|
||||||
|
|
||||||
Collecting translatable strings
|
Collecting translatable strings
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
Loading…
Reference in New Issue