path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
svg-icons/notification/system-update.js
janmarsicek/material-ui
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
app/react-icons/fa/signal.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaSignal extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m5.7 32.1v4.3q0 0.3-0.2 0.5t-0.5 0.2h-4.3q-0.3 0-0.5-0.2t-0.2-0.5v-4.3q0-0.3 ...
ajax/libs/angular.js/1.0.2/angular-scenario.js
mrehayden1/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/react-bootstrap/0.24.0-alpha.0/react-bootstrap.min.js
gaearon/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react")):e.ReactBootstrap=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return ...
src/svg-icons/action/alarm-add.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAlarmAdd = (props) => ( <SvgIcon {...props}> <path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4....
src/scenes/UserConsole/scenes/WeatherStations/ModifyStation.js
adeira/connector-frontend
import React from 'react'; import RaisedButton from 'material-ui/RaisedButton'; import Formsy from 'formsy-react'; import {FormsyText} from 'formsy-material-ui/lib'; import Alert from 'components/Dialog/Simple'; import {connect} from 'react-redux'; import {renameWeatherStation, removeWeatherStation} from 'actions/Weath...
Paths/React/05.Building Scalable React Apps/4-react-boilerplate-building-scalable-apps-m4-exercise-files/After/app/containers/LinkListContainer/index.js
phiratio/Pluralsight-materials
/* * * LinkListContainer * */ import React from 'react'; import { connect } from 'react-redux'; import selectLinkListContainer from './selectors'; import LinkList from '../../components/LinkList'; export class LinkListContainer extends React.Component { // eslint-disable-line react/prefer-stateless-function ren...
spec/coffeescripts/jsx/shared/modalSpec.js
djbender/canvas-lms
/* * Copyright (C) 2015 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
scripts/jest/ts-preprocessor.js
yangshun/react
'use strict'; var fs = require('fs'); var path = require('path'); var ts = require('typescript'); var tsOptions = { module: ts.ModuleKind.CommonJS, jsx: ts.JsxEmit.React, }; function formatErrorMessage(error) { return ( error.file.filename + '(' + error.file.getLineAndCharacterOfPosition(error.star...
ui/src/js/common/ranking/content/NameAmountDate.js
Dica-Developer/weplantaforest
import counterpart from 'counterpart'; import moment from 'dayjs'; import he from 'he'; import React, { Component } from 'react'; export default class NameAmountDate extends Component { constructor(props) { super(props); } render() { return ( <div className="rankingSummary"> <p> ...
src/application/components/ParameterList.js
movio/apidoc-ui
// @flow import React from 'react'; import classnames from 'classnames'; import Markdown from 'components/Markdown'; import { buildNavHref, getType, isImport, isImportOrInService, onClickHref, simplifyName, } from 'utils'; import type { Service } from 'generated/version/ServiceType'; import styles from '...
app/screens/App/ConnectionWidget/User/UserContainer.js
mbernardeau/Road-to-Russia-2018
import { connect } from 'react-redux' import { firebaseConnect } from 'react-redux-firebase' import { compose } from 'redux' import betFactory from 'redux/bets' import { getProfile } from 'redux/user' import { withRouter } from 'react-router' import User from './User' const mapState = state => ({ user: getProfile(s...
webpack/js/entry.js
hfutlyz/react-exp-demos
require('../css/style.css'); let a = require('./a'); import modB from './b'; let oHw = document.getElementById('hw'); oHw.innerHTML = '<h1>Hello Webpack</h1>'+a+(modB.a+modB.b); import React from 'react'; import ReactDOM from 'react-dom'; import Clock from './clock.js'; ReactDOM.render( <Clock/>, document.get...
generators/react/static/src/Containers/Index.js
ecliptic/ship-yard
// @flow import {Route, Switch} from 'react-router-dom' import {ConnectedRouter} from 'react-router-redux' import {Provider} from 'react-redux' import React from 'react' import type {Store} from 'redux' import Home from 'Components/Home' import NotFound from 'Components/NotFound' import type {State, Action} from 'Stat...
ajax/libs/reactive-coffee/1.2.1/reactive-coffee.js
mfinelli/cdnjs
(function() { var rxFactory, __slice = [].slice, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = ne...
packages/react-dom/src/__tests__/ReactDOMServerIntegrationLegacyContextDisabled-test.internal.js
chicoxyzzy/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; const ReactDOMServerIntegrationUtils = require('./utils/ReactDOMServerIntegrationTestUtils...
ajax/libs/forerunnerdb/1.3.926/fdb-core+views.min.js
sufuf3/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
components/CellSlider.js
lodev09/react-native-cell-components
import React from 'react'; import Cell from './Cell'; import theme from '../lib/theme'; // slider is deprecated, will move to @react-native-community/slider package in the future import { Slider, View, Text, StyleSheet } from 'react-native'; class CellSlider extends React.Component { static propTypes = { ...
node_modules/material-ui/svg-icons/editor/insert-photo.js
aalpgiray/react-hot-boilerplate-ts
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
app/scripts/components/DocsManagement/__tests__/Creator-test.js
andela-ekupara/DcManFrontEnd
import React from 'react'; import expect from 'expect'; import sinon from 'sinon'; import {mount,shallow} from 'enzyme'; import * as DocActions from '../../../actions/DocumentActions'; import DocStore from '../../../stores/DocumentStore'; import Creator from '../Creator.jsx'; describe('Document Creation Component Test...
app/containers/LocaleToggle/messages.js
SenyOrg/kekecmed-frontend
/* * LocaleToggle Messages * * This contains all the text for the LanguageToggle component. */ import { defineMessages } from 'react-intl'; import { appLocales } from '../../i18n'; export function getLocaleMessages(locales) { return locales.reduce((messages, locale) => Object.assign(messages, { [locale...
TalkToParent/index.ios.js
jennselby/ReactNativeExamples
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, } from 'react-native'; import Parent from './parent.js'; export default class TalkToParent extends Component { render() { return ( <Parent /> ); }...
packager/react-packager/src/Server/index.js
lucyywang/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
static/src/components/Modals/AddRecurrence.js
tferreira/piggydime
import React from 'react' import { FormattedMessage, injectIntl } from 'react-intl' import Dialog from 'material-ui/Dialog' import FlatButton from 'material-ui/FlatButton' import FloatingActionButton from 'material-ui/FloatingActionButton' import ContentAdd from 'material-ui/svg-icons/content/add' import TextField from...
js/components/App.js
SimonDegraeve/hapi-relay-starter-kit
import React from 'react'; import Relay from 'react-relay'; class App extends React.Component { render() { return ( <div> <h1>Widget list</h1> <ul> {this.props.viewer.widgets.edges.map(edge => <li>{edge.node.name} (ID: {edge.node.id})</li> )} </ul> ...
imports/ui/components/header/optionHeader.js
AdmitHub/ScholarFisher
import Burger from '../../components/burger' import React, { Component } from 'react'; import { connect } from 'react-redux' import Loading from '../Loading' import Logo from './logo' function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } class HeaderContainer extends Componen...
RN/ImageDemo/listViewDemo03.js
puyanLiu/LPYFramework
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Image, TextInput, TouchableOpacity, TouchableHighlight, ScrollView, ListView, } from 'react-native'; v...
src/components/BookmarksList.js
dan-f/mark
import React from 'react' import NewBookmark from './NewBookmark' import Bookmark from './Bookmark' import ListGroup from './ListGroup' import ListGroupItem from './ListGroupItem' import BookmarkEditor from '../containers/BookmarkEditor' export default function BookmarksList ({ bookmarks, handleCancelEditing, handleC...
src/components/Layout/Navigation/MenuColumn/MenuList/index.js
ndlib/usurper
import React from 'react' import PropTypes from 'prop-types' import MenuListItem from './MenuListItem' import MenuImage from './MenuImage' import InternalLink from 'components/Contentful/InternalLink' const MenuList = (props) => { let isImageList = false if (props.items) { const menuList = props.items.map( ...
src/components/Decoration/Decoration.js
malinowsky/dataroot_03
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
ajax/libs/react-chartkick/0.2.1/react-chartkick.min.js
sashberd/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],e):e(t.ReactChartkick={},t.React)}(this,function(t,e){"use strict";function r(t){return"[object Array]"===Object.prototype.toString.call(t)}function n(t){retur...
Libraries/Components/Touchable/Position.js
esauter5/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
src/routes/Home/components/MediaList/MediaItem.js
imrenagi/rojak-web-frontend
import React from 'react' import Chart from 'components/charts/Chart' import { Card, Grid, Image, Button, Statistic } from 'semantic-ui-react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import * as Actions from './../../actions' import...
docs/app/Examples/views/Feed/Content/FeedExampleIconLabel.js
koenvg/Semantic-UI-React
import React from 'react' import { Feed, Icon } from 'semantic-ui-react' const FeedExampleIconLabel = () => ( <Feed> <Feed.Event> <Feed.Label> <Icon name='pencil' /> </Feed.Label> <Feed.Content> <Feed.Date>Today</Feed.Date> <Feed.Summary> You posted on your fri...
examples/custom-server/pages/index.js
callumlocke/next.js
import React from 'react' import Link from 'next/link' export default () => ( <ul> <li><Link href='/b' as='/a'><a>a</a></Link></li> <li><Link href='/a' as='/b'><a>b</a></Link></li> </ul> )
src/svg-icons/content/unarchive.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentUnarchive = (props) => ( <SvgIcon {...props}> <path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.4...
source/components/SectionPanel/Body.js
mikey1384/twin-kle
import React from 'react'; import PropTypes from 'prop-types'; import { stringIsEmpty } from 'helpers/stringHelpers'; Body.propTypes = { emptyMessage: PropTypes.string, searchQuery: PropTypes.string, isSearching: PropTypes.bool, isEmpty: PropTypes.bool, loadMoreButtonShown: PropTypes.bool, statusMsgStyle: ...
node_modules/react/lib/ReactTransitionEvents.js
FoxMessenger/nyt-react
/** * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ 'use strict...
src/containers/Instruction/Instruction.js
chuson1996/frontend-advisor
import React, { Component, PropTypes } from 'react'; import { Instruction as InstructionComponent } from 'components'; import { push } from 'react-router-redux'; import { connect } from 'react-redux'; import c from 'classnames'; import Navbar from 'react-bootstrap/lib/Navbar'; import Nav from 'react-bootstrap/lib/Nav';...
screens/TransactionTypes/AddTransactionTypes.js
haaswill/open-wallet-app
import React, { Component } from 'react'; import { Text } from 'react-native'; import { MainView } from '../../components'; import styles from './styles'; class AddTransactionTypes extends Component { render() { return ( <MainView style={styles.container}> <Text>AddTransactionTypes Screen</Text> ...
packages/material-ui-icons/src/ExpandMoreRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M24 24H0V0h24v24z" opacity=".87" /><path d="M15.88 9.29L12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39...
src/common/components/CloseSupportPeriodModal.js
vgarcia692/wutmi_frontend
import React from 'react'; import { Button, Modal, Tabs, Tab, FormGroup, FormControl, ControlLabel, Checkbox, HelpBlock } from 'react-bootstrap'; import Axios from 'axios'; import dateFormat from 'dateFormat'; const Constants = require('../Constants.js') const Cookie = require('../Cookie.js'); export default class Cl...
node_modules/react-icons/lib/io/android-microphone.js
bengimbel/Solstice-React-Contacts-Project
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }...
packages/babel-plugin-transform-react-pure-annotations/test/fixtures/react/memo/input.js
babel/babel
import React from 'react'; const Comp = React.memo((props) => null);
test/EntryTest.js
gusreiber/OSS-plugin-site
import React from 'react'; import Immutable from 'immutable'; import {createRenderer} from 'react-addons-test-utils'; import { assert} from 'chai'; import expect from 'expect'; import Entry from '../app/components/Widget/Entry'; const Record = Immutable.Record({ id: null, name: null, title: '', buildDate: nul...
src/Quickstart/Quickstart.js
in-flux/example-with-react-router
import React from 'react'; import {ComponentRouter} from 'component-router'; import styles from './Quickstart.css'; import Filter from './Filter'; import Content from './Content'; const FilterWrapper = React.createClass({ propTypes: { componentRouter: React.PropTypes.object }, shouldComponentUpdate({comp...
ajax/libs/react-toolbox/2.0.0-beta.7/dropdown/index.min.js
cdnjs/cdnjs
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Dropdown=void 0;var _reactCssThemr=require("react-css-themr"),_identifiers=require("../identifiers"),_Dropdown=require("./Dropdown"),_input=require("../input"),_theme=require("./theme.css"),_theme2=_interopRequireDefault(_theme);function _inter...
demo/js/components/loader.js
rolyatmax/redux-resource-manager
import React from 'react'; export default class Loader extends React.Component { constructor(props) { super(props); const { requests } = props; const resolved = requests.filter(request => request.status !== 'pending'); this.state = { curPerc: requests.length ? resolved.length / requests.length...
src/basic/ToastContainer.js
sampsasaarela/NativeBase
/* @flow */ import React, { Component } from 'react'; import { View, Modal, Platform } from 'react-native'; import { connectStyle } from 'native-base-shoutem-theme'; import { Text } from './Text'; import { Button } from './Button'; import { ViewNB } from './View'; import { Toast } from './Toast'; import mapPropsToSty...
app-reflux/test.js
Orientsoft/borgnix-cloud-ide
import React from 'react' // import TestApp from './components/test' // import TestApp from './test/test-app' import ApiDemo from './test/api-demo' // import './stores/arduino-store' import './stores/project-store' React.render( <ApiDemo /> // <h1>hello</h1> , document.body )
src/svg-icons/navigation/apps.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationApps = (props) => ( <SvgIcon {...props}> <path d="M4 8h4V4H4v4zm6 12h4v-4h-4v4zm-6 0h4v-4H4v4zm0-6h4v-4H4v4zm6 0h4v-4h-4v4zm6-10v4h4V4h-4zm-6 4h4V4h-4v4zm6 6h4v-4h-4v4zm0 6h4v-4h-4v4z"/> </SvgIcon> ...
packages/react-error-overlay/src/components/NavigationBar.js
lolaent/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ import React from 'react'; import { red, redTransparent } from '../styles'; const navigationBarStyle = { marginBottom: '0...
clients/packages/admin-client/src/mobilizations/components/list/items/created-at.js
nossas/bonde-client
import PropTypes from 'prop-types' import React from 'react' import { FormattedMessage } from 'react-intl' /* eslint-disable camelcase */ const CreatedAt = ({ created_at, createdAt }) => { const date = new Date(Date.parse(created_at || createdAt)) return ( <div className='created-at px3 col col-2'> {`${...
js/Kernel/KernelNavigator.js
jolicloud/exponent
/** * Copyright 2015-present 650 Industries. All rights reserved. * * @providesModule KernelNavigator * @flow */ 'use strict'; import React from 'react'; import { Animated, AsyncStorage, DeviceEventEmitter, Easing, NativeModules, StyleSheet, View, } from 'react-native'; import ExNavigator from '@exp...
lib/gui/dialog.js
RechInformatica/rech-environment-ide
'use babel'; import React from 'react' import ReactHelper from '../commons/react-helper'; import ReactDOM from 'react-dom' /** * Módulo para exibiçãod e diálogos */ export default class Dialog { /** * Diálogo de input para digitação */ inputDialog(options) { return new Promise((resolve, ...
app/javascript/mastodon/features/blocks/index.js
pso2club/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { debounce } from 'lodash'; import PropType...
app/components/Home.js
mswiszcz/pagebuilder
// @flow import React, { Component } from 'react'; import { Link } from 'react-router'; import styles from './Home.css'; import Card from './Home/Card'; import Header from './common/Header'; import moment from 'moment'; import { PROJECT_DATE_FORMAT } from '../model/project'; import { STATUS } from '../reducers/gatsby...
vendor/jquery/jquery.js
waaeel/musti
/*! * jQuery JavaScript Library v1.12.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:17Z */ (function( global, factory ) { if ( typeof module =...
__tests__/index.ios.js
REBOOTERS/BestPracticesRN
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/js/_Dashboard/DashboardHome.js
7sleepwalker/addicted-to-mnt
import React, { Component } from 'react'; class DashboardHome extends Component { render() { return ( <section className="dashboard__home"> Welcome in dashboard </section> ); } } export default DashboardHome;
ajax/libs/rxjs/3.1.2/rx.all.compat.js
calebmer/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exp...
ajax/libs/yui/3.14.0/datatable-core/datatable-core.js
hhbyyh/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
src/js/components/Distribution/__tests__/Distribution-test.js
grommet/grommet
import React from 'react'; import 'jest-styled-components'; import { render } from '@testing-library/react'; import { Grommet } from '../../Grommet'; import { Distribution } from '..'; describe('Distribution', () => { test('renders', () => { const { container } = render( <Grommet> <Distribution va...
src/index.js
denniskenny/react-teacher
import './index.css'; import App from './App'; import React from 'react'; import { Provider } from 'react-redux'; import configureStore from './store/configureStore'; import ReactDOM from 'react-dom'; import registerServiceWorker from './registerServiceWorker'; const store = configureStore(); ReactDOM.render( <Pr...
ajax/libs/redux-form/1.3.4/redux-form.js
humbletim/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxForm"] = facto...
src/guesser/Guesser.js
link1900/linkin-games
import React from 'react'; import RaisedButton from 'material-ui/RaisedButton'; import TextField from 'material-ui/TextField'; import Chance from 'chance'; import thinkingImage from './thinking.jpg'; const chance = new Chance(); export default class Guesser extends React.Component { constructor(props) { s...
tests/react_native_tests/test_data/native_code/Scrollview/app/components/UserConnect_3/index.js
ibhubs/sketch-components
/** * @flow */ import React from 'react' import PropTypes from 'prop-types' import { observer } from 'mobx-react/native' import styles from './styles' import UserConnect_3 from './component' @observer class UserConnect_3Wrapper extends React.Component { render() { return ( <UserConnect_3 {...thi...
web/js/559c856_jquery.min_1.js
sanborino/clinica
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBord...
docs/src/pages/components/app-bar/DenseAppBar.js
kybarg/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import Typography from '@material-ui/core/Typography'; import IconButton from '@material-ui/core/IconButton'; import MenuIcon from '@material-...
client/views/login/ResetPassword/ResetPassword.stories.js
VoiSmart/Rocket.Chat
import React from 'react'; import ResetPassword from './ResetPassword'; export default { title: 'components/Login/ResetPassword', component: ResetPassword, }; export const Basic = () => <ResetPassword />;
app/src/containers/AppView.js
saffih/list-by-nextjs-redux-forms
import React from 'react' import css from 'next/css' import App from '../components/App' import { connect } from 'react-redux' import * as actions from '../actions' const mapStateToProps = (state) => ({}) const mapDispatchToProps = (dispatch, props) => ({ }) export default connect( mapStateToProps, mapDispatchT...
packages/react-server-examples/bike-share/components/footer.js
davidalber/react-server
import React from 'react'; import {logging} from 'react-server'; const logger = logging.getLogger(__LOGGER__); export default () => { logger.info('rendering the footer'); return (<div className="footer"> <span>Brought to you by </span> <a href="http://github.com/redfin/react-server">React Server</a> <span> an...
src/routes/notFound/index.js
luanlv/comhoavang
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../co...
src/components/header.js
jckfa/jackf.me
import React from 'react' import styled from 'styled-components' import media from './utils/media' import { site, colors } from './config/vars' import updated from './data/updated_time' const Flex = styled.ul` list-style: none; display: flex; justify-content: space-between; ${'' /* background-color: white; */}...
index.js
sharmad-nachnolkar/react-component-lib
import React from 'react' import ReactDOM from 'react-dom' import MultiSelect from './components/Multiselect/Multiselect.jsx' import Calendar from './components/Calendar/Calendar.jsx' /*var msProps = { dataSource:[ {key:'apple',value:'a'}, {key:'oranges',value:'o'}, {key:'mangoes',value:'m'}, {key:'bananas',v...
examples/01 Dustbin/Single Target/index.js
zetkin/react-dnd
import React from 'react'; import Container from './Container'; export default class DustbinSingleTarget { render() { return ( <div> <p> <b><a href='https://github.com/gaearon/react-dnd/tree/master/examples/01%20Dustbin/Single%20Target'>Browse the Source</a></b> </p> <p> ...
src/svg-icons/image/switch-camera.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageSwitchCamera = (props) => ( <SvgIcon {...props}> <path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 11.5V13H9v2.5L5.5 12 9 8.5V11h6V8.5l3.5 3.5-3.5...
src/components/Input/index.js
cowback/charcode-client
import React from 'react' import cn from 'utils/cn' import './input.css' const Input = ({ placeholder, value, type, name, minlength, maxlength, required, onChange, }) => { return ( <input type={type} value={value} name={name} placeholder={placeholder} minLength={mi...
ajax/libs/primereact/6.4.1/components/radiobutton/RadioButton.js
cdnjs/cdnjs
"use strict"; function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj ...
src/ChoreNavBar.js
nicholviton/ChoreMarks
import React, { Component } from 'react'; import Nav from 'react-bootstrap/lib/Nav'; import Navbar from 'react-bootstrap/lib/Navbar'; import NavItem from 'react-bootstrap/lib/NavItem'; import NavDropdown from 'react-bootstrap/lib/NavDropdown'; import MenuItem from 'react-bootstrap/lib/MenuItem'; class ChoreNavBar ext...
packages/react/src/components/Typography.js
wq/wq.app
import React from 'react'; import PropTypes from 'prop-types'; const variants = { default: 'p', h1: 'h1', h2: 'h2', h3: 'h3', h4: 'h4', h5: 'h5', h6: 'h6', subtitle1: 'h6', subtitle2: 'h6', body1: 'p', body2: 'p', caption: 'small' }; export default function Typography({...
tests/layouts/CoreLayout.spec.js
pawelniewie/zen
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props...
src/svg-icons/image/hdr-off.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageHdrOff = (props) => ( <SvgIcon {...props}> <path d="M17.5 15v-2h1.1l.9 2H21l-.9-2.1c.5-.2.9-.8.9-1.4v-1c0-.8-.7-1.5-1.5-1.5H16v4.9l1.1 1.1h.4zm0-4.5h2v1h-2v-1zm-4.5 0v.4l1.5 1.5v-1.9c0-.8-.7-1.5-1.5-1.5h-1...
app/containers/Authenticate/AuthenticateContainer.js
Tetraib/player.rauks.org
import React from 'react' import { bindActionCreators } from 'redux' import { connect } from 'react-redux' import * as userActionCreators from 'redux/modules/users' import * as utilActionCreators from 'redux/modules/utils' import { Authenticate } from 'components' import { browserHistory } from 'react-router' class ...
mobile-client/src/routes/Navigator.js
sunilkumarc/mutual-fund-tracker
import React from 'react'; import { DeviceEventEmitter } from 'react-native'; import { createStackNavigator, createBottomTabNavigator, } from 'react-navigation'; import { TrackFundsScreen, ManageFundsScreen, FundDetailsScreen } from '../screens'; import Exponent from 'expo'; import Icon from 're...
src/widgets/components/PetitionWidgetInfo/index.js
iris-dni/iris-frontend
import React from 'react'; import styles from './petition-widget-info.scss'; import IconAndInfo from 'components/IconAndInfo'; const PetitionWidgetInfo = ({ owner, city }) => ( <ul className={styles.root}> {city && city.label && <li className={styles.item}> <IconAndInfo icon='Pin' ...
dispatch/static/manager/src/js/components/inputs/DateTimeInput.js
ubyssey/dispatch
import React from 'react' import { Popover, Position, Button } from '@blueprintjs/core' import { DatePicker, DateTimePicker } from '@blueprintjs/datetime' import { humanizeDatetime } from '../../util/helpers' const TODAY = new Date() const MIN_DATE = new Date(0) const MAX_DATE = new Date(TODAY.getFullYear()+1, 12, 31...
ajax/libs/glamorous/4.1.2/glamorous.umd.tiny.js
froala/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('glamor')) : typeof define === 'function' && define.amd ? define(['react', 'glamor'], factory) : (global.glamorous = factory(global.React,global.Glamor)); }(this, (function ...
node_modules/react-icons/io/ios-football.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoIosFootball = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m19.8 3.8c8.9 0 16.2 7.2 16.2 16.2s-7.3 16.3-16.2 16.3-16.3-7.3-16.3-16.3 7.3-16.2 16.3-16.2z m3.2 30.7c0.2 0 0.3 0 0.6-0.1l1.9-5-1.6-3.1v0h-8.3l-1.6 3 2 5.1c0.2 ...
frontend/src/Components/Page/LoadingPage.js
geogolem/Radarr
import React from 'react'; import LoadingIndicator from 'Components/Loading/LoadingIndicator'; import LoadingMessage from 'Components/Loading/LoadingMessage'; import styles from './LoadingPage.css'; const radarrLogo = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAABJCAYAAADL/EH5AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWX...
test/integration/theming.spec.js
mmrtnz/material-ui
/* eslint-disable react/prefer-es6-class */ // NOTE: all these tests depend on DarkRawTheme, and Colors // Modifying any of the above files will break these tests! import React from 'react'; import TestUtils from 'react-addons-test-utils'; import {expect} from 'chai'; import AppBar from 'src/AppBar'; import RaisedBut...
workbench/static/workbench/js/vendor/jquery.min.js
nagyistoce/edx-xblock-sdk
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
src/templates/blogList.js
evandromacedo/evandromacedo.com
import React from 'react' import { graphql } from 'gatsby' import Layout from '../components/Layout' import SEO from '../components/SEO' import PostList from '../components/PostList' import Pagination from '../components/Pagination' const BlogList = ({ data, pageContext }) => { const posts = data.allMarkdownRemark.e...
src/utils/create-test-component.js
connorbanderson/CoinREXX
import React from 'react'; import { findRenderedComponentWithType, renderIntoDocument } from 'react-dom/test-utils'; export function createTestComponent(TestComponent, props) { return findRenderedComponentWithType( renderIntoDocument(<TestComponent {...props}/>), TestComponent ); }
src/main/webapp/bower_components/swagger-ui/dist/lib/jquery-1.8.0.min.js
CardiacAtlasProject/xpacs-web
/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
src/components/charts/charts/svg/text.js
noahehall/udacity-corporate-dashboard
import React from 'react'; export const Text = ({ chartType = '', className = '', dx = 0, // eslintignore x offset from current position dy = 0, // eslintignore y offset from current position fill = 'black', text = '', transform = 'rotate(20, 30, 40)', x = 0, // eslintignore relative to upper left y ...
src/Value.js
serkanozer/react-select
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; class Value extends React.Component { constructor(props) { super(props); this.handleMouseDown = this.handleMouseDown.bind(this); this.onRemove = this.onRemove.bind(this); this.handleTouchEndRemove = this.hand...
ajax/libs/angular-google-maps/1.2.4/angular-google-maps.js
pombredanne/cdnjs
/*! angular-google-maps 1.2.4 2014-10-05 * AngularJS directives for Google Maps * git: https://github.com/nlaplante/angular-google-maps.git */ /** * @name InfoBox * @version 1.1.12 [December 11, 2012] * @author Gary Little (inspired by proof-of-concept code from Pamela Fox of Google) * @copyright Copyright 201...
src/pages/tags.js
chtefi/golb
import React from 'react' import PropTypes from 'prop-types' import { css } from 'react-emotion' import kebabCase from 'lodash/kebabCase' import Helmet from 'react-helmet' import { Link, graphql } from 'gatsby' import Layout from '../components/Layout' export default ({ data: { allMarkdownRemark: { group }, ...
ajax/libs/material-ui/5.0.0-alpha.26/node/Table/Table.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _objectWithoutPropertiesLoose2=_interopRequireDefault(require...