1.2.10 • Published 6 years ago

@spacebartech/text-input v1.2.10

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Text Input

Text input component

Installation

npm install @spacebartech/text-input

Usage

props : {
  options : {
    type    : Object,
    default : () => ( {} )
  },
  errors : {
    type    : String,
    default : () => ''
  },
  value : {
    type    : String,
    default : () => '',
  },
}

Options must have the following props :
label       : String,
placeholder : String,
classList   : String

text-input(
  :options="options"
  :errors="'Error String'"
  @value='value'
  @change='' // emits when inner textarea has changed
)
Sass variables

$label : #68A65E !default;
$error : #e64343 !default;

Tests

npm test

1.2.10

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago