import styled from 'styled-components/native';
import { layout } from 'styled-system';
import { LinearGradient } from 'expo-linear-gradient';

export const SBarGradientLine: any = styled<any>(LinearGradient)`
  border-radius: ${2}px;
  height: ${4}px;
  ${layout};
  left: ${0}px;
  position: absolute;
  top: ${0}px;
  width: ${({ width }) => (width ? `${width}%` : 0)};
`;
