You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx

27 lines
594 B
TypeScript

import { memo } from 'react'
import Modal from '@/app/components/base/modal/modal'
type OAuthClientSettingsProps = {
onClose?: () => void
}
const OAuthClientSettings = ({
onClose,
}: OAuthClientSettingsProps) => {
return (
<Modal
title='Oauth client settings'
confirmButtonText='Save & Authorize'
cancelButtonText='Save only'
extraButtonText='Cancel'
showExtraButton
extraButtonVariant='secondary'
onExtraButtonClick={onClose}
onClose={onClose}
>
<div>oauth</div>
</Modal>
)
}
export default memo(OAuthClientSettings)