Skip to content

Instantly share code, notes, and snippets.

View jakewtaylor's full-sized avatar

Jake Taylor jakewtaylor

View GitHub Profile

Template Component

Counter.tsx

import React, { useState, useCallback } from 'react';
import { View, Text, TextInput, TouchableHighlight } from 'react-native';
import { connect } from 'react-redux';
import { Dispatch } from 'redux';
import { styles } from './Counter.styles';
@jakewtaylor
jakewtaylor / History|-486adb29|entries.json
Created October 15, 2022 01:35
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/jake/code/bin-scraper/app/root.tsx","entries":[{"id":"3wXE.tsx","timestamp":1665758642740}]}
// Ensures tailwind intellisense works in non-standard places that we want
"tailwindCSS.experimental.classRegex": [
// for usages like: clsx('bg-accent')
["clsx\\(([^)]*)\\)", "(?:'|\")([^'\"]*)(?:'|\")"],
// within our Theme definition objects
[": Theme<[^>]*>([^;]*)", ":\\s*?[\"'`]([^\"'`]*).*?,?"]
],