Untitled

mail@pastecode.io avatar
unknown
javascript
a month ago
604 B
1
Indexable
Never
import { TextInputProps } from 'react-native';
import styled from 'styled-components/native';

export const Container = styled.View`
  flex-direction: row;
  justify-content: space-between;
`;

export const InputNumber = styled.TextInput.attrs<TextInputProps>(props => ({
  ...props,
}))<TextInputProps>`
  font-size: 20px;
  font-family: ${({ theme }) => theme.FONTS.REGULAR};
  border: 0.5px solid ${({ theme }) => theme.COLORS.DETAILS};
  border-radius: 8px;
  background-color: ${({ theme }) => theme.COLORS.TEXT_SECONDARY};
  width: 40px;
  height: 45px;
  text-align: center;
  font-size: 18px;
`;
Leave a Comment