Skip to content

Commit

Permalink
fixup! Feat(web-react): Add spacing property to Grid #DS-1388
Browse files Browse the repository at this point in the history
  • Loading branch information
dlouhak committed Jul 25, 2024
1 parent e3e15ee commit 679b5a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/web-react/src/components/Grid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@ Custom spacing:
Custom responsive spacing:

```jsx
<Grid spacing="{{ { mobile: 'space-400', tablet: 'space-800' } }}">
<Grid spacing={{ mobile: 'space-400', tablet: 'space-800' }}>
<!-- Grid content -->
</Grid>
```

Custom vertical spacing:

```jsx
<Grid spacingY="{{ { mobile: 'space-400', tablet: 'space-800' } }}">
<Grid spacingY={{ mobile: 'space-400', tablet: 'space-800' }}">
<!-- Grid content -->
</Grid>
```
Custom horizontal spacing:
```jsx
<Grid spacingX="{{ { mobile: 'space-400', tablet: 'space-800' } }}">
<Grid spacingX={{ mobile: 'space-400', tablet: 'space-800' }}>
<!-- Grid content -->
</Grid>
```
Expand Down

0 comments on commit 679b5a7

Please sign in to comment.