This package has been deprecated

Author message:

No longer maintain there another one named react-native-star-wars

react-native-starwar

1.0.1 • Public • Published

react-native-starwar

A star war crawler made by react native

Installation

npm i react-native-starwar

Demo

Gif demo looks weird, Video demo is better.

starwar

video demo

Video demo

Code Example

import React from 'react';
import StarWar from 'react-native-starwar';

export default class App extends React.Component {
  render() {
    return (
      <StarWar
        title = "Hello World"file:///Users/hsiangyu/Code/react-native-starwar/docs/starwar.gif
        content = "Ut velit aute nulla amet aliqua eu. Qui et non duis nisi adipisicing ad incididunt cillum Lorem cupidatat. Eu pariatur aliqua culpa esse excepteur sint ad laborum sint eiusmod laboris nulla ullamco. Aliqua voluptate ipsum elit et culpa ea culpa duis deserunt duis aute aliqua. Ea Lorem qui proident ut officia est anim adipisicing do in irure aliqua anim. Consequat quis aute anim velit."
      />
    );
  }
}

API

| Name | Type | Default | Description | |:-------------------------|:---------|:---------|:---------|:------------| | title | String | A NEW HOPE | Header Title for the star war crawler| | titleStyle | Object | {} | Allow to override the style of the title | | content | String | It is a period of civil war.Rebel spaceships, striking from a hidden base, have won their first victory against the evil Galactic Empire.\nDuring the battle, Rebel spies managed to steal secret plans to the Empire's ultimate weapon, the DEATH STAR, an armored space station with enough power to destroy an entire planet.\nPursued by the Empire's sinister agents, Princess Leia races home aboard her starship, custodian of the stolen plans that can save her people and restore freedom to the galaxy..... | Content for the star war crawler| | contentStyle | Object | {} | Allow to override the style of the content |

Contributions

Contributions are welcome. I'll be happy to merge any PR's.

Package Sidebar

Install

npm i react-native-starwar

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

990 kB

Total Files

6

Last publish

Collaborators

  • kevinhu2014