react-caption
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

React Caption

Simple caption for your videos or images.

image

Installation

react-caption is available as an npm package.

// with npm
npm install react-caption

// with yarn
yarn add react-caption

Usage

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/

Readme

Keywords

none

Package Sidebar

Install

npm i react-caption

Weekly Downloads

8

Version

0.1.5

License

none

Unpacked Size

6.76 kB

Total Files

8

Last publish

Collaborators

  • ossan-engineer