4.1.10 • Published 3 years ago

bpk-component-checkbox-css v4.1.10

Weekly downloads
200
License
Apache-2.0
Repository
github
Last release
3 years ago

bpk-component-checkbox

Backpack checkbox component.

Installation

npm install bpk-component-checkbox --save-dev

Usage

import React from 'react';
import BpkCheckbox from 'bpk-component-checkbox';

export default () => (
  <BpkCheckbox
    name="prefer-directs"
    onChange={() => console.log('prefer directs changed!')}
    label="Prefer directs"
    checked
  />
);

Props

PropertyPropTypeRequiredDefault Value
namestringtrue-
labelnodetrue-
checkedboolfalsefalse
disabledboolfalsefalse
indeterminateboolfalsefalse
requiredboolfalsefalse
smallLabelboolfalsefalse
validboolfalsenull
whiteboolfalsefalse

indeterminate prop

The indeterminate prop is only a visual clue, it does not affect the checked state of the checkbox. If indeterminate is flagged then the checkbox will be displayed with a minus sign in the box. This is used when there is a checkbox group and the parent displays this state when not all child checkboxes are selected.

Theme Props

  • checkboxCheckedColor
4.1.8

3 years ago

4.1.10

3 years ago

4.1.7

3 years ago

4.1.5

3 years ago

4.1.4

3 years ago

4.1.2

3 years ago

4.1.1

3 years ago

4.0.4

3 years ago

4.0.7

3 years ago

4.0.1

3 years ago

4.0.2

3 years ago

3.0.21

4 years ago

3.0.18

4 years ago

3.0.19

4 years ago

3.0.17

4 years ago

3.0.13

4 years ago

3.0.10

4 years ago

3.0.8

4 years ago

3.0.7

4 years ago

3.0.6

4 years ago

3.0.5

4 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

2.3.7

4 years ago

3.0.0

4 years ago

2.3.5

4 years ago

2.3.4

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.51

4 years ago

2.2.52

4 years ago

2.2.50

4 years ago

2.2.49

4 years ago

2.2.48

4 years ago

2.2.46

4 years ago

2.2.47

4 years ago

2.2.45

4 years ago

2.2.44

4 years ago

2.2.43

4 years ago

2.2.42

4 years ago

2.2.41

4 years ago

2.2.40

4 years ago

2.2.39

4 years ago

2.2.38

4 years ago

2.2.37

4 years ago

2.2.36

4 years ago

2.2.35

4 years ago

2.2.33

4 years ago

2.2.34

4 years ago

2.2.32

4 years ago

2.2.31

4 years ago

2.2.30

4 years ago

2.2.29

4 years ago

2.2.28

5 years ago

2.2.27

5 years ago

2.2.26

5 years ago

2.2.24

5 years ago

2.2.25

5 years ago

2.2.21

5 years ago

2.2.20

5 years ago

2.2.19

5 years ago

2.2.18

5 years ago

2.2.17

5 years ago

2.2.15

5 years ago

2.2.14

5 years ago

2.2.13

5 years ago

2.2.12

5 years ago

2.2.11

5 years ago

2.2.10

5 years ago

2.2.9

5 years ago

2.2.7

5 years ago

2.2.6

5 years ago

2.2.5

5 years ago

2.2.0

5 years ago

2.1.22

5 years ago

2.1.21

5 years ago

2.1.19

5 years ago

2.1.18

5 years ago

2.1.17

5 years ago

2.1.16

5 years ago