GithubHelp home page GithubHelp logo

dmahajan980 / react-native-outlined-text Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 432 KB

Native text component that enables adding text outline/stroke in React Native

License: MIT License

Java 49.19% JavaScript 4.31% Ruby 6.44% Makefile 4.00% C++ 18.43% TypeScript 3.75% Swift 2.51% C 0.27% Objective-C 1.53% Objective-C++ 9.57%

react-native-outlined-text's Introduction

react-native-outlined-text

Warning
This is a work in progress. Use with caution.

Native text component that enables text outline/stroke in React Native.

Installation

npm install react-native-outlined-text

Usage

import { OutlinedTextView } from 'react-native-outlined-text';

// ...

<OutlinedTextView outlineColor="#000000" outlineWidth={5}>
  This text is outlined
</OutlinedTextView>;

Props

OutlinedTextView extends React Native's core Text component and adds two new props to it.

Prop Name Type Required Default Value
outlineColor ColorValue true N/A
outlineWidth number false 2

All the remaining props are same as Text component props.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with create-react-native-library

react-native-outlined-text's People

Contributors

dmahajan980 avatar

Stargazers

Volker Lieber avatar Roman avatar 慕容紫英 avatar

Watchers

 avatar  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.