GithubHelp home page GithubHelp logo

abhishek-singh-in / tipsi-dash-line Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tipsi/tipsi-dash-line

0.0 0.0 0.0 148 KB

Component to draw customisable dashed lines in React Native

License: MIT License

Shell 21.87% Java 26.78% JavaScript 14.34% Python 7.51% Objective-C 29.51%

tipsi-dash-line's Introduction

tipsi-dash-line

Build Status

React Native Component for drawing dashed line.

Compatibility

This package is now built for React Native 0.40 or greater!

Installation

Run npm install --save tipsi-dash-line to add the package to your app's dependencies. Please do not forget to run react-native link tipsi-dash-line

Usage

import React, { Component } from 'react'
import {
  StyleSheet,  
  View,
} from 'react-native'
import { DashLine } from 'tipsi-dash-line'

export default class example extends Component {
  render() {
    return (
      <View style={styles.container}>        
        <DashLine dashColor="#ff0000" dashLineWidth={10} dashLineSpace={4}/>        
      </View>
    )
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'flex-start',
    alignItems: 'stretch',
  },
})

Examples

tipsi-dash-line's People

Contributors

sergeyzhukov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.