import styled from '@emotion/styled';
import SplitPanel from 'sentry/views/replays/detail/layout/splitPanel';
import {Basic as FliudPanelDemo} from './fluidPanel.stories';
export default {
title: 'Views/Replays/Split Panel',
};
const ManualResize = styled('div')`
resize: both;
overflow: auto;
border: 1px solid ${p => p.theme.gray100};
`;
function List() {
return (
{[1, 2, 3, 4, 5, 6, 7, 8].map(i => (
I would walk {i} miles, and I would walk {i} more.
))}
);
}
export const LeftRightSplit = () => {
return (
} right={
} />
);
};
export const TopBottomSplit = () => {
return (
} bottom={
} />
);
};
export const LeftRightFluidContents = props => {
return (
} right={} {...props} />
);
};
LeftRightFluidContents.args = {
minPx: 0,
maxPx: Number.MAX_SAFE_INTEGER,
minPct: 0,
maxPct: 100,
};
export const TopBottomFluidContents = () => {
return (
} bottom={} />
);
};