/** *******************************************************************************************************************
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. *
******************************************************************************************************************** */
import React from 'react';
import { action } from '@storybook/addon-actions';
import FileUpload from '.';
import Container from '../../layouts/Container';
export default {
component: FileUpload,
title: 'Components/FileUpload',
};
const singleFile = [
{
name: 'file_name.file_type',
size: 1001,
lastModified: 1611275279000,
},
];
const multiFiles = [
{
name: 'very_long_long_long_long_long_long_long_long_long_file_name1.file_type1',
size: 10011,
lastModified: 1611275279000,
},
{
name: 'file_name2.file_type2',
size: 1022222,
lastModified: 1611275279000,
},
{
name: 'file_name3.file_type3',
size: 103333333,
lastModified: 1611275279000,
},
];
export const SingleFile = () => {
return (
);
};
export const MultipleFiles = () => {
return (
);
};
export const ExistingSingleFile = () => {
return (
);
};
export const ExistingMultipleFiles = () => {
return (
);
};
export const Error = () => {
return (
);
};