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 React, { Component } from 'react' | |
import PT from 'prop-types' | |
import Field, { isTextInput } from './Field' | |
import { get } from 'lodash' | |
class Fields extends Component { | |
// componentDidMount() { | |
// const { fields } = this.props | |
// // since focus on fields doesn't work as expected | |
// // in react native we do an autofocus on mount instead | |
// // of passing the autofocus prop to the the text field |
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 React, { | |
Suspense, | |
useState, | |
// @ts-ignore - useDeferredValue does not exist yet in types | |
useDeferredValue, | |
useCallback, | |
ChangeEvent, | |
} from 'react' | |
import TextField from '@material-ui/core/TextField' | |
import LinearProgress from '@material-ui/core/LinearProgress' |
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 React, { useRef, useCallback } from 'react' | |
import { | |
View, | |
Keyboard, | |
Animated, | |
ScrollView, | |
TouchableWithoutFeedback, | |
StyleSheet, | |
} from 'react-native' |
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
body > iframe { | |
left: auto !important; | |
width: 50px !important; | |
right: 0 !important; | |
border-left: 2px solid red !important; | |
opacity: 0.6 !important; | |
transition: all 300ms; | |
} | |
body > iframe:hover { | |
width: 50% !important; |
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
/* config-overrides.js */ | |
const { override } = require('customize-cra') | |
const { addReactRefresh } = require('customize-cra-react-refresh') | |
module.exports = override(addReactRefresh()) |
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
yarn add customize-cra customize-cra-react-refresh --dev |
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
// ## License | |
// | |
// Copyright (c) 2011 Evan Wallace (http://madebyevan.com/), under the MIT license. | |
// THREE.js rework by thrax | |
// | |
// # class CSG | |
// Holds a binary space partition tree representing a 3D solid. Two solids can | |
// be combined using the `union()`, `subtract()`, and `intersect()` methods. | |
// | |
// Differences Copyright 2020-2021 Sean Bradley : https://sbcode.net/threejs/ |
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
package sns_ses | |
import "time" | |
type NotificationType string | |
const ( | |
NotificationTypeBounce NotificationType = "Bounce" | |
NotificationTypeComplaint NotificationType = "Complaint" | |
NotificationTypeDelivery NotificationType = "Delivery" |