You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
399 B
19 lines
399 B
4 years ago
|
import { Panel } from '../Panels';
|
||
|
import { HeaderText } from '../Text';
|
||
|
import ResourceVolumes from './ResourceVolumes';
|
||
4 years ago
|
|
||
4 years ago
|
const Resource = ({
|
||
|
resource,
|
||
|
}: {
|
||
|
resource: AnvilReplicatedStorage;
|
||
|
}): JSX.Element => {
|
||
4 years ago
|
return (
|
||
|
<Panel>
|
||
4 years ago
|
<HeaderText text={`Resource: ${resource.resource_name}`} />
|
||
4 years ago
|
<ResourceVolumes resource={resource} />
|
||
4 years ago
|
</Panel>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default Resource;
|