1.0.5 • Published 5 years ago

@todar/react-wobble-words v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

React Wobble Words

npm (scoped) GitHub license GitHub issues GitHub stars Twitter

A cool a simple way to wobble each word on mouseEnter event. See a live demo on my website: roberttodar.com

Demo

Edit todar-react-wobble-words

Installation

npm i @todar/react-wobble-words

Javascript Instantiation

import React from "react";
import WobbleWords from "@todar/react-wobble-words";

const App = () => {
  return (
    <div className="App">
      <WobbleWords>Each word should wobble on mouseEnter</WobbleWords>
    </div>
  );
};

Props

Prop NameTypeDefaultDescription
childrenStringText to be displayed within the root element.
wordSpacingString.4emAdjusts margin since elements are inline-block
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago