@adactiveasia/adasia-keyboard
Adsum Keyboard Component
Last updated 8 months ago by devadactiveasia .
UNLISENCED · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @adactiveasia/adasia-keyboard 
SYNC missed versions from official npm registry.

Keyboard component

image

Live examples here

Getting started

    npm i --save @adactive/arc-keyboard

OR

    yarn add @adactive/arc-keyboard
    import AdsumKeyboard from "@adactive/arc-keyboard"
     ...
    <AdsumKeyboard 
        isOpen=true 
        lang="en"
        currentValue="" 
        onKeyClicked={this.onKeyClicked}
         
    />

Props

type PropsType = {|
    +isOpen: boolean,
    +lang: 'en' | 'fr',
    +currentValue: string,
    +onKeyClicked: (string) => void,
    +keyboardCSS?: CSSStyleDeclaration,
    +keyboardLineCSS?: CSSStyleDeclaration,
    +buttonCSS?: CSSStyleDeclaration
|};


static defaultProps = {
    isOpen: false,
    lang: 'en',
    currentValue: '',
    onKeyClicked: null
}

isOpen -> To show or hide keyboard

lang -> Language of keyboard

currentValue -> To pass current query value from application for keyboard to process result

onKeyClicked -> A callback function to result back to the

keyboardCSS -> To customise the overall CSS for the entire component

keyboardLineCSS -> To customise the CSS for each line of the keyboard component

buttonCSS -> To customise each button on the keyboard

Copy component inside your project src folder

Less only

`npx @adactive/arc-keyboard copy --less-only`

Full copy

`npx @adactive/arc-keyboard copy`

Current Tags

  • 0.0.1                                ...           latest (8 months ago)

1 Versions

  • 0.0.1                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 4
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |