Key | Result |
---|---|
v |
select |
y |
copy (yank) |
c |
change |
d |
delete |
This file contains 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 { type ComponentType, createElement, forwardRef } from 'react' | |
import type { TextProps } from 'react-native' | |
// uncomment for NativeWind support | |
//import { cssInterop } from 'nativewind' | |
const LeanText = forwardRef((props, ref) => { | |
return createElement('RCTText', { ...props, ref }) | |
}) as ComponentType<TextProps> |
This file contains 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
"use client"; | |
import React from "react"; | |
import { View, StyleSheet, Animated, Easing, ViewStyle } from "react-native"; | |
const BASE_COLORS = { | |
dark: { primary: "rgb(17, 17, 17)", secondary: "rgb(51, 51, 51)" }, | |
light: { | |
primary: "rgb(250, 250, 250)", | |
secondary: "rgb(205, 205, 205)", |
This file contains 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 type { ReactElement } from "react"; | |
import { cloneElement, memo, useCallback } from "react"; | |
import { AlertV2 } from "@/components/AlertV2/alertV2Helpers"; | |
export interface DestructiveActionGuardProps { | |
children: ReactElement<{ onPress: () => void }>; | |
confirmationTitle?: string; | |
confirmationDescription?: string; | |
} |
This file contains 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
... | |
Beautifier.prototype.beautify = function() { | |
... | |
var source_text = this._source_text; | |
// BEGIN | |
source_text = source_text.replace(/\{\{(--)?((?:(?!(--)?\}\}).)+)(--)?\}\}/g, function(m, ds, c, dh, de) { |
This file contains 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
function style_html(html_source, options, js_beautify, css_beautify) { | |
html_source = html_source.replace(/\@([^\n\s]*)/ig, "<blade $1/>"); | |
... | |
sweet_code = sweet_code.replace(/<blade ([^\n]*)\/>/ig, "@$1"); | |
sweet_code = sweet_code.replace(/\(\ \'/ig, "('"); | |
... |
This file contains 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
{ fontWeight: '100' }, // Thin | |
{ fontWeight: '200' }, // Ultra Light | |
{ fontWeight: '300' }, // Light | |
{ fontWeight: '400' }, // Regular | |
{ fontWeight: '500' }, // Medium | |
{ fontWeight: '600' }, // Semibold | |
{ fontWeight: '700' }, // Bold | |
{ fontWeight: '800' }, // Heavy | |
{ fontWeight: '900' }, // Black |
This file contains 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
//src: http://kurrytran.blogspot.ru/2014/05/android-studio-list-of-suppress-warning.html | |
//https://android.googlesource.com/platform/tools/adt/idea/+/jb-mr2-dev/adt-branding/src/META-INF/AndroidIdePlugin.xml | |
//https://android.googlesource.com/platform/tools/adt/idea/+/jb-mr2-dev/android/src/META-INF/plugin.xml | |
//Most Common Annotations | |
@SuppressWarnings("all") | |
@SuppressWarnings("unchecked") | |
@SuppressWarnings({"JavaDoc"}) | |
@SuppressWarnings({"UnusedDeclaration"}) |