Skip to content

Instantly share code, notes, and snippets.

DrawerLayout.tsx

import DrawerLayout from 'react-native-gesture-handler/DrawerLayout';
export {DrawerLayout};

DrawerLayout.android.tsx

import {DrawerLayoutAndroid} from 'react-native';
export {DrawerLayoutAndroid as DrawerLayout};
"""
NOTE: make sure to install:
pip install Pillow google-genai loguru
"""
from google import genai
from google.genai import types
from PIL import Image
from io import BytesIO
import os