Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

form-ratings

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

form-ratings

Formik component for star ratings

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

form-ratings

Star ratings Formik component

NPM

Install

npm install --save form-ratings

Live demo

Please see here for a live demo!

Usage

The following would be placed inside a <Formik /> form:

import React from 'react'
import { Field } from 'formik';
import FormRatings from 'form-ratings'

function Example() {
  return (
    <Field as={FormRatings} />
  );
}

Please see the code in the example/ directory for more information.

Development

In one tab, run the rollup watcher:

  • npm start

In another tab, run the create-react-app development server:

  • cd example && npm start

License

MIT © felamaslen

Keywords

FAQs

Package last updated on 10 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc