An open source design system that's fully customizable and agent ready
TypeScript
spec(native): Switch's label props are absent from the Apple contracts (#8452)
Cindy Zhang95229862a9af
diff --git a/packages/native/specs/swift/library/component-api.md b/packages/native/specs/swift/library/component-api.mdindex 227ab0302a..8316ee38f8 100644--- a/packages/native/specs/swift/library/component-api.md+++ b/packages/native/specs/swift/library/component-api.md@@ -64,7 +64,7 @@ same generated contract.without that meaning (`architecture:public-component-api` INV2). A prop onlyone platform can honor is that platform's prop, such as Switch's `size`,which only macOS can honor with the system switch. Switch's `labelPosition` and- `labelSpacing` are web-only: an Apple switch row follows the system toggle+ `labelSpacing` are absent from the Apple contracts: an Apple switch row follows the system togglelayout, the label leading, the switch trailing, and the system's spacingbetween them. A `content` slot, which `<Name>Props` leaves out, is aparameter of both initializers instead: the labeled one takes it as a