Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeetiss/render-prop-fns
https://github.com/jeetiss/render-prop-fns
props react render
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeetiss/render-prop-fns
- Owner: jeetiss
- Created: 2018-06-04T10:23:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-11T15:32:02.000Z (over 6 years ago)
- Last Synced: 2024-04-24T12:03:45.917Z (7 months ago)
- Topics: props, react, render
- Language: JavaScript
- Size: 1.15 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# render-prop-fns
>
[![NPM](https://img.shields.io/npm/v/render-prop-fns.svg)](https://www.npmjs.com/package/render-prop-fns) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
## Install
```bash
npm install --save render-prop-fns
```## Usage
```jsx
import React from "react";import { Counter } from "render-prop-fns";
const Example = () => (
{({ inc, value }) => (
{value}
increment
)}
);
```## License
MIT © [jeetiss](https://github.com/jeetiss)