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``
|
||||
- ``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``
|
||||
- ``Content/*/Button/Title``
|
||||
- ``Content/*/Table/Header``
|
||||
- ``Footer/*/List item/Link``
|
||||
- ``Content/*/Form/Help text``
|
||||
- ``Sidebar/Queue/Tab.Title``
|
||||
- ``Content/*/Button.Title``
|
||||
- ``Content/*/Table.Header``
|
||||
- ``Footer/*/List item.Link``
|
||||
- ``Content/*/Form.Help text``
|
||||
|
||||
Collecting translatable strings
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
Loading…
Reference in New Issue