import * as React from 'react'; import { SurfaceContainerProps } from './SurfaceContainer'; import { SurfaceHeaderProps } from './SurfaceHeader'; import { SurfaceSubheaderProps } from './SurfaceSubheader'; import { SurfaceContentProps } from './SurfaceContent'; import { SurfaceFooterProps } from './SurfaceFooter'; export type SurfaceProps = React.HTMLAttributes & { readonly children: React.ReactNode | React.ReactNode[]; /** * Header content */ readonly header?: JSX.Element | string; /** * Footer content */ readonly footer?: JSX.Element | string; /** * Subheader content */ readonly subheader?: JSX.Element | string; /** * If true then surface will be inline-flex element, and the flex otherwise */ readonly inline?: boolean; /** * The surface will be rounded */ readonly rounded?: boolean; /** * If true then surface does not contin any paddings */ readonly noPadding?: boolean; /** * Overridable components map */ readonly overrides?: SurfaceOverrides; }; export interface SurfaceOverrides { /** * Surface container component */ readonly Container?: React.ComponentType>; /** * Surface header component */ readonly Header?: React.ComponentType>; /** * Surface subheader component */ readonly Subheader?: React.ComponentType>; /** * Surface content component */ readonly Content?: React.ComponentType>; /** * Surface footer component */ readonly Footer?: React.ComponentType>; } declare const _default: React.ForwardRefExoticComponent & { readonly children: React.ReactNode | React.ReactNode[]; /** * Header content */ readonly header?: string | JSX.Element | undefined; /** * Footer content */ readonly footer?: string | JSX.Element | undefined; /** * Subheader content */ readonly subheader?: string | JSX.Element | undefined; /** * If true then surface will be inline-flex element, and the flex otherwise */ readonly inline?: boolean | undefined; /** * The surface will be rounded */ readonly rounded?: boolean | undefined; /** * If true then surface does not contin any paddings */ readonly noPadding?: boolean | undefined; /** * Overridable components map */ readonly overrides?: SurfaceOverrides | undefined; } & React.RefAttributes>; export default _default;