Skip to content

Commit 5b30fe1

Browse files
committed
docs(mosaic): use a generic prefix for supporting feature files
1 parent e4c854e commit 5b30fe1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎packages/mosaic/ARCHITECTURE.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,11 @@ switcher.tsx // composition wrapper and the public props type
201201
Supporting files carry the parts that would otherwise bloat those four:
202202

203203
```text
204-
switcher.types.ts // the data contract the model and view both agree on
205-
switcher.messages.ts // every string the surface renders, as one `as const` object
206-
switcher.layout.ts // pure derivation (which affordance goes in which slot)
207-
switcher.utils.ts // pure helpers
208-
switcher.styles.ts // `stylex.create` atoms (see the StyleX authoring rules)
204+
<feature>.types.ts // the data contract the model and view both agree on
205+
<feature>.messages.ts // every string the surface renders, as one `as const` object
206+
<feature>.layout.ts // pure derivation (which affordance goes in which slot)
207+
<feature>.utils.ts // pure helpers
208+
<feature>.styles.ts // `stylex.create` atoms (see the StyleX authoring rules)
209209
<name>.dialog.tsx // a dialog the view opens, when it would crowd the view file
210210
```
211211

0 commit comments

Comments
 (0)