@tscircuit/props 0.0.626 → 0.0.628

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
@@ -1513,6 +1513,27 @@ export interface PinHeaderProps extends CommonComponentProps {
1513
1513
  */
1514
1514
  gender?: "male" | "female" | "unpopulated";
1515
1515
 
1516
+ /**
1517
+ * Mount the header on the top of the board, so it is connected to from
1518
+ * above. An alias for `layer: "top"`, which is the default.
1519
+ *
1520
+ * Which side of the board a part sits on is `layer`, and only `layer`: the
1521
+ * 3D model is always drawn top-side and consumers flip it for a bottom-layer
1522
+ * component. Prefer these names on a connector, where "which side does the
1523
+ * mating connector come from" is the question actually being asked.
1524
+ */
1525
+ connectsFromAbove?: boolean;
1526
+
1527
+ /**
1528
+ * Mount the header on the underside of the board, so it is connected to from
1529
+ * below. An alias for `layer: "bottom"`.
1530
+ *
1531
+ * Not to be confused with `invert` on a footprint string, which installs a
1532
+ * header BACKWARDS on whichever side it is on — long pins through the board
1533
+ * rather than short ones.
1534
+ */
1535
+ connectsFromBelow?: boolean;
1536
+
1516
1537
  /**
1517
1538
  * Whether to show pin labels in silkscreen
1518
1539
  */