1.1.64 • Published 7 years ago

@vivintsolar-oss/web-vs-input v1.1.64

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

@vivintsolar-oss/web-vs-input

npm install @vivintsolar-oss/web-vs-input
// or
// yarn add @vivintsolar-oss/web-vs-input

VSInput

Our input field adds some useful state changes along with keeping the look and feel consistent across multiple web apps.

import VSInput from '@vivintsolar-oss/web-vs-input';

  <VSInput
    label="First Name"
    error={ this.state.error }
    reference={ (input) => {
      this.firstNameInput = input;
    } }
  />

Properties

NameDefaultTypeDescription
referencefunctionRef function used to hoist state
labellabelstringThe text for your label
errornullstringThe error message displayed
disablefalsebooleanShows boolean state
activefalsebooleanShows active state
darkbooleanIf being used on a dark background
1.1.64

7 years ago

1.1.63

7 years ago

1.1.61

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.1

7 years ago

1.1.0

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