iliassjabali / react-cats

😼 a simple react component that renders random cats!

Home Page:https://codesandbox.io/s/wq5wl7vo3k

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Cats

Render random cats and cat gifs with or without text and other things! This was just a quick experiment making use of the Cats as a Service API created by @kevinbalicot

Demo: https://codesandbox.io/s/wq5wl7vo3k

Installation

npm i -save react-cats

Usage

  • Import the Cat component import Cat from 'react-cats'

  • Render it with joy!

//.......
function App() {
  return (
    <div className="App">
      <Cat />
    </div>
  );
}
//........

About

😼 a simple react component that renders random cats!

https://codesandbox.io/s/wq5wl7vo3k


Languages

Language:JavaScript 56.3%Language:HTML 43.7%