border-gradient-radius
v1.1.1
Published
very small HOC to apply curved border gradients
Downloads
29
Maintainers
Readme
border-gradient-radius
very small HOC to apply curved border gradients
Install
npm install --save border-gradient-radius
Playground
You can access a basic demo here
Usage
import React, { Component } from 'react'
import BorderRadiusGradient from 'border-gradient-radius'
class Example extends Component {
render() {
return (
<BorderRadiusGradient
gradientValue={gradientValue}
borderWidth={borderWidth}
borderRadius={borderRadius}
containerBackgroundColor='#FFF'
className=''
>
{CHILDREN}
</BorderRadiusGradient>
)
}
}
License
MIT © shivanshBTW