Skip to content

congwa/react-split-words

Repository files navigation

react-split-words

use react split words

NPM JavaScript Style Guide

Install

npm install --save react-split-words

Usage

import React, { Component } from 'react'

import { SplitWords } from 'react-split-words'

const App = () => {
  return <SplitWords wrapper={<span></span>}>
    This component can wrap a string into individual character tags.
  </SplitWords>
}

export default App

License

MIT © https://github.com/congwa/react-split-words.git