2.0.0 • Published 8 years ago

react-controlled-components v2.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

components

A few Controlled components for React.js that i use in my apps.

NPM

What is a controlled component?

A controlled component usually does not maintain his own value as a state. It gets it from a parent component, along with a function to let the parent know an action to change the value has occurred.

How to use

  1. Install the package using npm: npm install --save react-controlled-components
  2. Import the required components (for example: import { Button } from 'react-controlled-components';)
  3. That's it! the components are ready for use.

Basic Components

Image

A simple image component that lets you provide a placeholder source incase the main one fails.

ImageLink

An image that will navigate to a provided url when clicked.

TextInput

A simple text input.

CheckBox

A simple toggle component.

Button

A simple button.

2.0.0

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago