@carbon/react
Version:
React components for the Carbon Design System
27 lines (26 loc) • 884 B
TypeScript
/**
* 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 { ReactNode } from 'react';
import PropTypes from 'prop-types';
export interface SideNavLinkTextProps {
children: ReactNode;
className?: string;
}
declare function SideNavLinkText({ className: customClassName, children, ...rest }: SideNavLinkTextProps): import("react/jsx-runtime").JSX.Element;
declare namespace SideNavLinkText {
var propTypes: {
/**
* Provide the content for the link text
*/
children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
/**
* Provide an optional class to be applied to the containing node
*/
className: PropTypes.Requireable<string>;
};
}
export default SideNavLinkText;