import Stack from '@material-hu/mui/Stack';

export const PollLayout = ({ children }: { children: React.ReactNode }) => {
  return (
    <Stack
      sx={{
        mx: 2,
        p: 2,
        gap: 2,
        backgroundColor: theme => theme.palette.new.background.layout.default,
        borderRadius: theme => theme.shape.borderRadiusL,
      }}
    >
      {children}
    </Stack>
  );
};
