A number of fonts are available by default based on the platform (e.g., Roboto on Android, Helvetica on iOS). See the full list here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { RequestParameters } from 'relay-runtime/lib/util/RelayConcreteNode'; | |
import { Variables, Disposable } from 'relay-runtime/lib/util/RelayRuntimeTypes'; | |
import { SubscriptionClient, Observer } from 'subscriptions-transport-ws'; | |
import config from '../config'; | |
import { ExecutionResult } from 'graphql'; | |
import { Observable, SubscribeFunction, Subscribable, GraphQLResponse } from 'relay-runtime'; | |
import { RelayObservable } from 'relay-runtime/lib/network/RelayObservable'; | |
export function getToken(): string { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="react" /> | |
declare namespace FBT { | |
type $Values<T> = T[keyof T]; | |
// https://github.com/facebookincubator/fbt/blob/e9c591f451dbfc91852e316869ae39ad41848c55/runtime/nonfb/GenderConst.js#L9-L23 | |
interface GenderConst { | |
NOT_A_PERSON: 0; | |
FEMALE_SINGULAR: 1; | |
MALE_SINGULAR: 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To use in react-native, choose from font below, and then add to style element: | |
<Text style={{ fontFamily: 'Arial' }}>Arial Font</Text> | |
Alternatively, add your own custom font face | |
Android: | |
======== | |
normal |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first: | |
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done | |
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.* | |
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following: | |
# go to /usr/local/lib and delete any node and node_modules | |
cd /usr/local/lib | |
sudo rm -rf node* |