import React, { forwardRef, HTMLAttributes } from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' export interface CToastBodyProps extends HTMLAttributes { /** * A string of all className you want applied to the base component. */ className?: string } export const CToastBody = forwardRef( ({ children, className, ...rest }, ref) => { return (
{children}
) } ) CToastBody.propTypes = { children: PropTypes.node, className: PropTypes.string, } CToastBody.displayName = 'CToastBody'