react-strike
v1.0.5
Published
Strike component
Downloads
6
Maintainers
Readme
React strike
Strike component for react
Parameters
- height (Number, default = 1) - height of the line
- color (String, default = 'silver') - color of the line
- space (Number, default = 15) - space between line and content
Support us
Star this project on GitHub.
Usage
import React, { Component } from 'react';
import Strike from 'react-strike';
export default class Example extends Component {
render() {
return (
<Strike color="red">
Text in the strike
</Strike>
);
}
}
Try our other React components
- Translate your great project react-translate-maker
- Google Analytics react-g-analytics
- Google AdSense via Google Publisher Tag react-google-publisher-tag