Socket
Book a DemoInstallSign in
Socket

frcb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frcb

Fat Responsive Checkbox

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

frcb

frcb logo

NPM version js-xo-style

Fat Responsive Checkbox

Installation

Install frcb using npm:

npm install --save frcb

Demo

See a demo of the component here.

Usage

Module usage

In your React app:

import React from 'react';
import FatResponsiveCheckbox from 'frcb';

class App extends React.Component {
	render() {
		return <FatResponsiveCheckbox>Check me</FatResponsiveCheckbox>;
	}
}

In your Unistyle code:

import fatResponsiveCheckbox from 'frcb/style';

export default [
	fatResponsiveCheckbox,
	// your other styles here...
];

API

<FatResponsiveCheckbox {...props} />

PropTypeDescription
strikedBooleanToggle the alternate style (strike through text when checked)
captionStringCheckbox label text. Can also be specified as children
...MixedAll other props are passed on to the internal <input> see Forms for examples

License

MIT © Joakim Carlstein

Keywords

react

FAQs

Package last updated on 30 Sep 2015

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