SignIn.Header.Title

Title component for the sign-in header section

  • Stable unknown
  • Release candidate since 1.16.1-rc.3
  • Development since 1.16.1-dev.2111+9796905

Title component for the sign-in header section that displays the main heading with localization support.

Quick Example

import { SignIn } from "@ovok/native";
import React from "react";

const TitleExample = () => {
  return (
    <SignIn.Header>
      <SignIn.Header.Title>Welcome Back</SignIn.Header.Title>
    </SignIn.Header>
  );
};

export default TitleExample;

Props

Every prop, with its type and description, is listed in the @ovok/native/auth API reference.

Localization

The component uses the following translation keys:

{
  "sign-in": {
    "title": "Sign In"
  }
}

Default Behavior

When no children prop is provided, the component automatically displays the localized title:

<SignIn.Header.Title />

This renders the value of t("sign-in.title") which defaults to "Sign In".

Last updated on

On this page