mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 13:36:02 +00:00
running as portal
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
import React from 'react';
|
||||
import styled from 'styled-components';
|
||||
import resolveApi from '../utility/resolveApi';
|
||||
|
||||
const Frame = styled.iframe`
|
||||
flex: 1;
|
||||
border: 0px solid gray;
|
||||
`;
|
||||
|
||||
export default function InfoPageTab({ page }) {
|
||||
return <iframe src={`${resolveApi()}/pages/${page}`} />;
|
||||
return <Frame src={`${resolveApi()}/pages/${page}`} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user