Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 306 Bytes

File metadata and controls

15 lines (10 loc) · 306 Bytes

react-native-app-helpers/createHrComponent

Creates a new React component which resembles a HTML <hr> component.

Usage

import { createHrComponent } from "react-native-app-helpers";

const ExampleHr = createSidebarComponent(`red`, 3);

const ExampleScreen = () => (
  <ExampleHr />
);