Skip to main content

Divider

A divider is a thin line that groups content in lists and layouts.

Dividers separate content into clear groups.

💬 Feedback 🎨 Material Design

Import

import { Divider } from "@react-native-material/core";

Coloring

Insets

Props

color

Type: string | undefined;

Optional: Yes


inset

Type: number | undefined;

Optional: Yes


leadingInset

Type: number | undefined;

Optional: Yes


trailingInset

Type: number | undefined;

Optional: Yes


style

Type: StyleProp<ViewStyle> | undefined;

Optional: Yes