import PropTypes from 'prop-types'; import React, { FC } from 'react'; import type { DirectLineSignInCard } from 'botframework-webchat-core'; import CommonCard from './CommonCard'; import useStyleSet from '../../hooks/useStyleSet'; type SignInCardContentProps = { actionPerformedClassName?: string; content: DirectLineSignInCard; disabled?: boolean; }; const SignInCardContent: FC = ({ actionPerformedClassName, content, disabled }) => { const [{ animationCardAttachment: animationCardAttachmentStyleSet }] = useStyleSet(); return (
); }; SignInCardContent.defaultProps = { actionPerformedClassName: '', disabled: undefined }; SignInCardContent.propTypes = { actionPerformedClassName: PropTypes.string, content: PropTypes.any.isRequired, disabled: PropTypes.bool }; export default SignInCardContent;