// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 import { Alert, Header, Icon, Link, Table } from '@awsui/components-react'; import React, { FC, useState } from 'react'; interface InstanceResourcesComponentProps { data: Array<{}>; isLoading: boolean; } const InstanceResourcesComponent: FC = (props) => { const [data, setData] = useState({}); return ( item.name || "-", sortingField: "name" }, { id: "type", header: "Type", cell: (item: any) => item.type || "-", sortingField: "alt" }, { id: "new", header: "Status", cell: (item: any) => item.arn === '' ? "New" : "Existing" } ]} items={props.data} loadingText="Loading resources" sortingDisabled empty={ {}} visible={true} dismissAriaLabel="Close alert" header="Select an instance" > To see the resources that will be required for this experience, please select one of your Amazon Connect instance. } header={
Resources Info
} /> ) } export default InstanceResourcesComponent;