@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
29 lines (28 loc) • 993 B
TypeScript
import React from 'react';
export default class ContentWrapper extends React.PureComponent<ContentWrapperProps> {
static defaultProps: {
selected_key: any;
content_style: any;
animate: any;
content_spacing: boolean;
children: any;
};
state: {
key: any;
};
constructor(props: any);
componentDidMount(): void;
componentWillUnmount(): void;
render(): import("react/jsx-runtime").JSX.Element;
}
import type { SectionSpacing, SectionStyleTypes, SectionVariants } from '../Section';
export type ContentWrapperSelectedKey = string | number;
export type ContentWrapperChildren = React.ReactNode | ((...args: any[]) => any);
export interface ContentWrapperProps extends React.HTMLProps<HTMLElement> {
id: string;
selected_key?: ContentWrapperSelectedKey;
content_style?: SectionStyleTypes | SectionVariants;
animate?: boolean;
content_spacing?: SectionSpacing;
children?: ContentWrapperChildren;
}