forked from red-hat-storage/odf-console
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCreateVectorBucket.tsx
More file actions
27 lines (24 loc) · 951 Bytes
/
Copy pathCreateVectorBucket.tsx
File metadata and controls
27 lines (24 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import * as React from 'react';
import { CreateS3Bucket } from '@odf/core/components/s3-common/components/CreateS3Bucket';
import { BucketType } from '@odf/core/constants';
import { useCustomTranslation } from '@odf/shared';
import { S3VectorsProvider } from '../s3-vectors-context';
import CreateVectorBucketForm from './CreateVectorBucketForm';
const CreateVectorBucket: React.FC<{}> = () => {
const { t } = useCustomTranslation();
return (
<CreateS3Bucket
title={t('Create vector bucket')}
description={t(
'A vector bucket is a storage container that organizes and manages vector datasets (indexes), allowing users to store, retrieve and control access to data efficiently.'
)}
showNamespaceSelector={true}
bucketType={BucketType.S3Vector}
>
<S3VectorsProvider>
<CreateVectorBucketForm />
</S3VectorsProvider>
</CreateS3Bucket>
);
};
export default CreateVectorBucket;