1.1.3 • Published 6 years ago

react-print-modern v1.1.3

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

react-print-modern

react version >= 16.0.0

Install

npm install react-print-modern

Usage

// file needs print
class App extends Component {
  render() {
    return (
      <div className="App">
        <header className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <h1 className="App-title">Welcome to React</h1>
        </header>
        <p className="App-intro">
          To get started, edit <code>src/App.js</code> and save to reload.
        </p>
        <Printer>
          <h1>print something</h1>
        </Printer>
      </div>
    );
  }
}

TODO

  • how to handle async render components?
1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago