0.0.9 • Published 5 years ago

react-link-wave v0.0.9

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

GitHub stars npm Cocoapods

This is a React component for a tag to get a hover wave transition. DEMO

Start

download

npm i react-link-wave

use in react

import React from 'react'
import LinkWave from 'react-link-wave'

class App extends React.PureComponent {
    render() {
        return (
            <div>
                <LinkWave href="http://www.baidu.com" text="Please move over me, you'll see the wave" color="#000" />
            </div>
        )
    }
}

Params

paramsrequireddefaultexplain
colorN#0000EEset the a tag and wave color, the value's format must like #xxxxxx or #xxx
hrefN""just set a link
textY""set the show text
otherPropsN-link styleref, if you set the style, the priority is higher than the color prop
0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago