react-caption
v0.1.5
Published
<h1 align="center">React Caption</h1>
Readme
Simple caption for your videos or images.

Installation
react-caption is available as an npm package.
// with npm
npm install react-caption
// with yarn
yarn add react-captionUsage
Here is a quick example to get you started, it's all you need:
import React from 'react';
import ReactDOM from 'react-dom';
import Caption from 'react-caption';
const App = () => {
return <Caption>Hello World</Caption>;
};
ReactDOM.render(<App />, document.querySelector('#app'));Demo
https://deserted-copper.surge.sh/
