2.0.0 • Published 7 years ago

react-controlled-components v2.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 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

7 years ago

1.0.15

7 years ago

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago