UNPKG

@carbon/react

Version:

React components for the Carbon Design System

34 lines (33 loc) 1.06 kB
/** * Copyright IBM Corp. 2016, 2023 * * 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 { ReactNode } from 'react'; export interface TableSlugRowProps { /** * The CSS class names of the cell that wraps the underlying input control */ className?: string; /** * Provide a `Slug` component to be rendered inside the `TableSlugRow` component */ slug?: ReactNode; } declare const TableSlugRow: { ({ className, slug }: TableSlugRowProps): 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>; /** * Provide a `Slug` component to be rendered inside the `TableSlugRow` component */ slug: PropTypes.Requireable<PropTypes.ReactNodeLike>; }; }; export default TableSlugRow;