react-twig

0.2.0 • Public • Published

react-twig

npm package Build Status

React wrapper-component for Twig. Can be used to render templates inside a react component.

Usage

import ReactTwig from 'react-twig'


<ReactTwig template="Kittens say: {{ variable }}" data={{ variable: 'meow' }} />

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    6
  • 0.1.0
    0

Package Sidebar

Install

npm i react-twig

Weekly Downloads

6

Version

0.2.0

License

MIT

Last publish

Collaborators

  • lauriii