Framer X » Smart components » iOS Segmented Control » 10. A pinch of TypeScript

10. A pinch of TypeScript

The additions on this page aren’t really needed, but will make the component just that bit better. Why add TypeScript? By adding some TypeScript, the Framer editor (and VS Code) will know what to check for when you use this component inside another component. This is the code I added at the beginning of the […]
To access this page, you must purchase Framer X book - Monthly or Framer X book - Yearly.