SignIn.Header
Container component for the header section of the sign-in screen that provides structured layout for title and description elements.
Quick Example
import { SignIn } from "@ovok/native";
import React from "react";
const HeaderExample = () => {
return (
<SignIn.Header>
<SignIn.Header.Title>Welcome Back</SignIn.Header.Title>
<SignIn.Header.Description>
Sign in to your account
</SignIn.Header.Description>
</SignIn.Header>
);
};
export default HeaderExample;
Props
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
children | React.ReactNode | ✓ | - | Header content |
style | StyleProp<ViewStyle> | - | undefined | Custom styles |
testID | string | - | undefined | Test identifier |
Child Components
- SignIn.Header.Title - Title text component
- SignIn.Header.Description - Description text component
Related Components
- SignIn - Main sign-in component