集合/design/components.md
这段内容尚未翻译,下面是英文原文。
Components
The components of the design, by level: primitive, composite, block, page. One record per component id; the HTML and the React implementations are joined on it.
The components of the design. A component is described once, in the header of its code file (see the component header); the action sync of the package design-components turns every header into one page here. Do not edit the header of these pages: edit the header in the code file and run shtuk run design-components sync. The text under the header of a page is yours: write there what the component is for and when to use it.
sources: in the header of this page lists extra folders that hold component files, besides /design/<library>/components/.
包 Design components 会把此页面放在
/design/components.md。源文本