1.0.5 • Published 7 years ago

react-strike v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

React strike

Strike component for react

NPM version build status Test coverage

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

Credits

Zlatko Fedor

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

0.0.2

8 years ago