Skip to content

Commit

Permalink
fix gridGap property incorrect type stitchesjs#1021
Browse files Browse the repository at this point in the history
add typescript support to grid-gap property
  • Loading branch information
BESHOI authored Jun 14, 2022
1 parent 96e8a52 commit cf258a0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/react/types/css.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,15 @@ export interface StandardLonghandProperties {
*
*/
gridTemplateRows?: Property.GridTemplateRows;
/**
* The **`grid-gap`** CSS property sets the size of the gap (gutter) between between rows and columns.
*
* **Syntax**: `normal | <length-percentage>`
*
* **Initial value**: `normal`
*
*/
gridGap?: Property.GridGap;
/**
* The **`hanging-punctuation`** CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box.
*
Expand Down Expand Up @@ -4840,6 +4849,15 @@ export interface StandardLonghandPropertiesHyphen {
*
*/
"grid-template-rows"?: Property.GridTemplateRows;
/**
* The **`grid-gap`** CSS property sets the size of the gap (gutter) between between rows and columns.
*
* **Syntax**: `normal | <length-percentage>`
*
* **Initial value**: `normal`
*
*/
"grid-gap"?: Property.GridGap;
/**
* The **`hanging-punctuation`** CSS property specifies whether a punctuation mark should hang at the start or end of a line of text. Hanging punctuation may be placed outside the line box.
*
Expand Down

0 comments on commit cf258a0

Please sign in to comment.