Skip to content

Commit 5f38273

Browse files
committed
fix(DataView): Extend StackProps in DataViewProps
1 parent 3b2ac8b commit 5f38273

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/module/src/DataView/DataView.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Stack, StackItem } from '@patternfly/react-core';
2+
import { Stack, StackItem, StackProps } from '@patternfly/react-core';
33
import { DataViewSelection, InternalContextProvider } from '../InternalContext';
44

55
export const DataViewState = {
@@ -10,7 +10,8 @@ export const DataViewState = {
1010

1111
export type DataViewState = typeof DataViewState[keyof typeof DataViewState];
1212

13-
export interface DataViewProps {
13+
/** extends StackProps */
14+
export interface DataViewProps extends StackProps {
1415
/** Content rendered inside the data view */
1516
children: React.ReactNode;
1617
/** Custom OUIA ID */

0 commit comments

Comments
 (0)