Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-levy committed Jun 21, 2023
1 parent dbd3754 commit 7e6e814
Show file tree
Hide file tree
Showing 28 changed files with 10,371 additions and 551 deletions.
15 changes: 0 additions & 15 deletions .editorconfig

This file was deleted.

3 changes: 0 additions & 3 deletions .gitattributes

This file was deleted.

1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

1 change: 0 additions & 1 deletion .watchmanconfig

This file was deleted.

3 changes: 0 additions & 3 deletions .yarnrc

This file was deleted.

133 changes: 0 additions & 133 deletions CODE_OF_CONDUCT.md

This file was deleted.

116 changes: 0 additions & 116 deletions CONTRIBUTING.md

This file was deleted.

20 changes: 0 additions & 20 deletions LICENSE

This file was deleted.

43 changes: 27 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,38 @@ Apply styles directly to your React Native components via props!
## Installation

```sh
npm install style-direct-club
yarn add style-direct-club
```

## Usage

```js
import { multiply } from 'style-direct-club';

// ...

const result = await multiply(3, 7);
import { Text, View } from 'react-native';
import { styled } from 'style-direct-club';

const StyledText = styled(Text);
const StyledView = styled(View);

function App() {
return (
<StyledView
flex={1}
rowGap={10}
justifyContent="center"
alignItems="center"
>
<StyledText color="red" fontSize={24}>
Hello World!
</StyledText>
<StyledText color="blue" fontSize={16}>
Styling is so easy!
</StyledText>
</StyledView>
);
}
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---
## To Do

Made with [create-react-native-library](https://github.com/callstack/react-native-builder-bob)
- [ ] Add support for aliases (e.g. `backgroundColor` -> `bg`)
- [ ] Add out of the box components
1 change: 0 additions & 1 deletion example/App.js

This file was deleted.

30 changes: 0 additions & 30 deletions example/app.json

This file was deleted.

Binary file removed example/assets/adaptive-icon.png
Binary file not shown.
Binary file removed example/assets/favicon.png
Binary file not shown.
Binary file removed example/assets/icon.png
Binary file not shown.
Binary file removed example/assets/splash.png
Binary file not shown.
Loading

0 comments on commit 7e6e814

Please sign in to comment.