Skip to content

Commit

Permalink
🐛 JSDOC for Bleed matcher nå syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
KenAJoh committed Jan 18, 2024
1 parent b891da2 commit d8f1ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions @navikt/core/react/src/layout/bleed/Bleed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface BleedProps extends React.HTMLAttributes<HTMLDivElement> {
* @example
* marginInline='4'
* marginInline='4 5'
* marginInline={{xs: '0 32', sm: '3', md: '4 5', lg: '5', xl: '6', 2xl: '12'}}
* marginInline={{xs: '0 32', sm: '3', md: '4 5', lg: '5', xl: '6', "2xl": '12'}}
*/
marginInline?: ResponsiveProp<
BleedSpacingInline | `${BleedSpacingInline} ${BleedSpacingInline}`
Expand All @@ -23,7 +23,7 @@ export interface BleedProps extends React.HTMLAttributes<HTMLDivElement> {
* @example
* marginBlock='4'
* marginBlock='4 5'
* marginBlock={{xs: '2', sm: '3', md: '4', lg: '5', xl: '6', 2xl: '12'}}
* marginBlock={{xs: '2', sm: '3', md: '4', lg: '5', xl: '6', "2xl": '12'}}
*/
marginBlock?: ResponsiveProp<
BleedSpacingBlock | `${BleedSpacingBlock} ${BleedSpacingBlock}`
Expand Down

0 comments on commit d8f1ba5

Please sign in to comment.