From 120f611d14ccac2ebd73ffe636cf4296266b3ccf Mon Sep 17 00:00:00 2001 From: mg901 Date: Tue, 11 Jan 2022 21:38:18 +0300 Subject: [PATCH] fix: improve documentation --- README.md | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a1a97260..f7679210 100644 --- a/README.md +++ b/README.md @@ -222,7 +222,10 @@ For example, let's take default values of breakpoints.
Type declaration ```ts - declare function up(min: string, max: string, orientation?: 'portrait' | 'landscape') => any + declare function up( + min: string, + orientation?: 'portrait' | 'landscape' + ) => any ```
@@ -250,7 +253,10 @@ css`
Type declaration ```ts - declare function down(max: string, orientation?: 'portrait' | 'landscape') => any + declare function down( + max: string, + orientation?: 'portrait' | 'landscape' + ) => any ```
@@ -288,7 +294,11 @@ css`
Type declaration ```ts - declare function between(min: string, max: string, orientation?: 'portrait' | 'landscape') => any + declare function between( + min: string, + max: string, + orientation?: 'portrait' | 'landscape' + ) => any ```
@@ -318,7 +328,10 @@ css`
Type declaration ```ts - declare function only(name: string, orientation?: 'portrait' | 'landscape') => any + declare function only( + name: string, + orientation?: 'portrait' | 'landscape' + ) => any ```