UNPKG

carbon-react

Version:

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

34 lines (33 loc) 1.28 kB
import React from "react"; import { MarginProps } from "styled-system"; import { HeadingType } from "../heading"; import { TagProps } from "../../__internal__/utils/helpers/tags/tags"; /** * @deprecated `SettingsRow` has been deprecated. See the Carbon documentation for migration details. */ export interface SettingsRowProps extends MarginProps, TagProps { /** A title for this group of settings. */ title?: string; /** Defines the HTML heading element of the `title` within the component. */ headingType?: HeadingType; /** Content to be rendered inside the component. */ children?: React.ReactNode; /** A string or JSX object that provides a short description about the group of settings. */ description?: React.ReactNode; /** Shows a divider below the component. */ divider?: boolean; /** * @private * @internal * @ignore * Sets className for component. INTERNAL USE ONLY. */ className?: string; } /** * @deprecated `SettingsRow` has been deprecated. See the Carbon documentation for migration details. */ export declare const SettingsRow: { ({ title, headingType, children, description, divider, ...rest }: SettingsRowProps): React.JSX.Element; displayName: string; }; export default SettingsRow;