Documentation Index
Fetch the complete documentation index at: https://gusto-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Component Adapter Types
The Component Adapter system uses TypeScript interfaces to ensure type safety and consistent behavior. This document provides links to the type definitions you’ll need when implementing custom components.Core Types
- Component Inventory - Individual component prop interfaces
ComponentsContextType- The main interface defining all customizable UI componentsGustoProviderCustomUIAdapterProps- Props for the custom UI adapter
Importing Types
All types are exported from the SDK package:Type Safety
The Component Adapter system leverages TypeScript to ensure type safety:- Compile-time checking: TypeScript will flag any missing or incorrect props in your component implementations
- IDE support: You get autocomplete and documentation for all required props
- Type inference: TypeScript can infer the types of your event handlers and other callback functions
Setting Up Your Component Adapter Component Inventory