import React from "react";
import styled from "styled-components";
import { Header } from "@ax/components/TableList/style";

const Wrapper = styled((props) => <Header {...props} />)<{ isActive: boolean; center: boolean }>`
  width: 275px;
  justify-content: ${(p) => (p.center ? "center" : "flex-start")};
  &:hover {
    color: ${(p) => p.theme.color.interactive01};
  }
`;

const IconsWrapper = styled.div`
  display: flex;
  align-items: center;
  flex-direction: row;
  svg {
    margin-left: 4px;
  }
`;

const ChecksWrapper = styled.div`
  padding: ${(p) => p.theme.spacing.xs} ${(p) => p.theme.spacing.s};
  height: calc(${(p) => p.theme.spacing.xl} * 3);
  overflow-y: scroll;
`;

export { Wrapper, IconsWrapper, ChecksWrapper };
