1.1.2 • Published 7 months ago

react-native-dash-wrapper v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

react-native-dash-wrapper

A customizable dashed wrapper component for React Native.

Installation

yarn add react-native-dash-wrapper
# OR
npm install react-native-dash-wrapper



## How to USE

import React from 'react';
import { DashWrapper } from 'react-native-dash-wrapper';
import { Text } from 'react-native';

const App = () => (
  <DashWrapper
    height={200}
    width={300}
    dashGap={10}
    dashColor="blue"
    dashWidth={4}
    dashHeight={20}
    dashBorderRadius={4}
    backgroundColor="yellow"
    onPress={() => alert('Pressed!')}
  >
    <Text>Hello, DashWrapper!</Text>
  </DashWrapper>
);

export default App;