# rodal **Repository Path**: mirrors_fkhadra/rodal ## Basic Information - **Project Name**: rodal - **Description**: A React modal with animations. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-10-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Rodal [](https://travis-ci.org/chenjiahan/rodal) [](https://david-dm.org/chenjiahan/rodal) [](https://npmjs.org/package/rodal) A React modal with animations. [Example](https://chenjiahan.github.com/rodal) ## Installation React 15/16 npm i rodal --save React 0.14 npm i rodal@1.2.10 --save ## Usage ``` javascript import React from 'react'; import Rodal from 'rodal'; // include styles import 'rodal/lib/rodal.css'; class App extends React.Component { constructor(props) { super(props); this.state = { visible: false }; } show() { this.setState({ visible: true }); } hide() { this.setState({ visible: false }); } render() { return (