But there are more options and the most recent trend is CSS-in-JS. Styled-components is one of the options:
import styled from 'styled-components';
const Ready = styled.div` // or styled(View) in the case of React Native
background-color: '#123456';
display: flex,
justify-content: center,
`;
const Container = styled.div` // or styled(View) in the case of React Native
padding: 0 10px,
`;
const ReactOrReactNative = () => (
<Ready>
<Container/>
</Ready>
)