Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thoriqdharmawan/react-flip

flip flop flup :construction: flip your React component :carousel_horse: :carousel_horse:
https://github.com/thoriqdharmawan/react-flip

Last synced: about 1 month ago
JSON representation

flip flop flup :construction: flip your React component :carousel_horse: :carousel_horse:

Awesome Lists containing this project

README

        

# react-flip

> "D

[![NPM](https://img.shields.io/npm/v/react-flip.svg)](https://www.npmjs.com/package/react-flip) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save react-flip
```

## Usage

```jsx
import React, { Component } from "react";

import { Wrapper } from "react-flip";

const Example = () => {
const style = {
content: {
backgroundColor: "#bbb",
position: "absolute",
width: "100%",
height: "100%",
backfaceVisibility: "hidden",
},
content2: {
backgroundColor: "#2980b9",
position: "absolute",
width: "100%",
height: "100%",
backfaceVisibility: "hidden",
transform: "rotateY(180deg)",
},
};

return (




);
};
```

## License

MIT © [thoriqdharmawan](https://github.com/thoriqdharmawan)