0.0.8 • Published 4 years ago

react-native-text-prototype v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

React Native Text Prototype

React Native Text Prototype is kind a Text Editor still in development for photo editing / manipulation cases.

  • Drag and Drop Text
  • Resize Text
  • Edit & Type

Installation

$ npm install react-native-text-prototype

Usage

import React, { Component } from "react";
import TextPrototype from 'react-native-text-prototype'

export default class App extends Component {
  constructor(props) {
    super(props);
  };

  render() {
    return (  
 <TextPrototype/> 
  }
 )
}

Properties

PropDefaultTypeDescription
TopLeftIcon<SimpleLineIcons name={"compass"}/>ComponentClickable Top Left Icon Component
TopRightIcon<SimpleLineIcons name={"close"}/>ComponentClickable Top Right Icon Component
textLorem Ipsum...StringValue of text
fontFamilyRobotoStringFont Family
color#000StringText Color
fontSize15StringFont Size
letterSpacing0StringLetter Spacing
backgroundColortransparentStringBackground Color
textAlignRobotoStringText Align
lineHeight18StringLine Height
x80StringX location of Components
y150StringY location of Components
w200NumberFirst Width
h200NumberFirst Height
minW200NumberMinimum Width
minH200NumberMinimum Height

Todos

  • Add Rotation/Rotate Icon
  • Add Center-Snap

License

This project is licenced under the MIT License.

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago