carbon-react
Version:
A library of reusable React components for easily building user interfaces.
21 lines (20 loc) • 884 B
TypeScript
import React from "react";
import { StyledContentProps, StyledContentTitleProps, StyledContentBodyProps } from "./content.style";
import { TagProps } from "../../__internal__/utils/helpers/tags";
/**
* @deprecated `Content` has been deprecated. See the Carbon documentation for migration details.
*/
export interface ContentProps extends StyledContentProps, StyledContentTitleProps, StyledContentBodyProps, TagProps {
/** The body of the content component */
children?: React.ReactNode;
/** The title of the content component */
title?: React.ReactNode;
}
/**
* @deprecated `Content` has been deprecated. See the Carbon documentation for migration details.
*/
export declare const Content: {
({ variant, children, title, inline, align, titleWidth, bodyFullWidth, ...rest }: ContentProps): React.JSX.Element;
displayName: string;
};
export default Content;