path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/svg-icons/action/flip-to-back.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFlipToBack = (props) => ( <SvgIcon {...props}> <path d="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h2v-2h-2...
app/src/components/PanelItem/PanelItem.js
RyanCCollins/ryancollins.io
import React, { PropTypes } from 'react'; import { Column } from 'react-foundation'; import './PanelItem.scss'; const createMarkup = (item) => ({ __html: item.description }); const PanelItem = ({ item, icon }) => ( <Column small={12} medium={6} large={4} className={ `panel-item $...
web/components/pages/Error/__fixtures__/component-error.js
skidding/flatris
// @flow import React from 'react'; import Error from '..'; export default ( <Error error={{ message: `ReferenceError: xxx is not defined`, stack: ` in NewGame (created by Connect(NewGame)) in Connect(NewGame) (at new.js?entry:25) in SocketProvider (at new.js?entry:24) in div (at Layout.js:1...
node_modules/react-icons/md/subject.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdSubject = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m6.6 8.4h26.8v3.2h-26.8v-3.2z m0 16.6v-3.4h26.8v3.4h-26.8z m26.8-10v3.4h-26.8v-3.4h26.8z m-10 13.4v3.2h-16.8v-3.2h16.8z"/></g> </Icon> ) export default MdSubject...
ajax/libs/react/0.6.3/react.min.js
artpolikarpov/cdnjs
// Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modi...
pages/discover-more/team.js
Kagami/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/discover-more/team', false, /\.md|\.js$/); const reqSource = require.context( '!raw-loader!../../docs...
ajax/libs/material-ui/4.9.4/es/internal/SwitchBase.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { refType } from '@material-ui/utils'; import useControlled from ...
ajax/libs/react-slick/0.3.1/react-slick.js
gereon/cdnjs
var Slider = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /**...
lib/grid.component.js
kodyl/react-flexr
import stylesheet from './stylesheet'; import StyleSheet from 'stilr'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { doubleUnit, vertical, horizontal, variables, assign } from './utils'; const styles = StyleSheet.create( { base: { display: 'flex', flexWrap: 'w...
app/containers/Auth/SignUp.js
benz2012/cat-meow-side
import React from 'react' import Center from 'components/Center' export default class SignUp extends React.Component { render() { const { children } = this.props return ( <Center> <div> <h1>Create an Account</h1> {children} <div style={{marginBottom: '30px', margi...
dependencies/vendor/mozbrowser/components/sessionstore/src/nsSessionStore.js
ifreecarve/nightingale-hacking
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * ...
node_modules/react-icons/lib/md/info.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]; } }...
src/app/views/GroupItem.js
anvaka/unpmchart
import React, { Component } from 'react'; class GroupItem extends Component { render() { return ( <div className='row'> <div className='no-overflow col-md-12 col-xs-12' title={this.props.name}> {this.props.name} </div> </div> ); } } export default GroupItem;
test/components/File.spec.js
nono/cozy-files-v3
'use strict' import React from 'react' import renderer from 'react-test-renderer' import { I18n } from 'cozy-ui/transpiled/react/I18n' import File from '../../src/components/File' describe('File component', () => { it('should render a folder correctly', () => { const attrs = { id: '1234', name: 'Fo...
src/javascripts/routes/index.js
bezreyhan/front_end_starter
import React from 'react'; import { Router, Route } from 'react-router'; import Test from '../components/test'; export default <Router> <Route name='test' path='/' component={Test} /> </Router> ;
ajax/libs/forerunnerdb/1.3.532/fdb-legacy.min.js
kennynaoh/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...
addons/themes/prologue/layouts/Single.js
rendact/rendact
import $ from 'jquery' import React from 'react'; import gql from 'graphql-tag'; import {graphql} from 'react-apollo'; import moment from 'moment'; import {Link} from 'react-router'; import scrollToElement from 'scroll-to-element'; import NavPanel from '../includes/NavPanel'; let Home = React.createClass({ component...
templates/frontOffice/modern/components/React/AddCoupon/index.js
lopes-vincent/thelia
import Alert from '../Alert'; import Error from '../Error'; import Input from '../Input'; import React from 'react'; import SubmitButton from '../SubmitButton'; import { useCouponCreate } from '@openstudio/thelia-api-utils'; import { useForm } from 'react-hook-form'; import { useIntl } from 'react-intl'; export defaul...
src/components/FullNameInput/FullNameInput.js
eliaslopezgt/ps-react-eli
import React from 'react'; import PropTypes from 'prop-types'; import TextInput from '../TextInput'; /** Full Name input with integrated label to enforce consistency in layout, error display, label placement, and required field marker. */ function FullNameInput({htmlId, onChange, ...props}) { return ( <TextInput...
ajax/libs/react-data-grid/0.14.10/react-data-grid.js
honestree/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
node_modules/grunt-sass/node_modules/node-sass/node_modules/sinon/test/rhino/env.rhino.1.2.js
kaffau/Ballet
/* * Envjs core-env.1.2.13 * Pure JavaScript Browser Environment * By John Resig <http://ejohn.org/> and the Envjs Team * Copyright 2008-2010 John Resig, under the MIT License */ var Envjs = function(){ var i, name, override = function(){ for(i=0;i<arguments.length;i++){ ...
src/pages/SGGS/Larivaared.js
bogas04/SikhJS
import React from 'react'; import shouldComponentUpdateEnhancer, { notEqualsSome } from '../../components/shouldComponentUpdateEnhancer'; import Orange from './Orange'; function Larivaared ({ larivaarAssist, enabled, children, style, ...props }) { const larivaaredChildren = children .split(' ') .map((akhar, ...
ajax/libs/alexandernst-angular-multi-select/7.0.0/angular-multi-select.js
humbletim/cdnjs
"use strict"; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ...
packages/material-ui-icons/src/StayCurrentLandscapeTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M5 7h14v10H5z" opacity=".3" /><path d="M21 5H3c-1.1 0-1.99.9-1.99 2L1 17c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-2 12H5V7h14v10z" ...
index.ios.js
chawang/CRMSample
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import { AppRegistry } from 'react-native'; import App from './src/components/App.js'; AppRegistry.registerComponent('CRMSample', () => App); // import React from 'react'; // import { TabNavigator } from 'react-navigation'; // im...
docs/src/app/components/pages/components/Stepper/HorizontalTransition.js
ichiohta/material-ui
import React from 'react'; import { Step, Stepper, StepLabel, } from 'material-ui/Stepper'; import RaisedButton from 'material-ui/RaisedButton'; import FlatButton from 'material-ui/FlatButton'; import ExpandTransition from 'material-ui/internal/ExpandTransition'; import TextField from 'material-ui/TextField'; /*...
src/components/Sidebar/Author/Author.js
bapti/blog
// @flow strict import React from 'react'; import { withPrefix, Link } from 'gatsby'; import styles from './Author.module.scss'; type Props = { author: { name: string, bio: string, photo: string }, isIndex: ?boolean }; const Author = ({ author, isIndex }: Props) => ( <div className={styles['author...
src/Pane.js
chrisleeshanok/react-split-pane
import React from 'react'; import PropTypes from 'prop-types'; import Prefixer from 'inline-style-prefixer'; import stylePropType from 'react-style-proptype'; const USER_AGENT = 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Safari/537.2'; class Pane extends React.Component { constructor(prop...
__tests__/index.android.js
OrcaXS/react-aria2
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
tests/Rules-isAlphanumeric-spec.js
lei-clearsky/temp
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import Formsy from './..'; import { InputFactory } from './utils/TestInput'; const TestInput = InputFactory({ render() { return <input value={this.getValue()} readOnly/>; } }); const TestForm = React.createClass({ render() { re...
frontend/app_v2/src/components/ByAlphabet/ByAlphabetPresentation.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' import { Link } from 'react-router-dom' import DictionaryListPresentation from 'components/DictionaryList/DictionaryListPresentation' import DictionaryGrid from 'components/DictionaryGrid' import AudioButton from 'components/AudioButton' import Tabs from 'co...
jobx-server/src/main/webapp/static/js/jquery.js
wolfboys/opencron
/*! * jQuery JavaScript Library v1.11.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-12-17T15:27Z */ (function( global, factory ) { if ...
ajax/libs/vue-smart-table/2.6.0-alpha1/vue-smart-table.min.js
BenjaminVanRyseghem/cdnjs
!function(u,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("Vue")):"function"==typeof define&&define.amd?define(["Vue"],n):"object"==typeof exports?exports.SmartTable=n(require("Vue")):u.SmartTable=n(u.Vue)}(this,function(u){return function(u){function n(e){if(t[e])return t[e].exports;var...
app/javascript/mastodon/features/compose/components/upload.js
cobodo/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { FormattedMessage } fr...
docs/app/Examples/elements/Header/Types/HeaderExampleSubheaders.js
clemensw/stardust
import React from 'react' import { Header } from 'semantic-ui-react' const HeaderExampleSubheaders = () => ( <div> <Header sub>Price</Header> <span>$10.99</span> </div> ) export default HeaderExampleSubheaders
ajax/libs/knockout-validation/2.0.2/knockout.validation.js
sajochiu/cdnjs
/*============================================================================= Author: Eric M. Barnard - @ericmbarnard License: MIT (http://opensource.org/licenses/mit-license.php) Description: Validation Library for KnockoutJS Version: 2.0.2 ===================...
src/modules/widget/Datetime.js
lenxeon/react
"use strict" import React from 'react' import classnames from 'classnames' import { overView, getOuterHeight } from './utils/dom' import * as datetime from './utils/datetime' import clickAway from './higherorder/clickaway' import { requireCss } from './themes' requireCss('datetime') import { getLang, setLang } from ...
ajax/libs/react-bootstrap/0.22.5/react-bootstrap.js
melvinsembrano/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["ReactBootstrap"] = ...
packages/material-ui-icons/src/MovieOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M4 6.47L5.76 10H20v8H4V6.47M22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4z" /></R...
ajax/libs/js-data/1.6.2/js-data.js
fredericksilva/cdnjs
/*! * js-data * @version 1.6.2 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModul...
src/icons/SignalCellularOffIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class SignalCellularOffIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M42 2L24.82 19.18 42 36.36V2zM9.55 9L7 11.54l12.73 12.73L2 42h35.45l4 4L44 43.45 9.55 9z"/></svg...
app/pages/setPasswordPage.js
shiyunjie/scs
/** * Created by shiyunjie on 16/12/27. */ /** * Created by shiyunjie on 16/12/6. */ import React, { Component } from 'react'; import { StyleSheet, Text, View, TextInput, ActivityIndicator, ActivityIndicatorIOS, ProgressBarAndroid, NativeAppEventEmitter, TouchableOpacity, Pla...
src/pages/404.js
cadejscroggins/cadejs.com
import React from 'react'; import Layout from '../components/Layout'; const NotFoundPage = () => ( <Layout> <h1>NOT FOUND</h1> <p>You just hit a route that doesn&rsquo;t exist... the sadness.</p> </Layout> ); export default NotFoundPage;
client/App.js
lamatyus/react-blog
import React, { Component } from 'react'; import { render } from 'react-dom'; import Layout from './Layout'; class App extends Component { render() { return ( <Layout /> ); }; }; render(<App />, document.getElementById('root'));
plugins/Terminal/js/components/seedprompt.js
NebulousLabs/New-Sia-UI
import React from 'react' import { httpCommand } from '../utils/helpers.js' import querystring from 'querystring' export default class WalletSeedPrompt extends React.Component { componentDidUpdate () { // Give DOM time to register the update. if (this.props.showSeedPrompt) { this._seedPasswd.focus() ...
LaGou/index.android.js
MisterZhouZhou/ReactNativeLearing
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class LaGou extends Component { render() { return ( <View style={styles.container}> ...
examples/05 Customize/Handles and Previews/Container.js
zetkin/react-dnd
import React, { Component } from 'react'; import { DragDropContext } from 'react-dnd'; import HTML5Backend from 'react-dnd/modules/backends/HTML5'; import BoxWithImage from './BoxWithImage'; import BoxWithHandle from './BoxWithHandle'; @DragDropContext(HTML5Backend) export default class Container extends Component { ...
src/navigation/auth.js
LancCJ/react-native-cyber-police
/** * Auth Scenes * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import { Scene, ActionConst } from 'react-native-router-flux'; // Consts and Libs import { AppConfig } from '@constants/'; // Scenes import Authenticate from '@containers/auth/Authen...
BBB-firmware/starterwarefree-code/third_party/lwip-1.4.0/apps/httpserver_raw_io/fs_evmskAM335x/jquery-1.6.4.min.js
guileschool/BEAGLEBONE-tutorials
/*! jQuery v1.6.4 http://jquery.com/ | http://jquery.org/license */ (function(a,b){function cu(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cr(a){if(!cg[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createElement("iframe"...
node_modules/enzyme/test/Debug-spec.js
sharonjean/React-Netflix
import { expect } from 'chai'; import React from 'react'; import { spaces, indent, debugNode, } from '../src/Debug'; import { mount } from '../src/'; import { describeWithDOM, describeIf, itIf, } from './_helpers'; import { REACT013 } from '../src/version'; describe('debug', () => { describe('spaces(n)'...
src/components/navbar/SignedInNav.js
Team-Banana-Guava/JobOrNot-React
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router-dom'; import { userLogoutSuccess } from '../../actions/auth-actions'; import logo from '../../assets/JobOrNot_Blue_50.png'; const mapStateToProps = (state) => { return { user: state.userAuth.user, }; };...
demo/components/form/FormDemo.js
f0zze/rosemary-ui
import React from 'react'; import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; import DemoWithSnippet from '../../../demo/layout/DemoWithSnippet'; import Example2 from './Example2'; import {Form, formHelper, Input, Select, DateRangePicker} from '../../../src'; class FormDemo extends React.C...
ajax/libs/6to5/2.2.0/browser.js
jonobr1/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
mobile/mock ups/tech_stack/src/components/LibraryList.js
parammehta/TravLendar
import React, { Component } from 'react'; import { ListView } from 'react-native'; import { connect } from 'react-redux'; import ListItem from './ListItem'; class LibraryList extends Component { componentWillMount() { const ds = new ListView.DataSource({ rowHasChanged: (r1, r2) => r1 !== r2 }); th...
paraviewweb/src/Component/React/ReactAdapter/index.js
CordyChen/VisMechan
import React from 'react'; import ReactDOM from 'react-dom'; export default class ReactContainer { constructor(reactClass, reactProps) { this.props = reactProps; this.reactClass = reactClass; this.container = null; this.component = null; } setContainer(el) { if (this.container && this.contai...
src/addons/link/__tests__/ReactLinkPropTypes-test.js
Furzikov/react
/** * Copyright 2013-2015, 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. * * @emails react-co...
pages/api/expansion-panel-summary.js
Kagami/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './expansion-panel-summary.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
src/components/Footer.js
SaKKo/react-redux-todo-boilerplate
import React from 'react'; import { connect } from 'react-redux'; import { setVisibilityFilter } from '../actions/actions'; import { SHOW_ALL,SHOW_ACTIVE,SHOW_COMPLETED } from '../constants/ActionTypes'; import Link from './Link'; const mapStateProps = ( state, ownProps ) => { return { active: ownProp...
vendor/almasaeed2010/adminlte/bower_components/Flot/jquery.js
patnox/recruiter-ab
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
app/javascript/mastodon/features/compose/components/privacy_dropdown.js
pso2club/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl, defineMessages } from 'react-intl'; import IconButton from '../../../components/icon_button'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../../ui/util/optional_motion'; import spring from 'react-motion/lib/spr...
test/test_helper.js
giladgreen/pokerStats
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
src/js/components/manifest.js
campinas-front-end-meetup/institucional
'use strict' import React from 'react' export default () => ( <section className='section' id='manifest'> <header className='page-header'> <h3 className='title'>Manifesto</h3> </header> <article> <p> Nosso objetivo é aumentar e fortalecer a comunidade de desenvolvedores web de Campin...
opentech/static_src/src/app/src/containers/ByRoundListing.js
OpenTechFund/WebApp
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux' import GroupedListing from '@components/GroupedListing'; import { loadRounds, loadSubmissionsForCurrentStatus, setCurrentSubmission, } from '@actions/submissions'; import { getRounds, getRoundsFetch...
actor-apps/app-web/src/app/components/sidebar/ContactsSection.react.js
daodaoliang/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import ContactStore from 'stores/ContactStore'; import ContactActionCreators from 'actions/ContactActionCreators'; import AddContactStore from 'stores/AddContactStore'...
src/instructions/HowItWorks.react.js
DhammaLuke/citybook
import React, { Component } from 'react'; import Row from 'react-bootstrap/lib/Row'; import Col from 'react-bootstrap/lib/Col'; import '../../styles/instructions.scss'; export default class HowItWorks extends Component { render() { return ( <section className="how-it-works"> <Row> <Col m...
ajax/libs/react-foundation-apps/0.6.0/react-foundation-apps.min.js
xymostech/cdnjs
var RFA=function(t){function e(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return t[i].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports={Accordion:n(1),ActionSheet:n(2),Iconic:n(3),Interchange:n(4),Modal:n(5),Notification:n...
ajax/libs/boardgame-io/0.49.7/boardgameio.es.js
cdnjs/cdnjs
import { nanoid } from 'nanoid/non-secure'; import { applyMiddleware, compose, createStore } from 'redux'; import produce from 'immer'; import isPlainObject from 'lodash.isplainobject'; import { applyPatch, createPatch } from 'rfc6902'; import { stringify, parse } from 'flatted'; import 'setimmediate'; import React fro...
app/containers/HomePage/index.js
talal7860/punch-assignment-react
/* * HomePage * * This is the first thing users see of our App, at the '/' route */ import React from 'react'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { makeSelectRepos, mak...
src/svg-icons/image/brightness-1.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrightness1 = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="12" r="10"/> </SvgIcon> ); ImageBrightness1 = pure(ImageBrightness1); ImageBrightness1.displayName = 'ImageBrightness1'; ImageBrightnes...
ajax/libs/reactable/0.12.2/reactable.min.js
BenjaminVanRyseghem/cdnjs
window.React["default"]=window.React;window.ReactDOM["default"]=window.ReactDOM;(function(global,factory){if(typeof define==="function"&&define.amd){define(["exports"],factory)}else if(typeof exports!=="undefined"){factory(exports)}else{var mod={exports:{}};factory(mod.exports);global.filter_props_from=mod.exports}})(t...
src/assets/js/react/components/Template/TemplateListItem.js
GravityPDF/gravity-forms-pdf-extended
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' import { updateTemplateParam } from '../../actions/templates' import TemplateScreenshot from './TemplateScreenshot' import ShowMessage from '../ShowMessage' import { TemplateD...
examples/huge-apps/routes/Calendar/components/Calendar.js
RickyDan/react-router
import React from 'react'; class Calendar extends React.Component { static loadProps(params, cb) { setTimeout(() => { cb(null, { events: [{ id: 0, title: 'essay due' }] }) }, 1000); } render () { var { events } = this.props; return ( <div> <h2...
examples/using-inferno/pages/index.js
dizlexik/next.js
import React from 'react' import Link from 'next/link' export default () => ( <div>Hello World. <Link prefetch href='/about'><a>About</a></Link></div> )
packages/react-scripts/fixtures/kitchensink/src/features/syntax/ComputedProperties.js
scyankai/create-react-app
/** * 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. */ import Rea...
ajax/libs/react-cookie/0.1.2/react-cookie.js
Sneezry/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/primereact/6.6.0/paginator/paginator.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames, Ripple, ObjectUtils } from 'primereact/core'; import { Dropdown } from 'primereact/dropdown'; import { InputNumber } from 'primereact/inputnumber'; function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } function _iterableToArrayLimit(arr,...
src/index.js
apiaryio/attributes-kit
import React from 'react'; import ReactDom from 'react-dom'; import { EventEmitter } from 'events'; import eidolon from 'eidolon'; import AttributesComponent from './Components/Attributes/Attributes'; import AttributeComponent from './Components/Attribute/Attribute'; class AttributesKit extends EventEmitter { stati...
ajax/libs/yui/3.0.0beta1m2/yui/yui-debug.js
cgvarela/cdnjs
/** * YUI core * @module yui */ (function() { var _instances = {}, _startTime = new Date().getTime(), p, i, // @TODO: this needs to be created at build time from module metadata _APPLY_TO_WHITE_LIST = { 'io.xdrReady': 1, 'io.start': 1, 'io.success': 1, '...
frontend/src/components/auth/signup.js
raymestalez/django-react-blog
import React, { Component } from 'react'; import { reduxForm } from 'redux-form'; import * as actions from '../../actions'; class Signup extends Component { handleFormSubmit({email, password}) { /* console.log(email, password);*/ // signupUser comes from actions. // it is an action creator that sends an email/p...
ajax/libs/react-router/0.10.2/react-router.js
maxklenk/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.ReactRouter=e()}}(function(){var define,module,export...
src/__tests__/fileMocks/singlesUnnamed/Italics.js
react-cosmos/fs-playground
// @flow import React from 'react'; const Italics = ({ name }: { name: string }) => <em>{name}</em>; export default Italics;
ajax/libs/jquery-mobile/1.4.0/jquery.mobile.js
visualjeff/cdnjs
/*! * jQuery Mobile 1.4.0 * Git HEAD hash: f09aae0e035d6805e461a7be246d04a0dbc98f69 <> Date: Thu Dec 19 2013 17:34:22 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ...
src/routes.js
vladislavpauk/react-redux-swapi
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import ApplicationLayout from 'layouts/ApplicationLayout/ApplicationLayout'; import People from 'containers/People/People'; import Films from 'containers/Films/Films'; export default ( <Route path="/" component={ApplicationLayout}> <Ind...
js/components/AppRoutes.js
c-h-/universal-native-boilerplate
import React from 'react'; import PropTypes from 'prop-types'; import Icon from './Icon'; import Home from '../views/Home'; import IconsGrid from '../views/IconsGrid'; import NotFound from '../views/NotFound'; import Translation from '../views/Translation'; export const notFoundKey = 'NotFound'; /** * Gets an Icon ...
src/components/EventsLane/index.js
vogelino/design-timeline
import React from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import throttle from 'throttle-debounce/throttle'; import { DraggableCore } from 'react-draggable'; import * as mouseActions from '../../redux/actions/mouseActions'; import *...
src/components/NoteEditor/NoteEditorWidget.js
bibleexchange/be-front-new
import React from 'react'; import { createFragmentContainer, graphql, } from 'react-relay/compat'; import { Link } from 'react-router'; import Loading from '../ListWidget/Loading' import './NoteEditorWidget.scss'; import NotesWidget from '../Note/NotesWidget'; import N from '../../NoteTypes'; import Template from ...
web/src/js/__tests__/components/Header/FileMenuSpec.js
mhils/mitmproxy
import React from 'react' import renderer from 'react-test-renderer' import { FileMenu } from '../../../components/Header/FileMenu' global.confirm = jest.fn( s => true ) describe('FileMenu Component', () => { let clearFn = jest.fn(), loadFn = jest.fn(), saveFn = jest.fn(), openModalFn = je...
src/App.js
myanbin/myeditor
import React from 'react'; import logo from './logo.svg'; import './App.css'; import RichEditor from './RichEditor/index'; import { uuid } from './utils/uuid'; class App extends React.Component { constructor(props) { super(props); // 初始化时分配一个 document id console.log('document id:', uuid()); } rende...
ajax/libs/flocks.js/0.15.3/flocks.js
noraesae/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /** * The Flocks library module. * * @module Flocks * @main Flocks * @class Flocks */ // if it's in a <script> it's defined already // otherwise assume commonjs if (typeof React === 'undefined') { var Reac...
packages/ndla-icons/src/common/Home.js
netliferesearch/frontend-packages
/** * Copyright (c) 2017-present, NDLA. * * This source code is licensed under the GPLv3 license found in the * LICENSE file in the root directory of this source tree. * */ // N.B! AUTOGENERATED FILE. DO NOT EDIT import React from 'react'; import Icon from '../Icon'; const Home = props => ( <Icon viewBox=...
src/parser/druid/balance/modules/features/MoonfireUptime.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import Enemies from 'parser/shared/modules/Enemies'; import SpellLink from 'common/SpellLink'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import StatisticBox, { ...
src/GroupDetails.js
radding/trough-app
import React, { Component } from 'react'; import {User, Outing} from './Models'; import moment from 'moment'; import DatePicker from 'react-native-datepicker'; import { AppRegistry, StyleSheet, Text, View, TextInput, Button, Alert, } from 'react-native'; import { mapStateToProps, mapDispatc...
features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/node_modules/react-slick/__tests__/sample.js
bhathiya/test
'use strict'; import React from 'react'; import {shallow, mount} from 'enzyme'; import Slider from '../src/index'; describe('basic test', function() { it('should add numbers', function() { expect(2 + 2).toBe(4); }); }); describe('sample enzyme test', function() { it('should render', function() { const ...
packages/react-ui-components/src/Grid/gridItem.js
dimaip/neos-ui
import React from 'react'; import PropTypes from 'prop-types'; import mergeClassNames from 'classnames'; const GridItem = props => { const { className, children, width, theme, ...rest } = props; const classNames = mergeClassNames({ [theme.grid__item]: true, ...
src/icons/DoneAllIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class DoneAllIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M36 14l-2.83-2.83-12.68 12.69 2.83 2.83L36 14zm8.49-2.83L23.31 32.34 14.97 24l-2.83 2.83L23.31 38l24-24-2....
demo/containers/Form/index.js
vbait/vb-react-form
import React from 'react'; import { Row, Col } from 'react-bootstrap'; import ReactPlayground from '../../components/ReactPlayground'; import samples from './samples'; import {Link} from "react-router-dom"; import Highlight from 'react-highlight'; const FormDemo = ({ children }) => ( <Row> <Col xs={12}> <h...
frontend/src/components/video-player.js
miurahr/seahub
import React from 'react'; import videojs from 'video.js'; import 'video.js/dist/video-js.css'; class VideoPlayer extends React.Component { componentDidMount() { // instantiate Video.js this.player = videojs(this.videoNode, this.props, function onPlayerReady() { }); } // destroy player on unmount ...
src/AffixMixin.js
HorizonXP/react-bootstrap
import React from 'react'; import domUtils from './utils/domUtils'; import EventListener from './utils/EventListener'; const AffixMixin = { propTypes: { offset: React.PropTypes.number, offsetTop: React.PropTypes.number, offsetBottom: React.PropTypes.number }, getInitialState() { return { a...
app/App.js
eunki7/react-express-starter-kit
import React from 'react'; export default class App extends React.Component { render() { return ( <h1>Hello ReactJs!</h1> ) } }
src/components/Pill/__tests__/Pill.spec.js
propertybase/react-lds
import React from 'react'; import { shallow } from 'enzyme'; import Pill from '../Pill'; import { Icon, Avatar } from '../../..'; describe('<Pill />', () => { let props = {}; let mounted = null; beforeEach(() => { props = { title: 'A title', label: 'A label', }; mounted = shallow(<Pill ...