Skip to content

ossan-engineer/react-caption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published