All files / Header/HeaderGroup HeaderGroup.tsx

100% Statements 8/8
100% Branches 2/2
100% Functions 1/1
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22    1x   1x               4x 4x             1x  
import React from "react";
import { HeaderGroupProps } from "./HeaderGroup.types";
import styled from "styled-components";
 
const StyledHeaderGroup = styled.span`
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
`;
 
const HeaderItem = ({ children, className, style }: HeaderGroupProps) => {
  return (
    <StyledHeaderGroup className={className} style={style}>
      {children}
    </StyledHeaderGroup>
  );
};
 
export default HeaderItem;