Passing style props to React Native core components in styled-components

// using the `attrs` constructor to pass style props
// see
// and
const Container = styled.TouchableHighlight.attrs({
  underlayColor: Color.primaryDark,
  justify-content: center;
  align-content: center;
  align-items: center;

Please note that this site and the posts on it are, and will always be, a work in progress. If i waited for perfection, i’d never get anything done.