mirror of
https://github.com/owncast/owncast.git
synced 2024-12-23 01:31:10 +03:00
35 lines
776 B
TypeScript
35 lines
776 B
TypeScript
|
import React from 'react';
|
||
|
import { Tabs } from 'antd';
|
||
|
|
||
|
import StreamKeys from './StreamKeys';
|
||
|
import ServerConfig from './ServerConfig';
|
||
|
import StorageConfig from './StorageConfig';
|
||
|
|
||
|
export default function PublicFacingDetails() {
|
||
|
return (
|
||
|
<div className="config-public-details-page">
|
||
|
<Tabs
|
||
|
defaultActiveKey="1"
|
||
|
centered
|
||
|
items={[
|
||
|
{
|
||
|
label: `Server Config`,
|
||
|
key: '1',
|
||
|
children: <ServerConfig />,
|
||
|
},
|
||
|
{
|
||
|
label: `Stream Keys`,
|
||
|
key: '2',
|
||
|
children: <StreamKeys />,
|
||
|
},
|
||
|
{
|
||
|
label: `S3 Object Storage`,
|
||
|
key: '3',
|
||
|
children: <StorageConfig />,
|
||
|
},
|
||
|
]}
|
||
|
/>
|
||
|
</div>
|
||
|
);
|
||
|
}
|