mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 08:59:22 +01:00
Move split layout
This commit is contained in:
@@ -12,15 +12,16 @@ import classNames from 'classnames';
|
||||
|
||||
interface Props {
|
||||
exchanges: HttpExchange[];
|
||||
style?: React.CSSProperties;
|
||||
}
|
||||
|
||||
export function ExchangesTable({ exchanges }: Props) {
|
||||
export function ExchangesTable({ exchanges, style }: Props) {
|
||||
if (exchanges.length === 0) {
|
||||
return <p className="text-text-subtlest text-sm">No traffic yet</p>;
|
||||
}
|
||||
|
||||
return (
|
||||
<Table scrollable className="px-2">
|
||||
<Table scrollable className="px-2" style={style}>
|
||||
<TableHead>
|
||||
<TableRow>
|
||||
<TableHeaderCell>Method</TableHeaderCell>
|
||||
|
||||
Reference in New Issue
Block a user