Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anykeyh/react-font-chooser

Font chooser for ReactJS.
https://github.com/anykeyh/react-font-chooser

Last synced: 20 days ago
JSON representation

Font chooser for ReactJS.

Awesome Lists containing this project

README

        

# react-font-chooser 0.1

> A simple select box to select font.
> Check the [demo here](http://anykeyh.github.io/react-font-chooser/)

## Getting started
This plugin require ReactJS `>=0.13`

Just use the files into `/output` directory. Or even the files inside `/src` and `/styles` if you want to compile them.

I'm lazy to generate package for npm and upload the repositorie :P.

## Params

- `fontList` The list of font family. Array of string.
- `onChange` Event triggered when you change the select value.
- `value` The initial value
- `name` The name of the hidden field inside the component. Useful if you want to use with form and submit.

## License

MIT.