@happy-func/react-ripple
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@happy-func/react-ripple

Getting Started

Install dependencies,

# npm
$ npm i @happy-func/react-ripple
# yarn
$ yarn add @happy-func/react-ripple

Usage

Basic

import React from 'react';
import Ripple from '@happy-func/react-ripple';
import '@happy-func/react-ripple/es/style';

const ButtonStyle = {
  padding: `12px 36px`,
  color: `#fff`,
  fontSize: 18,
  background: `linear-gradient(90deg, #0162c8, #55e7fc)`,
  borderRadius: 40,
};

export default () => {
  return (
    <div>
      <Ripple>
        <div style={ButtonStyle}>React Ripple Button</div>
      </Ripple>
    </div>
  );
};

Support By

Jetbrains

dumi

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i @happy-func/react-ripple

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

8.63 kB

Total Files

8

Last publish

Collaborators

  • happy-func