@carbon/react
Version:
React components for the Carbon Design System
34 lines (33 loc) • 1.16 kB
TypeScript
/**
* Copyright IBM Corp. 2016, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import PropTypes from 'prop-types';
import { type ReactNode } from 'react';
export interface TableDecoratorRowProps {
/**
* The CSS class names of the cell that wraps the underlying input control
*/
className?: string;
/**
* **Experimental**: Provide a `decorator` component to be rendered inside the `TableDecoratorRow` component
*/
decorator?: ReactNode;
}
declare const TableDecoratorRow: {
({ className, decorator, }: TableDecoratorRowProps): import("react/jsx-runtime").JSX.Element;
displayName: string;
propTypes: {
/**
* The CSS class names of the cell that wraps the underlying input control
*/
className: PropTypes.Requireable<string>;
/**
* **Experimental**: Provide a `decorator` component to be rendered inside the `TableDecoratorRow` component
*/
decorator: PropTypes.Requireable<PropTypes.ReactNodeLike>;
};
};
export default TableDecoratorRow;