@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
15 lines (14 loc) • 849 B
TypeScript
import React from 'react';
import type { InnerSpaceType } from '../../shared/types';
export default function ContentWrapper({ id, children, selectedKey, contentStyle, animate, contentInnerSpace, ...rest }: TabsContentWrapperProps): import("react/jsx-runtime").JSX.Element;
import type { SectionVariants } from '../Section';
export type TabsContentWrapperSelectedKey = string | number;
export type TabsContentWrapperChildren = React.ReactNode | ((...args: any[]) => React.ReactNode);
export type TabsContentWrapperProps = {
id: string;
selectedKey?: TabsContentWrapperSelectedKey;
contentStyle?: SectionVariants | string;
animate?: boolean;
contentInnerSpace?: InnerSpaceType | boolean;
children?: TabsContentWrapperChildren;
} & Omit<React.HTMLProps<HTMLElement>, 'children' | 'ref' | 'onAnimationStart' | 'onAnimationEnd'>;