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
{"lastUpload":"2019-11-21T21:14:36.267Z","extensionVersion":"v3.4.3"} |
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 findQueryName from '@alienfast/common/apollo/findQueryName' | |
import Logger from '@alienfast/common/Logger' | |
import * as React from 'react' | |
import { ErrorInfo } from 'react' | |
import { | |
OperationVariables, | |
Query as ApolloQuery, | |
QueryProps as ApolloQueryProps, | |
QueryResult, | |
} from 'react-apollo' |
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 { | |
StyledComponentProps, | |
StyleRules, | |
StyleRulesCallback, | |
WithStyles, | |
} from '@material-ui/core/styles' | |
import withStyles, { WithStylesOptions } from '@material-ui/core/styles/withStyles' | |
import * as React from 'react' | |
import { PropInjector } from "@material-ui/core"; |
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, { PureComponent } from 'react' | |
import Grid from 'material-ui/Grid' | |
import { CardNumberElement, CardExpiryElement, CardCVCElement } from 'react-stripe-elements' | |
import StripeElementWrapper from './StripeElementWrapper' | |
export default class extends PureComponent { | |
static displayName = 'StripeCardsSection' |
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 * as React from 'react' | |
import * as classNames from 'classnames' | |
import { StandardProps } from '@alienfast/material-ui' | |
import { withStyles } from '@alienfast/material-ui/styles' | |
import Text from '../Text' | |
import Logger from '../util/Logger' | |
const decorate = withStyles( | |
({ palette, shadows, transitions }) => ({ | |
root: { |
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
/* variation on https://medium.com/@DanHomola/react-higher-order-components-in-typescript-made-simple-6f9b55691af1 */ | |
import * as React from 'react' | |
import { wrapDisplayName } from 'recompose' | |
// Props you want the resulting component to take (besides the props of the wrapped component) | |
interface ExternalProps {} | |
// Props the HOC adds to the wrapped component | |
export interface InjectedProps {} |
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
// @flow | |
import React, {Component} from 'react' | |
import {default as ReactAutoSuggest} from 'react-autosuggest' | |
import {withStyles, createStyleSheet} from '@alienfast/material-ui/styles' | |
import Grow from '@alienfast/material-ui/transitions/Grow' | |
import Logger from '../util/Logger' | |
import Performance from '../util/Performance' | |
import { | |
renderInput, |
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
// @flow | |
import Queue from 'es-collections/Queue' | |
import Snackbar from '@alienfast/material-ui/Snackbar' | |
import PropTypes from 'prop-types' | |
import React, {Component} from 'react' | |
import Logger from './util/Logger' | |
import Performance from './util/Performance' | |
import Button from './Button' |
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
// @flow | |
declare module 'react-relay' { | |
declare export type RecordState = 'EXISTENT' | 'NONEXISTENT' | 'UNKNOWN'; | |
declare export type onCompleted = (response: ?Object, errors: ?Array<PayloadError>) => void | |
declare export type onError = (error: Error) => void | |
declare export type CommitOptions = { | |
onCompleted: onCompleted, |
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
// @flow | |
// WARNING: WORK IN PROGRESS and will likely submit to flow-typed when workable. | |
declare module 'found' { | |
declare type Map = { [key: string]: any } | |
/** | |
* Location descriptor string: | |
* store.dispatch(FarceActions.push('/foo?bar=baz#qux')); | |
* |