@theroutingcompany/components 0.0.9 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # TRC TREX Component Library
2
2
 
3
+ View the [StoryBook](https://6392297e45ccab79e466ee19-iytnzjepcr.chromatic.com/).
4
+
3
5
  ## UI Libraries
4
6
 
5
7
  The component library is built on the following 'component primitives' UI libraries, low-level unstyled building blocks.
@@ -39,6 +41,12 @@ Partly inspired by these
39
41
  * [Notes on maintaining an internal React component library](https://www.gabe.pizza/notes-on-component-libraries/)
40
42
  * [Component API Standards](https://jonambas.com/posts/component-api-standards)
41
43
 
44
+ ### Start Simple
45
+
46
+ Or the “Principle of Least Power”.
47
+
48
+ For example, don’t start building a table component that covers many use-cases. Instead start with just the reusable parts of the table that can be shared between many use-cases.
49
+
42
50
  ### For content, prefer composition over props
43
51
 
44
52
  - ❌ `<Text variant="body" text="Some text" />`