UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

30 lines (29 loc) 985 B
import React from "react"; import { MarginProps } from "styled-system"; import { IconType } from "../icon"; import { TagProps } from "../../__internal__/utils/helpers/tags/tags"; /** * @deprecated `Detail` has been deprecated. See the Carbon documentation for migration details. */ export interface DetailProps extends MarginProps, TagProps { /** * @private * @internal * @ignore * Sets className for component. INTERNAL USE ONLY. */ className?: string; /** The type of icon to use. */ icon?: IconType; /** A small detail to display under the main content. */ footnote?: string; /** The rendered children of the component. */ children?: React.ReactNode; } /** * @deprecated `Detail` has been deprecated. See the Carbon documentation for migration details. */ export declare const Detail: { ({ className, icon, footnote, children, ...rest }: DetailProps): React.JSX.Element; displayName: string; }; export default Detail;