import styled from 'styled-components/native';
import { colors } from 'data/dataMx';

interface IStyleProps {
  color: colors;
  height: number;
}

export const StyledHr = styled.View<IStyleProps>`
  border-color: ${({ color }: IStyleProps) => color};
  border-width: ${({ height }) => `${height}px`};
  background-color: ${({ color }: IStyleProps) => color};
  border-style: solid;
  margin: 8px 0 8px 0;
` 
