Skip to content

Commit

Permalink
Update LayoutGrid attributes (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncovercash authored Dec 22, 2023
1 parent 1ab44f8 commit bee3647
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/lib/LayoutGrid/Col.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTMLDivElement> {
xs?: ColumnSize,
sm?: ColumnSize,
md?: ColumnSize,
Expand Down
2 changes: 1 addition & 1 deletion components/lib/LayoutGrid/Grid.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { FunctionComponent, ReactNode } from 'react';

export interface GridProps {
export interface GridProps extends React.HTMLProps<HTMLDivElement> {
/** whether to apply the container-fluid CSS class */
fluid?: boolean,
/** Applies a custom class name */
Expand Down
2 changes: 1 addition & 1 deletion components/lib/LayoutGrid/Row.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { FunctionComponent, ReactNode } from 'react';
import { ViewportSize } from './ViewportSize';

export interface RowProps {
export interface RowProps extends Omit<React.HTMLProps<HTMLDivElement>, 'start'> {
reverse?: boolean,
start?: ViewportSize,
center?: ViewportSize,
Expand Down

0 comments on commit bee3647

Please sign in to comment.