### InputField Usage Examples Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/InputField.md Examples demonstrating how to import and use the InputField component in various scenarios. ```APIDOC ## Basic Usage ### Import ```tsx import { InputField } from 'opal-mobile'; ``` ### Simple InputField ```tsx ``` ## Advanced Usage ```tsx const [value, setValue] = useState(''); ``` ## Complete Example ```tsx const InputFieldExample = () => ( <> ); ``` ``` -------------------------------- ### Complete Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Typography.md Provides a comprehensive example of using the Typography component. ```APIDOC ## Complete Example ```tsx const TypographyExample = () => ( <> Hello world ); ``` ``` -------------------------------- ### Complete Tab Example (TypeScript) Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Tab.md A comprehensive example showcasing the Tab component within a React functional component. It includes the necessary import and a basic Tab setup, similar to the simple usage example. ```tsx const TabExample = () => ( <> ); ``` -------------------------------- ### LayoutGrid: Visual Layout Guides (React Native) Source: https://context7.com/ryadav96/opal-mobile-docs/llms.txt Illustrates the use of the LayoutGrid component to render visual layout guides for columns, rows, or full grid overlays. Examples cover column grids, row grids, combined grids, and custom styling for design alignment. ```tsx import { LayoutGrid } from 'opal-mobile'; // Column grid overlay // Row grid // Full grid overlay // Custom styling // Available options: // LayoutGridVariant: 'columns' | 'rows' | 'grid' ``` -------------------------------- ### TabItem Usage Examples Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/TabItem.md Provides examples of how to import and use the TabItem component in various scenarios. ```APIDOC ## Basic Usage ### Import ```tsx import { TabItem } from 'opal-mobile'; ``` ### Simple TabItem ```tsx {}} /> ``` ## Variants and States ### Available Type Options | Alias | Options | | --- | --- | | `TabItemType` | `primary`, `secondary` | | `TabItemSize` | `small`, `large` | | `TabItemState` | `rest`, `active` | ## Advanced Usage Use this component with external state and pass explicit values through its props table above when control is needed. ## Complete Example ```tsx const TabItemExample = () => ( <> {}} /> ); ``` ``` -------------------------------- ### LayoutGrid Usage Examples Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/LayoutGrid.md Provides examples of how to import and use the LayoutGrid component in various scenarios. ```APIDOC ## Basic Usage ### Import ```tsx import { LayoutGrid } from 'opal-mobile'; ``` ### Simple LayoutGrid ```tsx ``` ## Complete Example ```tsx const LayoutGridExample = () => ( <> ); ``` ``` -------------------------------- ### Complete SelectorPill Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/SelectorPill.md Provides a complete example of rendering a SelectorPill component within a functional component. This example includes the necessary import and JSX structure for a basic implementation. ```tsx const SelectorPillExample = () => ( <> {}} /> ); ``` -------------------------------- ### Complete LayoutGrid Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/LayoutGrid.md A more complete example demonstrating the usage of the LayoutGrid component within a React functional component. This example also uses the 'columns' variant with specific configurations. ```tsx const LayoutGridExample = () => ( <> ); ``` -------------------------------- ### Complete InputField Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/InputField.md Provides a complete, albeit simple, example of rendering the InputField component within a React component. This serves as a basic integration point. ```tsx const InputFieldExample = () => ( <> ); ``` -------------------------------- ### Complete Spinner Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Spinner.md A complete example of using the Spinner component within a React functional component. This illustrates how to render the spinner with its props. ```tsx const SpinnerExample = () => ( <> ); ``` -------------------------------- ### Basic Usage Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Typography.md Demonstrates the basic import and usage of the Typography component. ```APIDOC ## Basic Usage ### Import ```tsx import { Typography } from 'opal-mobile'; ``` ### Simple Typography ```tsx Hello world ``` ``` -------------------------------- ### Complete Tag Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Tag.md Provides a complete example of rendering a Tag component within a React functional component. This example showcases a 'removable' tag with a label and an interaction handler. ```tsx const TagExample = () => ( <> {}} /> ); ``` -------------------------------- ### Checkbox Usage Examples Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Checkbox.md Illustrates how to import and use the Checkbox component in basic and advanced scenarios. ```APIDOC ## Basic Usage ### Import ```tsx import { Checkbox } from 'opal-mobile'; ``` ### Simple Checkbox ```tsx setAccepted(!accepted)} /> ``` ## Advanced Usage ```tsx const [checked, setChecked] = useState(false); setChecked((prev) => !prev)} /> ``` ## Complete Example ```tsx const CheckboxExample = () => ( <> setAccepted(!accepted)} /> ); ``` ``` -------------------------------- ### Complete Button Example Source: https://github.com/ryadav96/opal-mobile-docs/blob/main/Button.md Provides a complete example of a Button component within a functional component. This demonstrates how to integrate the Button into a React component structure. ```tsx const ButtonExample = () => ( <>