Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
1 |
import * as React from 'react'; |
|
2 | 4 |
import { createHostComponent } from '@remax/shared'; |
3 |
|
|
4 |
export interface CheckboxProps { |
|
5 |
readonly dataset?: DOMStringMap; |
|
6 |
id?: string; |
|
7 |
name?: string; |
|
8 |
className?: string; |
|
9 |
value?: string; |
|
10 |
checked?: boolean; |
|
11 |
disabled?: boolean; |
|
12 |
color?: string; |
|
13 |
onChange?: (e: any) => void; |
|
14 |
}
|
|
15 |
|
|
16 | 4 |
export const Checkbox: React.ComponentType<CheckboxProps> = createHostComponent<CheckboxProps>('checkbox'); |
Read our documentation on viewing source code .