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
3 years ago
|
import { Panel } from '../Panels';
|
||
|
import { HeaderText } from '../Text';
|
||
|
import ResourceVolumes from './ResourceVolumes';
|
||
3 years ago
|
|
||
3 years ago
|
const Resource = ({
|
||
|
resource,
|
||
|
}: {
|
||
|
resource: AnvilReplicatedStorage;
|
||
|
}): JSX.Element => {
|
||
3 years ago
|
return (
|
||
|
<Panel>
|
||
3 years ago
|
<HeaderText text={`Resource: ${resource.resource_name}`} />
|
||
3 years ago
|
<ResourceVolumes resource={resource} />
|
||
3 years ago
|
</Panel>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
export default Resource;
|