Skip to main content

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

PropTypeRequiredDefaultDescription
childrenReact.ReactNode-Header content
styleStyleProp<ViewStyle>-undefinedCustom styles
testIDstring-undefinedTest identifier

Child Components

  • SignIn - Main sign-in component