path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
imports/ui/pages/Login/Login.js
jamiebones/Journal_Publication
import React from 'react'; import { Row, Col, FormGroup, ControlLabel, Button , Alert } from 'react-bootstrap'; import PropTypes from 'prop-types'; import { Link } from 'react-router-dom'; import { Meteor } from 'meteor/meteor'; import { Bert } from 'meteor/themeteorchef:bert'; import OAuthLoginButtons from '../../comp...
client/modules/App/__tests__/App.spec.js
denistakeda/botboard
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import { shallow, mount } from 'enzyme'; import { App } from '../App'; import styles from '../App.css'; import { intlShape } from 'react-intl'; import { intl } from '../../../util/react-intl-test-helper'; import { toggleAddPost } from '../App...
ajax/libs/analytics.js/2.2.2/analytics.min.js
aaqibrasheed/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
src/Tab/TabPane.js
yurizhang/ishow
import React from 'react'; import PropTypes from 'prop-types'; import {default as Component} from '../Common/plugs/index.js'; //提供style, classname方法 import '../Common/css/Tabs.css'; export default class TabPane extends Component { render(){ return ( <div style={this.style()} className={this.className('ish...
client/modules/App/components/Navbar.js
jeojoe/emplist
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; import c from 'classnames'; import Logo from './Logo'; import s from './Navbar.css'; import { switchLanguage } from '../../Intl/IntlActions'; const Navbar = ({ dispatch, intl }) => ( <div id={s.navbar}> <div c...
frontend/src/screens/history/widgets/table-history/ccd-selector/ccd-selector.js
desihub/qlf
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import Typography from '@material-ui/core/Typography'; import Popover from '@material-ui/core/Popover'; import QlfApi from '../../../../../containers/offline/connection/qlf-api'; const styles = theme =...
packages/material-ui-icons/src/DirectionsBike.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3....
test/ButtonGroupSpec.js
apkiernan/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react-addons-test-utils'; import ReactDOM from 'react-dom'; import ButtonGroup from '../src/ButtonGroup'; import Button from '../src/Button'; import {shouldWarn} from './helpers'; describe('ButtonGroup', () => { it('Should output a button group', () => { l...
app/javascript/mastodon/features/ui/components/bundle.js
im-in-space/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const emptyComponent = () => null; const noop = () => { }; class Bundle extends React.PureComponent { static propTypes = { fetchComponent: PropTypes.func.isRequired, loading: PropTypes.func, error: PropTypes.func, children: PropTypes.fu...
src/components/home/__tests__/WeatherLater-test.js
emkarumbi/WeatherPrac
import 'react-native'; import React from 'react'; import WeatherLater from '../WeatherLater'; import renderer from 'react-test-renderer'; import data from './data' import sinon from 'sinon' describe('Weather later', () => { const mock = { place: 'TestPlace', weather: 'snowing hard', temperature: '23', ...
tests/react_imports/es-default.js
popham/flow
import React from 'react'; (React.Component: Object); // OK (React.Component: number); // Error ('Hello, world!': React.Node); // Error: Not in default export. ({}: React.Node); // Error: Not in default export. (null: React.Missing); // Error: Not in default export.
docs/app/Examples/modules/Progress/States/Error.js
jcarbo/stardust
import React from 'react' import { Progress } from 'stardust' const ProgressErrorExample = () => ( <Progress percent={100} error> There was an error </Progress> ) export default ProgressErrorExample
src/js/pages/SkillsetPage.js
levadadenys/graphic-designer-portfolio-react
import React from 'react'; import skills from './../../imgs/skills.jpg'; class SkillsetPage extends React.PureComponent { render () { return ( <div className="col-md-10 col-xs-12 col-sm-12 "> <img src={skills} alt="placeholder" style={{ width: '100%', height: '100%' }} /...
app/talk/components/ViewMore.js
Jawnkuin/electron-618-im
import React from 'react'; import { Icon } from 'antd'; import PropTypes from 'prop-types'; import { getHistoryMessages } from '../apis'; import styles from './ViewMore.less'; const ViewMore = ({ sessionId, endId, hasHistory }) => ( <div className={styles.ViewMore} onClick={() => { if (!hasHistory) { ...
packages/react-cookie-demo/src/server.js
reactivestack/cookies
import React from 'react'; import ReactDOMServer from 'react-dom/server'; import { CookiesProvider } from 'react-cookie'; import Html from './components/Html'; import App from './components/App'; export default function middleware(req, res) { const markup = ReactDOMServer.renderToString( <CookiesProvider cookie...
app/javascript/mastodon/components/missing_indicator.js
lynlynlynx/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import illustration from 'mastodon/../images/elephant_ui_disappointed.svg'; import classNames from 'classnames'; const MissingIndicator = ({ fullPage }) => ( <div className={classNames('regeneration-indicato...
files/react/0.12.2/react-with-addons.min.js
ndamofli/jsdelivr
/** * React (with addons) v0.12.2 * * Copyright 2013-2014, 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...
src/components/Link/Link.js
hrnik/roofbar
import React from 'react' import PropTypes from 'prop-types' import { Link as RouterLink } from 'react-router' import classNames from 'classnames' import './Link.scss' const Link = ({ to, children, className }) => { return ( <RouterLink to={to} className={classNames('link', className)}> {children} </R...
ajax/libs/rxjs/2.4.10/rx.all.js
nolsherry/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/rxjs/2.3.9/rx.lite.js
tengyifei/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...
app/components/Admin/Product/CreateProduct/index.js
VineRelay/VineRelayStore
import React from 'react'; import { createFragmentContainer, graphql } from 'react-relay'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; import BrandSelector from 'app/components/Admin/Brand...
ajax/libs/vis/0.6.1/vis.js
sitic/cdnjs
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 0.6.1 * @date 2014-03-06 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file e...
src/NavBarComponents/SetPresidenteItem.js
yoLUkAsss/DEscrutinio
/** * React utilities */ import React, { Component } from 'react' import { Menu } from 'semantic-ui-react' import {Link} from 'react-router-dom' /** * Components */ /** * Controller for Component */ import cookie from 'react-cookies' import * as currentUser from '../utils/user_session.js' class SetPresidenteIte...
3_compress_ensure_render/component/details/index.js
chkui/react-server-demo
import React from 'react' import SearchInput from '../common/searchInput' import Result from './result' import {connect} from '../../util/store' import {requestList, cleanList} from './reducer' import getFetch from '../../util/fetch' const cn = require('classnames/bind').bind(require('./index.scss')) const SelectList...
test/PaginationSpec.js
collinwu/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Pagination from '../src/Pagination'; describe('Pagination', function () { it('Should have class', function () { let instance = ReactTestUtils.renderIntoDocument( <Pagination>Item content</Pagination> ); assert....
docs/demo/client/index.js
gramiro/react-infinite-masonry
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App.jsx'; ReactDOM.render(<App />, document.getElementById('root'));
src/SubRouterFactory.js
TransferGo/react-subrouter
import React from 'react'; import SubRouter from './SubRouter.js'; function SubRouterFactory(routes, defaultRoute){ class Index extends SubRouter { constructor(props, state){ super(props, state, routes, defaultRoute); } } Index.childContextTypes = { isActive: React.Pr...
app/static/Cesium/node_modules/core-js/library/modules/es6.promise.js
sylarcp/anita
'use strict'; var LIBRARY = require('./_library') , global = require('./_global') , ctx = require('./_ctx') , classof = require('./_classof') , $export = require('./_export') , isObject = require('./_is-object') , aFunction = req...
packages/material-ui-icons/src/PanToolTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M19.5 5.65c-.28 0-.5.22-.5.5V12h-2V3.42c0-.28-.22-.5-.5-.5s-.5.22-.5.5V12h-2V2.51c0-.28-.22-.5-.5-.5s-.5.22-.5.5V12h-2V4.79c0-.28-.22-.5-.5-.5s-.5.23-.5.5v12.87l-5.35-2.83-.51.45 5.86 ...
js/jqwidgets/demos/react/app/tooltip/popover/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxTooltip from '../../../jqwidgets-react/react_jqxtooltip.js'; import JqxButton from '../../../jqwidgets-react/react_jqxbuttons.js'; class App extends React.Component { componentDidMount() { let toggle = false; this.refs.toggleTo...
src/components/Post/Author/Author.js
apalhu/website
// @flow strict import React from 'react'; import { getContactHref } from '../../../utils'; import styles from './Author.module.scss'; import { useSiteMetadata } from '../../../hooks'; const Author = () => { const { author } = useSiteMetadata(); return ( <div className={styles['author']}> <p className={...
src/renderers/dom/shared/DOMProperty.js
perperyu/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. * * @providesModule ...
node_modules/browser-sync/node_modules/chokidar/node_modules/fsevents/node_modules/debug/src/browser.js
jimolina/bakeangular
/** * This is the web browser implementation of `debug()`. * * Expose `debug()` as the module. */ exports = module.exports = require('./debug'); exports.log = log; exports.formatArgs = formatArgs; exports.save = save; exports.load = load; exports.useColors = useColors; exports.storage = 'undefined' != typeof chrom...
ajax/libs/6to5/2.7.2/browser.js
mgoldsborough/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...
examples/shared-root/app.js
nauzethc/react-router
import React from 'react'; import { Router, Route, Link } from 'react-router'; var App = React.createClass({ render() { return ( <div> <p> This illustrates how routes can share UI w/o sharing the URL. When routes have no path, they never match themselves but their chil...
ajax/libs/videomail-client/1.27.11/videomail-client.js
sufuf3/cdnjs
require=(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)...
ajax/libs/yui/3.9.1/event-focus/event-focus-min.js
fk/cdnjs
YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_useActivate:o,_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(...
ajax/libs/yui/3.1.2/event-custom/event-custom-base.js
ducin/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
reactJsNew_2_实战/app/js/main.js
hiyangguo/Front-Demo
/** * Created by yangguo on 2015/9/9 0009. */ var React = require('react'); var QuestionApp = require('./components/QuestionApp.js') var mainCom = React.render( <QuestionApp />, document.getElementById("app") );
internals/templates/appContainer.js
sedubois/belong
/** * * App.react.js * * This component is the skeleton around the actual pages, and should only * contain code that should be seen on all pages. (e.g. navigation bar) * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If...
frontend/eyeballing/src/components/ChooseContrast.js
linea-it/dri
import React from 'react'; import PropTypes from 'prop-types'; import DialogTitle from '@material-ui/core/DialogTitle'; import Dialog from '@material-ui/core/Dialog'; import RadioGroup from '@material-ui/core/RadioGroup'; import Radio from '@material-ui/core/Radio'; import FormControlLabel from '@material-ui/core/FormC...
tutorials06/App.js
Ivanwangcy/webpack-react-tutorials
import React, { Component } from 'react'; export default class App extends Component { render() { return ( <h1>Hello ES6, Hello React, Hello World</h1> ); } }
src/components/Header.js
nikolay-is/jsappproject
import React from 'react'; class Header extends React.Component { render() { return ( <div className='header-div col-sm-12'> <div className='nav-links col-sm-9'> { this.props.children } </div> <div className='col-sm-3 greeter'> { this.props.isLoggedIn...
src/svg-icons/notification/power.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPower = (props) => ( <SvgIcon {...props}> <path d="M16.01 7L16 3h-2v4h-4V3H8v4h-.01C7 6.99 6 7.99 6 8.99v5.49L9.5 18v3h5v-3l3.5-3.51v-5.5c0-1-1-2-1.99-1.99z"/> </SvgIcon> ); NotificationPower = pu...
scripts/publish-npm.js
rickbeerendonk/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...
react-ui/src/modules/Bars/components/Placeholder/index.js
bhefty/nightlife-app
import React from 'react' const Placeholder = () => { return ( <div> <svg fill="#d3d3d3" height="150" viewBox="0 0 24 24" width="150" xmlns="http://www.w3.org/2000/svg"> <path d="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"/> <path d="M0 0h24v24H0z" fill="none...
app/bower_components/bootstrap-sass/docs/assets/js/jquery.js
bwinton/fezify
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
packages/showcase/misc/triangle-example.js
uber-common/react-vis
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // 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, modify...
ajax/libs/6to5/3.3.4/browser-polyfill.js
fatso83/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...
client/src/index2.js
atflowers/pantryraid
import React from 'react'; import { render } from 'react-dom'; // import { Router, browserHistory } from 'react-router'; import { BrowserRouter } from 'react-router-dom'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import { createStore, applyMiddleware, compose } from 'redux'; import rootRe...
src/components/copy-button/test/index.js
unindented/palette-creator
import React from 'react' import CopyButton from 'components/copy-button' import {render} from 'utils/test' describe('CopyButton', function () { describe('with a loading image', function () { beforeEach(function () { const image = new Image() this.element = render(<CopyButton format='hex' image={imag...
packages/material-ui-icons/src/SignalCellularConnectedNoInternet3Bar.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SignalCellularConnectedNoInternet3Bar = props => <SvgIcon {...props}> <path fillOpacity=".3" d="M22 8V2L2 22h16V8z" /><path d="M17 22V7L2 22h15zm3-12v8h2v-8h-2zm0 12h2v-2h-2v2z" /> </SvgIcon>; SignalCe...
node_modules/react-icons/io/ios-minus-outline.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosMinusOutline = 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 m0 31.1c8.2 0 14.9-6.7 14.9-14.9s-6.7-14.9-14.9-14.9-15 6.7-15 1...
app/components/App.js
klikstermkd/react-starter-kit
import React from 'react'; import { Link } from 'react-router'; const App = ({ children }) => ( <div> <ul> <li><Link to="/page-1">Page 1</Link></li> <li><Link to="/page-2">Page 2</Link></li> </ul> <div>{ children }</div> </div> ); export default App;
src/components/pages/home/Home.js
HHPnet/frontend
import React from 'react' import Row from 'react-bootstrap/lib/Row' import Col from 'react-bootstrap/lib/Col' export default class Home extends React.Component { render() { return ( <Row> <Col xs={12}> Home </Col> </Row> ) ...
style-guide/src/pages/otkit-borders.js
lastquestion/design-tokens
import React from 'react'; import _ from 'lodash'; import SectionHeader from '../components/section-header'; import token from 'otkit-borders/token.common'; const Borders = () => { var tokens = _.toPairsIn(token); tokens = tokens.map((token, index) => { return ( <div key={index}> {_.kebabCase(t...
src/svg-icons/image/filter-center-focus.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterCenterFocus = (props) => ( <SvgIcon {...props}> <path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 9...
src/components/SettingsMenu/Sections/VisualPreferences.js
codaco/Network-Canvas
import React from 'react'; import { connect } from 'react-redux'; import { compose } from 'recompose'; import { motion } from 'framer-motion'; import { Toggle } from '@codaco/ui/lib/components/Fields'; import { isElectron, isCordova, isIOS } from '../../../utils/Environment'; import { actionCreators as deviceSettingsAc...
src/app/atoms/Checkbox.react.js
blueberryapps/react-bluekit
import Component from '../PureRenderComponent.react'; import Radium from 'radium'; import React from 'react'; import RPT from 'prop-types'; import * as colors from '../styles/Colors'; @Radium export default class Checkbox extends Component { static propTypes = { label: RPT.string, name: RPT.string.is...
node_modules/eslint/lib/eslint.js
swapnilabnave/swapnilabnave.github.io
/** * @fileoverview Main ESLint object. * @author Nicholas C. Zakas */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const assert = require("assert"), EventEmitter ...
frontend/src/components/primitives/Icon/DocumentReport.js
dreamyguy/gitinsight
import * as React from 'react'; function DocumentReportIcon(props) { return ( <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" {...props} > <path strokeLinecap="round" strokeLinejoin="round" strokeWidth={...
src/layouts/CoreLayout/CoreLayout.js
traptrilliams/kings
import React from 'react'; import classes from './CoreLayout.scss'; import '../../styles/core.scss'; export const CoreLayout = ({ children }) => ( <div className={classes.mainContainer}> {children} </div> ) CoreLayout.propTypes = { children: React.PropTypes.element.isRequired } export default CoreLayout
node_modules/browser-sync/node_modules/rx/dist/rx.lite.compat.js
clitrader/angular_quickstart
// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; function checkGlobal(value) { return (value && value.Object === Object) ? value : null; } var freeExpor...
src/containers/Turn.js
jonstuebe/farkle
import React from 'react'; import Reflux from 'reflux'; import history from '../history'; import PlayersStore from '../stores/PlayersStore'; import PlayersActions from '../actions/PlayersActions'; import TitleBar from '../components/TitleBar'; import ListItems from '../components/ListItems'; import ListItem from '../...
client/modules/Calendar/__tests__/components/PostListItem.spec.js
sethkaufee/TherapyApp
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import PostListItem from '../../components/PostListItem/PostListItem'; import { mountWithIntl, shallowWithIntl } from '../../../../util/react-intl-test-helper'; const post = { name: 'Prashant', title: 'Hello Mern', slug: 'hello-mern', cuid: ...
app/javascript/mastodon/features/compose/components/upload_button.js
h-izumi/mastodon
import React from 'react'; import IconButton from '../../../components/icon_button'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 're...
src/components/containers/shen-wen-suo-board-market-container.js
HuangXingBin/goldenEast
import React from 'react'; import { Button, AutoComplete ,DatePicker } from 'antd'; import './user-list-container.css'; import UserListTable from '../views/user-details-board-market-table'; import { connect } from 'react-redux'; import SearchInput from '../views/SearchInput'; import store from '../../store'; import { u...
ajax/libs/forerunnerdb/1.3.647/fdb-core.js
sreym/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...
actor-apps/app-web/src/app/components/sidebar/HeaderSection.react.js
hardikamal/actor-platform
import _ from 'lodash'; import React from 'react'; import mixpanel from 'utils/Mixpanel'; import ReactMixin from 'react-mixin'; import { IntlMixin, FormattedMessage } from 'react-intl'; import classNames from 'classnames'; import MyProfileActions from 'actions/MyProfileActions'; import LoginActionCreators from 'action...
theme/src/components/productDetails/discountCountdown.js
cezerin/cezerin
import React from 'react'; import { NavLink } from 'react-router-dom'; import { themeSettings, text } from '../../lib/settings'; export default class DiscountCountdown extends React.Component { constructor(props) { super(props); this.state = { timer: null, diff: null }; } componentDidMount() { let ti...
components/Deck/ContentPanel/ContentActions/ContentActionsHeader.js
slidewiki/slidewiki-platform
import PropTypes from 'prop-types'; import React from 'react'; import { NavLink, navigateAction } from 'fluxible-router'; import classNames from 'classnames/bind'; import { connectToStores } from 'fluxible-addons-react'; import Util from '../../../common/Util'; import DeckTreeStore from '../../../../stores/DeckTreeStor...
files/rxjs/2.4.7/rx.lite.compat.js
firulais/jsdelivr
// 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 }; v...
vendor/jquery/jquery.js
tudev/tudev.github.io
/*! * 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 =...
test/SplitButtonSpec.js
pivotal-cf/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import SplitButton from '../src/SplitButton'; import MenuItem from '../src/MenuItem'; import Button from '../src/Button'; describe('SplitButton', function() { const simple = ( <SplitButton title='Title' id='test-id'> <MenuIte...
app/components/FullScreen/index.js
54vanya/ru-for-you-front
import React from 'react'; import styled from 'styled-components'; const Wrapper = styled.div` position: fixed; top:0; bottom:0; right: 0; left: 0; background-color: fade(@bg-color, 50%); z-index: 100; display:flex; `; const Child = styled.div` margin: auto; `; const FullScreenElement = ({ children...
react/gameday2/components/embeds/EmbedTwitch.js
verycumbersome/the-blue-alliance
import React from 'react' import { webcastPropType } from '../../utils/webcastUtils' const EmbedTwitch = (props) => { const channel = props.webcast.channel const iframeSrc = `https://player.twitch.tv/?channel=${channel}` return ( <iframe src={iframeSrc} frameBorder="0" scrolling="no" ...
src/factory/WidgetComponentFactory.js
rocket-internet-berlin/RocketDashboard
import React from 'react'; import get from 'lodash/get'; import Number from '../widgets/Number/components/Number'; import History from '../widgets/History/components/History'; import Breakdown from '../widgets/Breakdown/components/Breakdown'; import Funnel from '../widgets/Funnel/components/Funnel'; import Text from '...
example/pages/progress/index.js
woshisbb43/coinMessageWechat
/** * Created by jf on 15/12/10. */ "use strict"; import React from 'react'; import {Button, Progress} from '../../../build/packages'; import Page from '../../component/page'; export default class ProgressDemo extends React.Component { state = { value: 0, timer: null, isUploading: fals...
ajax/libs/6to5/3.5.3/browser-polyfill.js
andersem/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...
index.ios.js
databake/BankAccount
import {Provider} from 'react-redux'; import store from './src/redux/store'; import AppViewContainer from './src/modules/AppViewContainer'; import React from 'react'; import {AppRegistry} from 'react-native'; const BankAccount = React.createClass({ render() { return ( <Provider store={store}> <Ap...
src/components/TriggerCategory.spec.js
maartenplieger/GeoWeb-FrontEnd
import React from 'react'; import TriggerCategory from './TriggerCategory'; import { mount } from 'enzyme'; describe('(Container) TriggerCategory', () => { it('Renders a TriggerCategory', () => { const _component = mount(<TriggerCategory icon='star' />); expect(_component.type()).to.eql(TriggerCategory); }...
WorldMoodTracker/js/components/Footer.js
kavithaenair/kavithaenair.github.io
import React from 'react'; import styles from '../../../css/bootstrap.min.css'; import custom from '../../css/style.css'; export default class Footer extends React.Component { render() { return ( <footer> <div className={styles.container}> <div className={[st...
src/svg-icons/hardware/videogame-asset.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareVideogameAsset = (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-2zm-10 7H8v3H6v-3H3v-2h3V8h2v3h3v2zm4.5 2c-.83 0-1.5-.67-1.5-1.5s.67-...
src/app/components/Groups/Badge.js
sphinxominator/councils-feathers
import React from 'react' import styled from 'styled-components' const Badge = ({ name, color, id, onClick, active, showLetter }) => <Container onClick={() => onClick && onClick(id)} active={active} color={color} > {showLetter && <Letter color={color} active={active}> {name.charAt(0)}...
packages/icons/src/md/maps/Map.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdMap(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M41 6c.55 0 1 .45 1 1v30.24c0 .46-.3.82-.72.97L30 42l-12-4.2-10.69 4.15A1.003 1.003 0 0 1 6 41V10.76c0-.46.31-.82.73-.96L18 6l12 4.2 10.69-4.15c.1-.04.2-...
es/components/RoomUserList/Row.js
welovekpop/uwave-web-welovekpop.club
import _extends from "@babel/runtime/helpers/builtin/extends"; import _jsx from "@babel/runtime/helpers/builtin/jsx"; import cx from 'classnames'; import React from 'react'; import PropTypes from 'prop-types'; import compose from 'recompose/compose'; import withProps from 'recompose/withProps'; import ListItem from "@m...
assets/javascripts/kitten/components/layout/sticky-container/test.js
KissKissBankBank/kitten
import React from 'react' import renderer from 'react-test-renderer' import { StickyContainer } from './index' describe('<StickyContainer />', () => { let component describe('by default', () => { beforeEach(() => { component = renderer.create(<StickyContainer />).toJSON() }) it('matches with sn...
node_modules/react-router/es6/RoutingContext.js
cylcharles/webpack
'use strict'; 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; }; function _classCallCheck(instance, Constructor...
actor-apps/app-web/src/app/components/modals/create-group/Form.react.js
Just-D/actor-platform
import _ from 'lodash'; import Immutable from 'immutable'; import keymirror from 'keymirror'; import React from 'react'; import { Styles, TextField, FlatButton } from 'material-ui'; import CreateGroupActionCreators from 'actions/CreateGroupActionCreators'; import ContactStore from 'stores/ContactStore'; import Cont...
test/compoents/compoents.js
kris1226/clymer-metal-crafts
import expect from 'expect'; import React from 'react'; import TestUtils from 'react-addons-test-utils';
src/esm/components/graphics/icons-next/window-edit-icon-next/index.js
KissKissBankBank/kitten
import _extends from "@babel/runtime/helpers/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose"; var _excluded = ["color", "title"]; import React from 'react'; import PropTypes from 'prop-types'; export var WindowEditIconNext = function WindowEditIconNext(_ref) { ...
react-flux-mui/js/material-ui/src/svg-icons/image/view-comfy.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageViewComfy = (props) => ( <SvgIcon {...props}> <path d="M3 9h4V5H3v4zm0 5h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zM8 9h4V5H8v4zm5-4v4h4V5h-4zm5 9h4v-4h-4v4zM3 19h4v-4H3v4zm5 0h4v-4H8v4zm5 0h4v-4h-4v4zm5 0h4v-...
app/components/footer.js
jorsh/react-seed
import React from 'react' export default (props) => (<footer> Footer </footer>)
_experiment/react-fetch-github-repo/v3-stable/src/App.js
David-Castelli/react-testing
import React from 'react'; import {render} from 'react-dom'; import ReposList from './ReposList'; // init repos Array let repos = [] // Create generic App Component class App extends React.Component { render() { return ( <div> <h1>iGenius repositories</h1> <ReposList repos={this.props.repos}/> </div> ...
third_party/closure/goog/ui/container.js
GorK-ChO/selenium
// Copyright 2007 The Closure Library Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 // // Unless requ...
ui/web/components/chat.js
Sebi55/whatkindofdeveloperareyou
import React from 'react' import ReactDOM from 'react-dom' import io from 'socket.io-client' import MessageList from './message-list' import Composer from './composer' import ChatSession from './chat-session' import Dropzone from 'react-dropzone' // FIXME: // - Update open to use dropzone // - dropzone hover effect //...
src/client/controllers/deletion.js
bookbrainz/bookbrainz-site
/* * Copyright (C) 2016 Sean Burke * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distri...
ajax/libs/rxjs/2.4.10/rx.js
sitic/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 }; ...
docs/app/Examples/collections/Grid/Variations/GridExamplePaddedVertically.js
clemensw/stardust
import React from 'react' import { Grid, Image } from 'semantic-ui-react' const GridExamplePaddedVertically = () => ( <div> <p>The following grid has vertical gutters.</p> <Grid columns={2} padded='vertically'> <Grid.Column> <Image src='http://semantic-ui.com/images/wireframe/paragraph.png' />...
frontend/src/components/login/loginToken.js
unicef/un-partner-portal
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { browserHistory as history } from 'react-router'; import { connect } from 'react-redux'; import { compose } from 'redux'; import { withStyles } from 'material-ui/styles'; import { loadUserData, loginSuccess } from '../../reducers/sess...