Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for markup table #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions components/checkbox.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ Simple example:
```

**Props**
| Prop | Type | Default | Description |
|:-------------:|:-----------------------------------------------------------------:|:-------------:|:----------------------------------------------------------------------------------------------------:|

| Prop | Type | Default | Description |
|:-----------------------------:|:------------:|:------------------:|:----------------------------------------------------------------------------------------------------:|
| checkboxStyle | any | null | By sending an object you can style the checkbox's color, size and more. |
| disabled | bool | false | This disables the possibility of the checkbox being used. |
| flexDirection | oneOf(['row', 'row-reverse', 'column', 'column-reverse']), string | 'row' | Maybe you need the checkbox to be on top of an image? You can do that with this prop. |
Expand All @@ -37,4 +38,4 @@ Simple example:
| initialValue | bool | false | Should the initial state of your checkbox be false or true? |
| label | string | null | The text next to your checkbox. |
| labelStyle | any | null | Style your checkbox's text. |
| onChange | function | () => {} | This prop take an arrow function and everytime the user presses the checkbox the function is called. |
| onChange | function | () => {} | This prop take an arrow function and everytime the user presses the checkbox the function is called. |