Socket
Book a DemoInstallSign in
Socket

react-shadow-textfield

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-shadow-textfield

A react textfield component that actually looks nice

latest
Source
npmnpm
Version
1.2.2
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 26 Sep 2018

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