path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
scripts/App.js
machnicki/healthunlocked
import React, { PropTypes } from 'react'; import Explore from './components/Explore'; import DocumentTitle from 'react-document-title'; import { RouteHandler } from 'react-router'; export default class App { static propTypes = { params: PropTypes.object.isRequired, query: PropTypes.object.isRequired }; ...
src/collections/Table/TableCell.js
aabustamante/Semantic-UI-React
import _ from 'lodash' import cx from 'classnames' import PropTypes from 'prop-types' import React from 'react' import { createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, META, SUI, useKeyOnly, useTextAlignProp, useVerticalAlignProp, useWidthProp, } from '../../lib' import...
ajax/libs/mediaelement/1.1/jquery.js
Piicksarn/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
actor-apps/app-web/src/app/components/sidebar/RecentSectionItem.react.js
hmoraes/actor-platform
import React from 'react'; import classNames from 'classnames'; import DialogActionCreators from 'actions/DialogActionCreators'; import DialogStore from 'stores/DialogStore'; import AvatarItem from 'components/common/AvatarItem.react'; class RecentSectionItem extends React.Component { static propTypes = { di...
react-client/src/components/Dashboard.js
francoabaroa/escape-reality
import React from 'react'; import { Link, withRouter } from 'react-router'; import $ from 'jquery'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import CircularProgress from 'material-ui/CircularProgress'; import LinearProgress from 'mater...
app/index.js
willy-claes/django-react
import React from 'react' import ReactDOM from 'react-dom' import createStore from 'App/store' import createRoutes from 'App/routes' import AppContainer from 'App/containers/AppContainer' const initialState = typeof window.__INITIAL_STATE__ === 'string' ? JSON.parse(window.__INITIAL_STATE__) : window.__INITIAL_STAT...
src/svg-icons/image/grid-on.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageGridOn = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6...
ajax/libs/rxjs/2.3.18/rx.all.compat.js
steadiest/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
ajax/libs/ScrollMagic/2.0.3/ScrollMagic.js
wormful/cdnjs
/*! * ScrollMagic v2.0.3 (2015-04-07) * The javascript library for magical scroll interactions. * (c) 2015 Jan Paepke (@janpaepke) * Project Website: http://janpaepke.github.io/ScrollMagic * * @version 2.0.3 * @license Dual licensed under MIT license and GPL. * @author Jan Paepke - e-mail@janpaepke.de * * @f...
Example/ScrollableTabsExample.js
skv-headless/react-native-scrollable-tab-view
import React from 'react'; import { Text, View, } from 'react-native'; import ScrollableTabView, { ScrollableTabBar } from 'react-native-scrollable-tab-view'; export default () => { return <ScrollableTabView style={{ marginTop: 20 }} initialPage={0} renderTabBar={() => <ScrollableTabBar />} > ...
views/blocks/SearchResult/SearchResult.js
dimastark/team5
import React from 'react'; import SearchPaginationControl from './../SearchPaginationControl/SearchPaginationControl'; import './SearchResult.css'; import b from 'b_'; export default class SearchResult extends React.Component { render() { const {onPageChange, currentPage, pageCount, children} = this.props;...
src/scripts/containers/ItemPage.js
scyclow/fire-sale
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import _ from 'lodash'; import { newBid } from '../actions'; import pojo from '../utils/pojo'; import ItemSummary from '../components/ItemSummary'; const select = (state, props) => { const items = s...
app/app.js
kristajg/react-sandbox
// Framework libraries import React from 'react'; import { render } from 'react-dom'; import { Router, Route, browserHistory } from 'react-router'; // Components for routing import Main from './components/main'; import Secondary from './components/secondary'; render( <Router history={browserHistory}> <Route path="...
src/client/src/Components/EditableTable/EditableTableRow/index.js
severnsc/brewing-app
import React from 'react' import PropTypes from 'prop-types' import Button from '../../Button' import RoundButton from '../../RoundButton' import styled from 'styled-components' const TableRow = styled.tr` display:flex; flex-direction:row; position:relative; border-bottom:1px solid rgb(224, 224, 224); margin...
pootle/static/js/shared/components/Dialog.js
phlax/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import Modal, { ModalFooter } ...
vertex_ui/src/components/ScrollBarContainer/ScrollBarContainer.js
zapcoop/vertex
import React from 'react'; import { PropTypes } from 'prop-types'; import Ps from 'perfect-scrollbar'; import _ from 'underscore'; import 'perfect-scrollbar/dist/css/perfect-scrollbar.css'; class ScrollBarContainer extends React.Component { static propTypes = { children: PropTypes.node.isRequired, component...
test/client/unit/containers/ConfirmationWithAside.spec.js
noms-digital-studio/csra-app
import React from 'react'; import { mount } from 'enzyme'; import ConfirmationWithAside from '../../../../client/javascript/containers/ConfirmationWithAside'; import Aside from '../../../../client/javascript/components/asides/Index'; describe('<ConfirmationWithAside />', () => { it('renders the title', () => { ...
test/input-test.js
knledg/react-blur-admin
import React from 'react'; import sinon from 'sinon'; import {expect} from 'chai'; import {noop} from 'lodash'; import {shallow} from 'enzyme'; import { Input } from '../src'; describe('<Input/>', function() { it('Has default props', function() { const component = shallow(<Input onChange={noop}/>); expect(c...
src/icons/IosSnowy.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosSnowy extends React.Component { render() { if(this.props.bare) { return <g> <style type="text/css"> .st0{fill:#010101;} </style> <path class="st0" d="M379.9,317l-28.7-16.3c6.1-5.8,13-9.7,20.7-12.3c4.3-1...
app/scripts/main.js
wbkd/piwik-dashboard
import React from 'react'; import App from './pages/app.jsx'; React.render(<App />, document.body);
assets/js/store/model.js
tdfischer/organizer
import React from 'react' import { createSelector } from 'reselect' import { bindActionCreators } from 'redux' import { point } from '@turf/helpers' import { getCoord } from '@turf/invariant' import { connect } from 'react-redux' import { csrftoken } from '../Django' import Queue from 'promise-queue' import Immutable ...
src/component/Markdown.js
jdeniau/changelog-view
import React from 'react'; import marked from 'marked'; import TerminalRenderer from 'marked-terminal'; function Markdown({ children }) { return marked(children, { renderer: new TerminalRenderer(), }); } export default Markdown;
examples/huge-apps/routes/Course/routes/Assignments/components/Assignments.js
fiture/react-router
import React from 'react'; class Assignments extends React.Component { render () { return ( <div> <h3>Assignments</h3> {this.props.children || <p>Choose an assignment from the sidebar.</p>} </div> ); } } export default Assignments;
packages/material-ui-icons/src/LocalPhone.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let LocalPhone = props => <SvgIcon {...props}> <path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17...
packages/material-ui-icons/src/FindReplaceSharp.js
Kagami/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="M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66...
examples/todomvc/containers/Root.js
Zack-Tillotson/redux
import React, { Component } from 'react'; import TodoApp from './TodoApp'; import { createStore, combineReducers } from 'redux'; import { Provider } from 'react-redux'; import rootReducer from '../reducers'; const store = createStore(rootReducer); export default class Root extends Component { render() { return ...
examples/todoMVC/src/components/TodoItem.spec.js
Sly777/React-UI-Debugger
import React from 'react' import TestUtils from 'react-addons-test-utils' import TodoItem from './TodoItem' import TodoTextInput from './TodoTextInput' const setup = ( editing = false ) => { const props = { todo: { id: 0, text: 'Use Redux', completed: false }, editTodo: jest.fn(), d...
ajax/libs/primereact/6.5.0/avatargroup/avatargroup.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { classNames } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var i = 0; i < pr...
src/PhoneField.js
greenteamer/form
import React, { Component } from 'react'; import MaskedInput from 'react-maskedinput'; import _ from 'underscore'; export default class PhoneField extends Component { constructor(props) { super(props); this.state = { currentCountry: this.props.countries[0], dropdownCountry: false, isFocusPhone: fa...
ajax/libs/yui/3.5.0pr4/simpleyui/simpleyui.js
pc035860/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...
app/components/Navbar.js
kongchun/BigData-Web
import React from 'react'; import { Link } from 'react-router'; //import NavbarStore from '../stores/NavbarStore'; //import NavbarActions from '../actions/NavbarActions'; class Navbar extends React.Component { render() { return ( <div className='alert alert-info'> Navbar </div> ); } } e...
src/js/components/stories/LoginDialog.js
mosen/micromdm-ui
import React from 'react'; import {createStore, applyMiddleware, compose} from 'redux'; import {combineReducers} from 'redux'; import {reducer as formReducer} from 'redux-form'; import {Provider} from 'react-redux'; import {storiesOf, action} from '@kadira/storybook'; import MuiThemeProvider from 'material-ui/styles/Mu...
src/components/form.js
Brogency/react-form-tools
import React from 'react'; import _ from 'lodash'; import defaultStrategy from 'yup-validation-strategy'; import BaobabPropTypes from 'baobab-prop-types'; export default React.createClass({ propTypes: { onSubmit: React.PropTypes.func, onInvalidSubmit: React.PropTypes.func, cursor: BaobabPro...
packages/starter-scripts/fixtures/kitchensink/src/features/syntax/ComputedProperties.js
chungchiehlun/create-starter-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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(prefix) { return [ { id: 1, [`${prefi...
ajax/libs/onsen/2.0.0-rc.19/js/angular-onsenui.js
BenjaminVanRyseghem/cdnjs
/*! angular-onsenui.js for onsenui - v2.0.0-rc.18 - 2016-09-15 */ /* Simple JavaScript Inheritance * By John Resig http://ejohn.org/ * MIT Licensed. */ // Inspired by base2 and Prototype (function () { var initializing = false, fnTest = /xyz/.test(function () { xyz; }) ? /\b_super\b/ : /.*/; // The ...
src/svg-icons/action/hourglass-empty.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionHourglassEmpty = (props) => ( <SvgIcon {...props}> <path d="M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2H6zm10 14.5V20H8v-3.5l4-4 4 4zm-4-5l-4-4V4h8v3.5l-4 4z"/> ...
step4-router/node_modules/react-router/modules/IndexRedirect.js
jintoppy/react-training
import React from 'react' import warning from './routerWarning' import invariant from 'invariant' import Redirect from './Redirect' import { falsy } from './PropTypes' const { string, object } = React.PropTypes /** * An <IndexRedirect> is used to redirect from an indexRoute. */ const IndexRedirect = React.createCla...
app/javascript/flavours/glitch/components/spoilers.js
Kirishima21/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; export default class Spoilers extends React.PureComponent { static propTypes = { spoilerText: PropTypes.string, children: PropTypes.node, }; state = { hidden: true, } handleSpoilerClick...
App.js
kapone89/MonteOfficeExpo
import React from 'react'; import { StyleProvider } from 'native-base'; import { observer } from 'mobx-react/native'; import { observable } from 'mobx'; import Expo from 'expo'; import getTheme from './native-base-theme/components'; import montePlatform from './native-base-theme/variables/monte_platform'; import MonteO...
js/screens/HomeScreenComponents/OnBoardingView.js
ujwalramesh/REHU-discourse
/* @flow */ 'use strict' import React from 'react' import { StyleSheet, Text, TouchableOpacity, View } from 'react-native' import colors from '../../colors' class OnBoardingView extends React.Component { static propTypes = { onDidPressAddSite: React.PropTypes.func.isRequired } render() { retu...
ajax/libs/vue-material/0.5.0/components/mdSpinner/index.js
kennynaoh/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueMaterial=t():e.VueMaterial=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};r...
examples/huge-apps/routes/Course/routes/Assignments/components/Assignments.js
zenlambda/react-router
import React from 'react' class Assignments extends React.Component { render() { return ( <div> <h3>Assignments</h3> {this.props.children || <p>Choose an assignment from the sidebar.</p>} </div> ) } } module.exports = Assignments
node_modules/react-icons/fa/try.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaTry = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m32.7 18.6q0 4.2-2.1 7.8t-5.7 5.8-7.9 2.1h-3.6q-0.3 0-0.5-0.2t-0.2-0.5v-13.7l-4.8 1.5q0 0-0.2 0-0.2 0-0.4-0.1-0.3-0.2-0.3-0.6v-2.8q0-0.6 0.5-0.7l5.2-1.6v-2.1l-4.8 1.5q0 0...
assets/search-view/profile-view/components/ProfileAbout.js
janta-devs/nyumbani
import React, { Component } from 'react'; class ProfileAbout extends Component{ render() { return ( <div /> ); } }; export default ProfileAbout;
ajax/libs/reactive-coffee/1.0.0/reactive-coffee.js
adelevie/cdnjs
(function() { var DepArray, DepCell, DepMap, DepMgr, Ev, FakeObsCell, FakeSrcCell, IndexedArray, IndexedDepArray, IndexedMappedDepArray, MappedDepArray, ObsArray, ObsCell, ObsMap, ObsMapEntryCell, RawHtml, Recorder, SrcArray, SrcCell, SrcMap, SrcMapEntryCell, asyncBind, bind, depMgr, ev, events, firstWhere, flatten, ...
app/components/Footer/index.js
kdprojects/nichesportapp
import React, { Component } from 'react'; import FontIcon from 'material-ui/FontIcon'; import { BottomNavigation, BottomNavigationItem } from 'material-ui/BottomNavigation'; import Paper from 'material-ui/Paper'; import IconLocationOn from 'material-ui/svg-icons/communication/location-on'; import MuiThemeProvider from ...
client/src/index.js
Kxeta/product_searcher_react
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter } from 'react-router-dom' import 'bootstrap/dist/css/bootstrap.css'; import 'bootstrap/dist/css/bootstrap-theme.css'; import 'font-awesome/css/font-awesome.css'; import App from './main/App'; import registerServiceWorker from './regist...
doc/examples/simple/develop/stories/index.js
sm-react/storybook-adk
/* eslint-disable import/no-extraneous-dependencies */ /* eslint-disable react/jsx-filename-extension */ import React from 'react'; import { storiesOf } from '@storybook/react'; import { setOptions } from '@storybook/addon-options'; import { muiTheme } from 'storybook-addon-material-ui'; import { WithNotes } fr...
node_modules/react-icons/md/crop.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdCrop = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m11.6 28.4h26.8v3.2h-6.8v6.8h-3.2v-6.8h-16.8c-1.8 0-3.2-1.4-3.2-3.2v-16.8h-6.8v-3.2h6.8v-6.8h3.2v26.8z m16.8-3.4v-13.4h-13.4v-3.2h13.4c1.8 0 3.2 1.4 3.2 3.2v13.4h-3.2z"/...
src/svg-icons/image/compare.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCompare = (props) => ( <SvgIcon {...props}> <path d="M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1h-2v2zm0 15H5l5-6v6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/> </SvgIcon> ); ImageCo...
views/Enigmas.js
joan17cast/Enigma
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ 'use strict'; import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, TextInput, Image, ListView, } from 'react-native'; import { StackNavigator } from 'react-navigation'; import * as f...
builds/build_ver-2015_08_20-13_15_53/static/js/main.min.js
dumperize/fm
function sendForm(form_DOM,successHandler,errorHandler){jQuery.ajax({url:form_DOM.attr("action"),type:form_DOM.attr("method"),dataType:"json",data:form_DOM.serialize(),success:function(response){if(response.success)form_DOM.find(".error-summary").remove(),successHandler(response);else{form_DOM.find(".error-summary").re...
client/src/containers/Layout/Layout.js
JaredHawkins/TweetGeoViz
import React, { Component } from 'react'; class Layout extends Component { render() { return ( <div className="container"> {this.props.children} </div> ); } } export default Layout;
docs/app/Examples/modules/Accordion/index.js
shengnian/shengnian-ui-react
import React from 'react' import Advanced from './Advanced' import Types from './Types' import Variations from './Variations' import Usage from './Usage' const AccordionExamples = () => ( <div> <Types /> <Variations /> <Usage /> <Advanced /> </div> ) export default AccordionExamples
ajax/libs/mediaelement/2.0.0/jquery.js
ZDroid/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/core-js/0.9.9/core.js
steadiest/cdnjs
/** * Core.js 0.9.9 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******...
SettlementWeb/src/app/pages/sheet/components/columns.js
wjwu/Settlement-React
import React from 'react'; import { Icon, Tag } from 'antd'; import numeral from 'numeral'; import * as colors from '../../../utils/colors'; export const genCostColumns = (editFuc, disabled) => { return [{ title: '名目', dataIndex: 'TypeName', key: 'name', width: '20%' }, { title: '单价', dataIndex: 'Unit', ...
ajax/libs/react-bootstrap/0.22.4/react-bootstrap.js
hanbyul-here/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"] = ...
src/Menu/MenuAnchor.js
kradio3/react-mdc-web
import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; const propTypes = { children: PropTypes.node, className: PropTypes.string, }; const MenuAnchor = ({ children, className, ...otherProps }) => ( <div className={classnames('mdc-menu-anchor', className)} {.....
lib/Hideo.js
halilb/react-native-textinput-effects
import React from 'react'; import PropTypes from 'prop-types'; import { Animated, TextInput, TouchableWithoutFeedback, View, StyleSheet, } from 'react-native'; import BaseInput from './BaseInput'; export default class Hideo extends BaseInput { static propTypes = { /* * this is applied as backgrou...
ajax/libs/yui/3.5.0/datatable-body/datatable-body-debug.js
FaiblUG/cdnjs
YUI.add('datatable-body', function(Y) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isArray, ...
docs/src/pages/components/app-bar/SearchAppBar.js
allanalexandre/material-ui
import React from 'react'; import AppBar from '@material-ui/core/AppBar'; import Toolbar from '@material-ui/core/Toolbar'; import IconButton from '@material-ui/core/IconButton'; import Typography from '@material-ui/core/Typography'; import InputBase from '@material-ui/core/InputBase'; import { fade } from '@material-ui...
packages/wix-style-react/src/MediaOverlay/docs/index.story.js
wix/wix-style-react
import React from 'react'; import { header, tabs, tab, description, importExample, title, divider, example, playground, api, testkit, } from 'wix-storybook-utils/Sections'; import basicExample from '!raw-loader!./examples/basic'; import useCaseExample1 from '!raw-loader!./examples/useCase1'; impo...
src/components/Main.js
genmmao/douyu-react
/* * 文件名: Main * 所属:主页 */ require('styles/App.css'); require('styles/Login.scss'); import React from 'react'; import axios from 'axios'; import DY from '../actions/AppMethods'; import Row from './lib/Row'; import Swiper from './lib/Swiper'; import Header from './lib/Header'; import Live from './lib/Live'; import More...
vendor/htmlburger/carbon-fields/assets/js/fields/components/sidebar/index.js
FolsomCreative/storynav
/** * The external dependencies. */ import React from 'react'; import PropTypes from 'prop-types'; import { compose, withHandlers, setStatic } from 'recompose'; import { trim, find, kebabCase } from 'lodash'; /** * The internal dependencies. */ import { addSidebar } from 'sidebars/actions'; import Field from 'fie...
ajax/libs/react-router/0.12.3/ReactRouter.js
alexmojaki/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["ReactRouter"] = fac...
app/components/AddUser/FranchiseSelect/index.js
prudhvisays/newsb
import React from 'react'; import Select, { Option } from 'rc-select'; import 'rc-select/assets/index.css'; function onDeselect() { console.log(arguments); } export default class FranchiseSelect extends React.Component { //eslint-disable-line constructor(props) { super(props); this.state = { ...
src/DetailsSection/CardList/Layout.js
conferenceradar/list
import React from 'react'; import { GriddleWrapper, Left, Right, TopWrapper, CenteredPagination } from './styles'; const Layout = ({ Table, Pagination, Filter }) => ( <GriddleWrapper> <TopWrapper> <Left> <Filter /> </Left> <Right> <Pagination /> </Right> </To...
v8/development/node_modules/eslint-config-airbnb/test/test-react-order.js
BigBoss424/portfolio
import test from 'tape'; import { CLIEngine } from 'eslint'; import eslintrc from '..'; import reactRules from '../rules/react'; import reactA11yRules from '../rules/react-a11y'; const cli = new CLIEngine({ useEslintrc: false, baseConfig: eslintrc, rules: { // It is okay to import devDependencies in tests. ...
src/components/home/HomePage.js
compumike08/GitHub_Status_API_GUI
import React from 'react'; import OAuthSignInButton from '../oauth/OAuthSignInButton'; import ReposContainer from '../repos/ReposContainer'; class HomePage extends React.Component { constructor(props, context) { super(props, context); } render() { return ( <div> <div className="row"...
client/app/scripts/charts/node-shape-stack.js
alban/scope
import React from 'react'; import { NODE_BASE_SIZE } from '../constants/styles'; export default function NodeShapeStack(props) { const verticalDistance = NODE_BASE_SIZE * (props.contrastMode ? 0.12 : 0.1); const verticalTranslate = t => `translate(0, ${t * verticalDistance})`; const Shape = props.shape; // S...
docs/app/components/logo/index.js
react-toolbox/react-toolbox
import React from 'react'; import PropTypes from 'prop-types'; import style from './style.css'; const Logo = (props) => { let className = style.logo; if (props.className) className += ` ${props.className}`; return ( <svg className={className} viewBox="0 0 144 131"> <g> <path d="M118.954,87.235...
src/svg-icons/image/straighten.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageStraighten = (props) => ( <SvgIcon {...props}> <path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z"/> </SvgIcon> ); ImageStr...
frontend/src/components/CameraSegmentBuilderCarousel.js
WildflowerSchools/sensei
import React from 'react'; import _ from 'lodash'; import { Carousel } from 'react-bootstrap'; import {getSenseiToken, baseUrl, vantagePoints} from './../constants'; import { Preload } from 'react-preload'; import moment from 'moment'; import { parsePhotoSegmentTimestamp } from './../utils'; import momentTimezoneSetup...
ajax/libs/qooxdoo/2.1/q.js
the-destro/cdnjs
/** qooxdoo v.2.1 | (c) 2012 1&1 Internet AG 1und1.de | qooxdoo.org/license */ (function(){ if (!window.qx) window.qx = {}; var qx = window.qx; if (!qx.$$environment) qx.$$environment = {}; var envinfo = {"json":true,"qx.application":"library.Application","qx.debug":false,"qx.debug.databinding":false,"qx.debug.dispose...
source/components/DataHandler/DataHandler.js
cloud-walker/react-inspect
import React from 'react' import is from 'ramda/src/is' import pipe from 'ramda/src/pipe' import addIndex from 'ramda/src/addIndex' import map from 'ramda/src/map' import keys from 'ramda/src/keys' import stripFunction from '../../utils/stripFunction' import Level from '../Level' import Punctuation from '../Punctuatio...
docs/src/app/components/pages/components/FlatButton/ExampleSimple.js
ArcanisCz/material-ui
import React from 'react'; import FlatButton from 'material-ui/FlatButton'; const FlatButtonExampleSimple = () => ( <div> <FlatButton label="Default" /> <FlatButton label="Primary" primary={true} /> <FlatButton label="Secondary" secondary={true} /> <FlatButton label="Disabled" disabled={true} /> </...
src/components/options/Settings.js
svrnm/demomonkey
import React from 'react' import ToggleButton from 'react-toggle-button' import PropTypes from 'prop-types' import JSZip from 'jszip' import AceEditor from 'react-ace' import Synchronization from './setting/Synchronization' import 'brace/theme/textmate' import 'brace/mode/ini' import 'brace/ext/searchbox' class Setti...
src/renderers/dom/client/utils/__tests__/getNodeForCharacterOffset-test.js
miaozhirui/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...
src/svg-icons/device/battery-charging-20.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBatteryCharging20 = (props) => ( <SvgIcon {...props}> <path d="M11 20v-3H7v3.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V17h-4.4L11 20z"/><path fillOpacity=".3" d="M15.67 4H14V2h-4v2H8.33C7.6 4 ...
node_modules/react-native/local-cli/templates/HelloNavigation/components/ListItem.js
solium/swift-react-native-hybrid
'use strict'; import React, { Component } from 'react'; import { Platform, StyleSheet, Text, TouchableHighlight, TouchableNativeFeedback, View, } from 'react-native'; /** * Renders the right type of Touchable for the list item, based on platform. */ const Touchable = ({onPress, children}) => { const c...
react-poc-guests/app/components/GuestsTable/index.js
Meesayen/react-poc
/** * * GuestsTable * */ import React from 'react'; import { Link } from 'react-router'; import Table from 'react-bootstrap/lib/Table'; import styles from './styles.css'; function GuestsTable(props) { return ( <Table striped bordered hover > <thead> <tr> <th>Name</...
ajax/libs/core-js/0.9.10/library.js
tholu/cdnjs
/** * Core.js 0.9.10 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2015 Denis Pushkarev */ !function(undefined){ 'use strict'; var __e = null, __g = null; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /*****...
manager/js/components/common/Spinner.js
dunkvalio/ReactNative
import React from 'react'; import { View, ActivityIndicator } from 'react-native'; const Spinner = ({ size }) => { return ( <View style={styles.spinnerStyle}> <ActivityIndicator size={size || 'large'} /> </View> ); }; const styles = { spinnerStyle: { flex: 1, justifyContent: 'center', ...
fields/types/number/NumberColumn.js
dryna/keystone-twoje-urodziny
import React from 'react'; import numeral from 'numeral'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var NumberColumn = React.createClass({ displayName: 'NumberColumn', propTypes: { col: React.PropTypes.object, data: React.PropTyp...
ajax/libs/material-ui/5.0.0-alpha.13/node/TextareaAutosize/TextareaAutosize.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _extends2 = _interopRequireDefaul...
src/content/index.js
Vision100IT/v100it-template
import React from 'react'; import FaFacebookSquare from 'react-icons/lib/fa/facebook-square'; import FaTwitterSquare from 'react-icons/lib/fa/twitter-square'; import boardMembers from './board-members'; import teamMembers from './team-members'; export default { boardMembers, teamMembers, hero: { tagline: '# Can a...
ajax/libs/F2/1.3.2/f2.no-easyXDM.min.js
warpech/cdnjs
/*! F2 - v1.3.2 - 11-18-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
src/Transition.js
simonliubo/react-ui
import React from 'react'; import TransitionEvents from './utils/TransitionEvents'; import classnames from 'classnames'; export const UNMOUNTED = 0; export const EXITED = 1; export const ENTERING = 2; export const ENTERED = 3; export const EXITING = 4; class Transition extends React.Component { constructor(props, c...
src/components/discover/todo-list/view/DoneListTitle.js
phodal/growth-ng
import React, { Component } from 'react'; import { View, Text } from 'react-native'; import AppStyle from '../../../../theme/styles'; class DoneListTitle extends Component { static componentName = 'DoneListTitle'; render() { return ( <View style={AppStyle.titleVerticalCenterColorGrayStyle} ...
src/svg-icons/av/playlist-add.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlaylistAdd = (props) => ( <SvgIcon {...props}> <path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zm4 8v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM2 16h8v-2H2v2z"/> </SvgIcon> ); AvPlaylistAdd = pure(AvPlaylistAdd); AvPlaylistAdd...
tp-4/sebareverso/src/pages/users/Formulario.js
jpgonzalezquinteros/sovos-reactivo-2017
import React from 'react'; import { Modal, Input } from 'antd'; const { TextArea } = Input; class Formulario extends React.Component { state = { id:null, name: '', username:'', email:'' } componentWillMount() { this.props.actions.fetchPost(1); } handleOk = () => { this.setState...
envkey-react/src/containers/import_env_container.js
envkey/envkey-app
import React from 'react' import { connect } from 'react-redux' import h from "lib/ui/hyperscript_with_helpers" import R from 'ramda' import {secureRandomAlphanumeric} from 'lib/crypto' import { parseMultiFormat } from 'lib/parse' import { importerPlaceholder } from 'lib/env/imports' import { importSingleEnvironment } ...
node_modules/antd/es/badge/index.js
ZSMingNB/react-news
import _extends from 'babel-runtime/helpers/extends'; import _defineProperty from 'babel-runtime/helpers/defineProperty'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possib...
ajax/libs/reactive-coffee/0.0.1/reactive-coffee.min.js
jakubfiala/cdnjs
!function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L={}.hasOwnProperty,M=function(a,b){function c(){this.constructor=a}for(var d in b)L.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},N=[].slice,O=[].indexOf||function(a){for(var b...
yycomponent/dropdown/Button.js
77ircloud/yycomponent
import React from 'react'; import { Dropdown } from 'antd'; class Button extends React.Component{ constructor(props){ super(props); } static defaultProps={ trigger:[document.body.ontouchstart===undefined?'hover':'click'] } render() { return (<Dropdown.Button {...this.props}/>); } } export defa...
src/svg-icons/action/invert-colors.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionInvertColors = (props) => ( <SvgIcon {...props}> <path d="M17.66 7.93L12 2.27 6.34 7.93c-3.12 3.12-3.12 8.19 0 11.31C7.9 20.8 9.95 21.58 12 21.58c2.05 0 4.1-.78 5.66-2.34 3.12-3.12 3.12-8.19 0-11.31zM12 1...
client/node_modules/react-router/es/IndexLink.js
UnicornCollege/ucl.itkpd.configurator
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]; } } } return target; }; import React from 'react'; import Link from './Link'; /** *...
ajax/libs/zone.js/0.8.13/zone.js
him2him2/cdnjs
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory() : typeof define ==...
renderer/components/TextEditorPane.js
reactide/reactide
import React from 'react'; import TextEditor from './TextEditor'; import TabContainer from './TabContainer'; import PropTypes from 'prop-types'; const TextEditorPane = ({ appState, setActiveTab, closeTab, onEditorValueChange, cbOpenSimulator_Main, cbOpenSimulator_Ext }) => { // const editorArr = []; // if (Object....