Usage

Keep a screen title clear of system UI

This type is used by SafeArea

tsx
import { SafeArea, Text } from 'kuito';

export default function Home() {
  return (
    <SafeArea flex={1} padding={16}>
      <Text fontSize={28} fontWeight="bold">
        Library
      </Text>
    </SafeArea>
  );
}

Type declaration

ts
export type SafeAreaEdge = 'top' | 'right' | 'bottom' | 'left';

Type

ts
"top" | "right" | "bottom" | "left"
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.