Skip to content

Commit

Permalink
fix(ui): checkbox - usage docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Yorsh authored and malashkevich committed Jun 27, 2019
1 parent 84246ef commit 5234f85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/framework/ui/checkbox/checkbox.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type CheckBoxProps = StyledComponentProps & TouchableOpacityProps & Compo
*
* ```
* import React from 'react';
* import { Checkbox } from 'react-native-ui-kitten';
* import { CheckBox } from 'react-native-ui-kitten';
*
* export class CheckBoxShowcase extends React.Component {
*
Expand All @@ -84,7 +84,7 @@ export type CheckBoxProps = StyledComponentProps & TouchableOpacityProps & Compo
*
* public render(): React.ReactNode {
* return (
* <Checkbox
* <CheckBox
* checked={this.state.checked}
* onChange={this.onChange}
* />
Expand All @@ -101,7 +101,7 @@ export type CheckBoxProps = StyledComponentProps & TouchableOpacityProps & Compo
*
* export const CheckBoxShowcase = (props?: CheckBoxProps): React.ReactElement<CheckBoxProps> => {
* return (
* <Checkbox
* <CheckBox
* style={styles.checkbox}
* textStyle={styles.checkboxText}
* text='Place your text'
Expand Down

0 comments on commit 5234f85

Please sign in to comment.