Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mym0404 committed Mar 19, 2024
1 parent e97b034 commit 0f05d4a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 9 deletions.
17 changes: 17 additions & 0 deletions doc/docs/usage/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: TypeScript
---




import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand All @@ -12,6 +14,21 @@ import TabItem from '@theme/TabItem';

React Native Styled System aims for type-safe use.

Install the CLI for generation.

<Tabs>
<TabItem value="npm" label="npm" default>
```sh
npm install --save-dev react-native-themed-styled-system-cli
```
</TabItem>
<TabItem value="yarn" label="yarn">
```sh
yarn add -D react-native-themed-styled-system-cli
```
</TabItem>
</Tabs>

Please enter the path to the module where `ThemedDict` is `default exported` as an argument to the command.

```shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ title: TypeScript
---











import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand All @@ -21,6 +12,21 @@ import TabItem from '@theme/TabItem';

React Native Styled System은 Type Safe한 사용을 지향합니다.

CLI를 설치해주세요.

<Tabs>
<TabItem value="npm" label="npm" default>
```sh
npm install --save-dev react-native-themed-styled-system-cli
```
</TabItem>
<TabItem value="yarn" label="yarn">
```sh
yarn add -D react-native-themed-styled-system-cli
```
</TabItem>
</Tabs>

`ThemedDict``default export`된 모듈의 경로를 커맨드의 인자로 넣어주세요.

```shell
Expand Down

0 comments on commit 0f05d4a

Please sign in to comment.