Skip to content

Commit

Permalink
fix: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mg901 committed Jan 11, 2022
1 parent 66d7440 commit 120f611
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,10 @@ For example, let's take default values of breakpoints.
<details><summary><strong>Type declaration</strong></summary>

```ts
declare function up(min: string, max: string, orientation?: 'portrait' | 'landscape') => any
declare function up(
min: string,
orientation?: 'portrait' | 'landscape'
) => any
```

</details>
Expand Down Expand Up @@ -250,7 +253,10 @@ css`
<details><summary><strong>Type declaration</strong></summary>

```ts
declare function down(max: string, orientation?: 'portrait' | 'landscape') => any
declare function down(
max: string,
orientation?: 'portrait' | 'landscape'
) => any
```

</details>
Expand Down Expand Up @@ -288,7 +294,11 @@ css`
<details><summary><strong>Type declaration</strong></summary>

```ts
declare function between(min: string, max: string, orientation?: 'portrait' | 'landscape') => any
declare function between(
min: string,
max: string,
orientation?: 'portrait' | 'landscape'
) => any
```

</details>
Expand Down Expand Up @@ -318,7 +328,10 @@ css`
<details><summary><strong>Type declaration</strong></summary>

```ts
declare function only(name: string, orientation?: 'portrait' | 'landscape') => any
declare function only(
name: string,
orientation?: 'portrait' | 'landscape'
) => any
```

</details>
Expand Down

0 comments on commit 120f611

Please sign in to comment.