Skip to content

Commit

Permalink
Update LayoutProps
Browse files Browse the repository at this point in the history
  • Loading branch information
huzefakagdi committed Jun 28, 2024
1 parent bfb600d commit 9b60563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useEffect, useState } from 'react'
import styled from 'styled-components'
import { zIndex } from 'styled-system'
import { Box } from '../Box/Box'
import { Grid } from '../Grid/Grid'
import { Grid, type GridProps } from '../Grid/Grid'
import { spaceValues } from '../theme'

const getWidthsForVariation = (variation: string | undefined) => {
Expand Down Expand Up @@ -107,7 +107,7 @@ export type LayoutVariation =
/**
* @public
*/
export type LayoutProps = {
export type LayoutProps = GridProps & {
children: React.ReactNode
gap?: LayoutGap
rowGap?: LayoutGap
Expand Down

0 comments on commit 9b60563

Please sign in to comment.