0.0.9 • Published 1 year ago

react-trinkets v0.0.9

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

React Trinkets

npm version downloads license

A collection of React.js components to decorate your site with.

Installation

With Yarn:

yarn add react-trinkets

With npm:

npm install --save-dev react-trinkets

Usage

Each trinket has their own default properties. You can overwrite the defaults by passing props into the component.

Last Visited

This component welcomes users to your website and remembers their last visit. It displays a personalized message depending on how recently they visited. For example, it might say "Welcome back!" if they visited yesterday or "Hey there! It's been a while" if it's been a longer time.

Example

import { LastVisited } from "react-trinkets";

function App() {

  return (
    <div>
        <ReactTrinkets>
    <div>
  );
}

export default App;
0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago