Skip to content

Commit

Permalink
Merge pull request #2542 from Shopify/js-add-row-column-gap
Browse files Browse the repository at this point in the history
Adds row and column gap for POS stack
  • Loading branch information
js-goupil authored Dec 18, 2024
2 parents c2092ff + 772dd9e commit f0006c1
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,24 @@ export interface GapProps {
* @default 'none'
*/
gap?: SpacingKeyword;

/**
* Adjust spacing between elements in the block axis.
*
* This overrides the row value of `gap`.
*
* @default '' - meaning no override
*/
rowGap?: SpacingKeyword | '';

/**
* Adjust spacing between elements in the inline axis.
*
* This overrides the column value of `gap`.
*
* @default '' - meaning no override
*/
columnGap?: SpacingKeyword | '';
}

export type ContentPosition = 'center' | 'start' | 'end';
Expand Down

0 comments on commit f0006c1

Please sign in to comment.