import type { FC } from 'react'; import React, { useContext } from 'react'; import Button from '../../button'; import { convertLegacyProps } from '../../button/buttonHelpers'; import { ModalContext } from '../context'; import type { ModalProps } from '../interface'; export interface NormalOkBtnProps extends Pick { okTextLocale?: | string | number | true | React.ReactElement> | Iterable; } const NormalOkBtn: FC = () => { const { confirmLoading, okButtonProps, okType, okTextLocale, onOk } = useContext(ModalContext); return ( ); }; export default NormalOkBtn;