Skip to content

Instantly share code, notes, and snippets.

View rbayuokt's full-sized avatar
🏠
Working from home

Rizky Bayu Oktavian rbayuokt

🏠
Working from home
View GitHub Profile
@rbayuokt
rbayuokt / AsyncStoreService.ts
Last active January 4, 2023 10:00
AsyncStore utils
import AsyncStorage from '@react-native-async-storage/async-storage';
interface IDefaultAppStore {
customValue?: boolean;
// your interface
}
const STORAGE_KEY = '@default_app';
const DEFAULT_APP_STORE: IDefaultAppStore = {
customValue: false,
@rbayuokt
rbayuokt / readme.md
Last active November 3, 2020 09:17
Install tailwindcss on ReactJS

SETUP TAILWIND CSS Pada ReactJS

  1. Masukan ini npm install tailwindcss --save-dev

  2. Masukan perintah ini npx tailwind init tailwind.js --full

  3. Masukan perintah ini :

@rbayuokt
rbayuokt / _breakpoints.scss
Last active October 29, 2020 09:02
Easy Breakpoints For SASS
/*********************
* BREAKPOINTS FOR SASS
* @author : Rizky Bayu Oktavian
* @twitter : @rbayuokt
*********************/
@mixin phone {
@media screen and (min-width: 320px) and (max-width: 480px){
@content;
}