From bee364750fcecffeefef7c2fb392b36fadf8890c Mon Sep 17 00:00:00 2001 From: Noah Overcash Date: Fri, 22 Dec 2023 12:19:50 -0500 Subject: [PATCH] Update LayoutGrid attributes (#45) --- components/lib/LayoutGrid/Col.d.ts | 2 +- components/lib/LayoutGrid/Grid.d.ts | 2 +- components/lib/LayoutGrid/Row.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/lib/LayoutGrid/Col.d.ts b/components/lib/LayoutGrid/Col.d.ts index 4ba8eee..b67af5b 100644 --- a/components/lib/LayoutGrid/Col.d.ts +++ b/components/lib/LayoutGrid/Col.d.ts @@ -3,7 +3,7 @@ import { FunctionComponent, ReactNode } from 'react'; import { ColumnSize } from './ColumnSize'; import { ViewportSize } from './ViewportSize'; -export interface ColProps { +export interface ColProps extends React.HTMLProps { xs?: ColumnSize, sm?: ColumnSize, md?: ColumnSize, diff --git a/components/lib/LayoutGrid/Grid.d.ts b/components/lib/LayoutGrid/Grid.d.ts index 5613f32..a159067 100644 --- a/components/lib/LayoutGrid/Grid.d.ts +++ b/components/lib/LayoutGrid/Grid.d.ts @@ -1,6 +1,6 @@ import { FunctionComponent, ReactNode } from 'react'; -export interface GridProps { +export interface GridProps extends React.HTMLProps { /** whether to apply the container-fluid CSS class */ fluid?: boolean, /** Applies a custom class name */ diff --git a/components/lib/LayoutGrid/Row.d.ts b/components/lib/LayoutGrid/Row.d.ts index a3b22a6..40de6bd 100644 --- a/components/lib/LayoutGrid/Row.d.ts +++ b/components/lib/LayoutGrid/Row.d.ts @@ -1,7 +1,7 @@ import { FunctionComponent, ReactNode } from 'react'; import { ViewportSize } from './ViewportSize'; -export interface RowProps { +export interface RowProps extends Omit, 'start'> { reverse?: boolean, start?: ViewportSize, center?: ViewportSize,