Socket
Book a DemoInstallSign in
Socket

bpk-component-select

Package Overview
Dependencies
Maintainers
7
Versions
512
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bpk-component-select

Backpack select component.

6.1.1
Source
npmnpm
Version published
Maintainers
7
Created
Source

bpk-component-select

Backpack select component.

Installation

npm install bpk-component-select --save-dev

Usage

import React from 'react';
import BpkSelect from 'bpk-component-select';

export default () => (
  <BpkSelect
    id="fruits"
    name="fruits"
    value="oranges"
    onChange={(e) => console.log(`select changed to ${e.target.value}`)}
  >
    <option value="apples">Apples</option>
    <option value="oranges">Oranges</option>
    <option value="pears">Pears</option>
  </BpkSelect>
);

Props

PropertyPropTypeRequiredDefault Value
idstringtrue-
namestringtrue-
valuestringtrue-
onChangefunctrue-
validboolfalsenull
largeboolfalsefalse
disabledboolfalsefalse
dockedboolfalsefalse
dockedFirstboolfalsefalse
dockedMiddleboolfalsefalse
dockedLastboolfalsefalse
imagenodefalsenull
wrapperClassNamestringfalsenull

FAQs

Package last updated on 26 Sep 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.