New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adactive/arc-keyboard

Package Overview
Dependencies
Maintainers
4
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adactive/arc-keyboard

Adsum Keyboard Component

  • 2.5.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

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`

Keywords

FAQs

Package last updated on 07 May 2019

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc