>}) => {
+ const caseSummaryLoadable = props.loadable;
+
+ if (caseSummaryLoadable.state === 'loading') {
+ return (
+ )
+ } else if (caseSummaryLoadable.state === 'hasError') {
+ return (Error {caseSummaryLoadable.error as string}
)
+ }
+
+ const summary = caseSummaryLoadable.data
+
+ return (
+
+ )
+}
+
+export const KycSummarizeNative: React.FunctionComponent = (props: KycSummarizeNativeProps) => {
+ const setCaseSummary = useSetAtom(kycCaseSummaryAtom)
+ const caseSummaryLoadable = useAtomValue(kycCaseSummaryAtomLoadable)
+ const [name, setName] = useState('')
+ const [fileStatus, setFileStatus] = useState<'edit' | 'complete' | 'uploading'>('edit')
+ const [documents, setDocuments] = useState([])
+ const navigate = useNavigate()
+
+ const handleCancel = () => {
+ navigate(props.returnUrl);
+ }
+
+ const handleSubmit = (event: {preventDefault: () => void}) => {
+ event.preventDefault();
+
+ setCaseSummary(name)
+ }
+
+ const context = 'kyc-case';
+
+ return (
+ <>
+
+
+ >
+ )
+}
diff --git a/src/views/KycSummarizeNative/index.ts b/src/views/KycSummarizeNative/index.ts
new file mode 100644
index 0000000..424b440
--- /dev/null
+++ b/src/views/KycSummarizeNative/index.ts
@@ -0,0 +1 @@
+export * from './KycSummarizeNative';