@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
46 lines (45 loc) • 1.75 kB
TypeScript
export default Chip;
/**
* @deprecated - Components in the legacy folder (/src/legacy) are deprecated. Please use a component from the components folder (/src/components) instead. Legacy components may not follow accessibility standards.
**/
declare function Chip({ className, leftContent, fileDownloadLink, fileType, rightContent, subTitle, title, type, }: {
className: any;
leftContent: any;
fileDownloadLink: any;
fileType: any;
rightContent: any;
subTitle: any;
title: any;
type: any;
}): JSX.Element;
declare namespace Chip {
namespace propTypes {
let className: PropTypes.Requireable<string>;
let fileDownloadLink: PropTypes.Requireable<string>;
let fileType: PropTypes.Requireable<string>;
let leftContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
let rightContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
let subTitle: PropTypes.Requireable<string>;
let title: PropTypes.Requireable<string>;
let type: PropTypes.Requireable<string>;
}
namespace defaultProps {
let className_1: string;
export { className_1 as className };
let fileDownloadLink_1: string;
export { fileDownloadLink_1 as fileDownloadLink };
let fileType_1: any;
export { fileType_1 as fileType };
let leftContent_1: any;
export { leftContent_1 as leftContent };
let rightContent_1: any;
export { rightContent_1 as rightContent };
let subTitle_1: string;
export { subTitle_1 as subTitle };
let title_1: any;
export { title_1 as title };
let type_1: any;
export { type_1 as type };
}
}
import PropTypes from 'prop-types';