Skip to content

Commit

Permalink
refactor(docs): drawer/icon/select/spinner/checkbox/layout documentat…
Browse files Browse the repository at this point in the history
…ion refactor
  • Loading branch information
32penkin committed Aug 30, 2019
1 parent c45b273 commit 44ea5c3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/framework/ui/checkbox/checkbox.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export type CheckBoxElement = React.ReactElement<CheckBoxProps>;
*
* ```
* import React from 'react';
* import { CheckBox } from '@kitten/ui';
* import { CheckBox } from 'react-native-ui-kitten';
* import { View } from 'react-native';
*
* interface State {
Expand Down
2 changes: 1 addition & 1 deletion src/framework/ui/drawer/drawer.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type DrawerProps = StyledComponentProps & ComponentProps & MenuProps;
export type DrawerElement = React.ReactElement<DrawerProps>;

/**
* Styled Navigation Drawer component. The principle of rendering a Drawer is the same as a rendering a List.
* Styled `Navigation Drawer` component. The principle of rendering a `Drawer` is the same as a rendering a List.
*
* @extends React.Component
*
Expand Down
4 changes: 2 additions & 2 deletions src/framework/ui/icon/icon.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type IconProps<T = {}> = ComponentProps & T;
export type IconElement<T> = React.ReactElement<T>;

/**
* Icon component with animation support. Allows to render any ReactElement registered for a specific name.
* `Icon` component with animation support. Allows to render any ReactElement registered for a specific name.
* Starting from UI Kitten 4.2, there is `@ui-kitten/eva-icons` module
* that renders any icon from eva-icons package in `svg` format.
*
Expand Down Expand Up @@ -52,8 +52,8 @@ export type IconElement<T> = React.ReactElement<T>;
* <ApplicationProvider
* mapping={mapping}
* theme={lightTheme}>
* <Application/>
* <IconRegistry icons={EvaIconsPack}/>
* <Application/>
* </ApplicationProvider>
* );
* }
Expand Down
4 changes: 2 additions & 2 deletions src/framework/ui/layout/layout.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export type LayoutElement = React.ReactElement<LayoutProps>;
* import {
* Layout,
* Text,
* } from '@kitten/ui';
* } from 'react-native-ui-kitten';
*
* export class LayoutShowcase extends React.Component {
*
Expand Down Expand Up @@ -78,7 +78,7 @@ export type LayoutElement = React.ReactElement<LayoutProps>;
* import {
* Layout,
* Text,
* } from '@kitten/ui';
* } from 'react-native-ui-kitten';
*
* export class LayoutShowcase extends React.Component {
*
Expand Down
14 changes: 7 additions & 7 deletions src/framework/ui/select/select.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ interface State {
}

/**
* Styled Select (Select) component.
* Styled `Select` component.
*
* @extends React.Component
*
Expand Down Expand Up @@ -137,7 +137,7 @@ interface State {
* Select,
* SelectOptionType,
* SelectOption,
* } from '@kitten/ui';
* } from 'react-native-ui-kitten';
*
* interface State {
* selectedOption: SelectOption;
Expand Down Expand Up @@ -183,7 +183,7 @@ interface State {
* Select,
* SelectOptionType,
* SelectOption,
* } from '@kitten/ui';
* } from 'react-native-ui-kitten';
*
* interface State {
* selectedOption: SelectOption;
Expand Down Expand Up @@ -230,7 +230,7 @@ interface State {
* Select,
* SelectOptionType,
* SelectOption,
* } from '@kitten/ui';
* } from 'react-native-ui-kitten';
*
* interface State {
* selectedOption: SelectOption;
Expand Down Expand Up @@ -282,8 +282,8 @@ interface State {
* Select,
* SelectOptionType,
* SelectOption,
* } from '@kitten/ui';
* import { StyleType } from '@kitten/theme';
* StyleType
* } from 'react-native-ui-kitten';
*
* interface State {
* selectedOption: SelectOption;
Expand Down Expand Up @@ -342,7 +342,7 @@ interface State {
* Select,
* SelectOptionType,
* SelectOption,
* } from '@kitten/ui';
* } from 'react-native-ui-kitten';
*
* interface State {
* selectedOption: SelectOption;
Expand Down
2 changes: 1 addition & 1 deletion src/framework/ui/spinner/spinner.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export type SpinnerProps = StyledComponentProps & ComponentProps;
export type SpinnerElement = React.ReactElement<SpinnerProps>;

/**
* Styled Spinner component. Designed to be used as ActivityIndicator component
* Styled `Spinner` component. Designed to be used as `ActivityIndicator` component
*
* @extends React.Component
*
Expand Down

0 comments on commit 44ea5c3

Please sign in to comment.