css in styled components code example
Example 1: install styled components
npm install --save styled-components
Example 2: styled components attrs
export const TextInputElement = styled.TextInput.attrs(props => ({
placeholderTextColor: props.ColorPlaceholder,
}))`
font-size: 15px;
line-height: 18px;
color: '#000';
`;