Skip to content

rnkids/styled-system-native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Styled System Native

React Native components for in-line styling, build with styled-components. Inspired from: styled-system-html

Usage

$ npm i -S styled-system-native

Then styled it like styled-system

import React from 'react';
import { Text, View, Button } from "styled-system-native";

const App = () => {
    return (
        <View flex={1} justifyContent="center" alignItems="center">
            <Button
                color="red"
                bg="blue"
                justifyContent="center"
                alignItems="center"
                size={64}
                onPress={() => {console.log("rnkids.github.io")}}
            >
                Press
            </Button>
        </View>
    );
}
export default App;

Created by rnkids

About

React Native components for in-line styling, build with styled-system and styled-components

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published