1.2.2 • Published 6 years ago

react-shadow-textfield v1.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

react-shadow-textfield

NPM

A react textfield component that actually looks nice.

Example

http://buildastack.io/builder/

Install

$ yarn add react-shadow-textfield

Usage

import React from 'react';
import TextField from 'react-shadow-textfield';

const Example = () => (
  <div>
    <TextField labelLeft="🔎" placeholder="Search..." />
  </div>
);

export default Example;

Props

labelLeft

type: string

A label/text on the left side of the text field.

labelRight

type: string

A label/text on the right side of the text field.

placeholder

type: string

Textfield placeholder.

value

type: string

Value of the inner input.

onChange

type: function

Called on input value change.

License

MIT © Jure Sotosek

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago