2021-05-20 22:59:29 +00:00
|
|
|
import { Panel } from '../Panels';
|
|
|
|
import { HeaderText } from '../Text';
|
|
|
|
import ResourceVolumes from './ResourceVolumes';
|
2021-05-19 22:23:55 +00:00
|
|
|
|
2021-05-20 17:35:28 +00:00
|
|
|
const Resource = ({
|
|
|
|
resource,
|
|
|
|
}: {
|
|
|
|
resource: AnvilReplicatedStorage;
|
2022-03-19 02:23:36 +00:00
|
|
|
}): JSX.Element => (
|
|
|
|
<Panel>
|
|
|
|
<HeaderText text={`Resource: ${resource.resource_name}`} />
|
|
|
|
<ResourceVolumes resource={resource} />
|
|
|
|
</Panel>
|
|
|
|
);
|
2021-05-19 22:23:55 +00:00
|
|
|
|
|
|
|
export default Resource;
|