path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
packages/lore-react-forms-material-ui/src/fields/select.js
lore/lore-forms
import React from 'react'; import _ from 'lodash'; import { Field } from 'lore-react-forms'; import { SelectField, MenuItem } from 'material-ui'; import { Connect } from 'lore-hook-connect'; export default function(form, props, name) { const { options, optionLabel, ...other } = props; return ( <...
ajax/libs/rxjs/2.3.2/rx.lite.compat.js
featurist/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...
src/client/containers/VRpage/VRpage.js
sisforserrgio/sisforserrgio.github.io
import React from 'react'; import { Link } from 'react-router'; import MenuButton from '../../components/MenuButton/MenuButton.js'; import './VRpage.css'; export default class VRpage extends React.Component { render() { return ( <div className="VRpage"> <Link to="menu"> <MenuButton id={t...
ajax/libs/webshim/1.15.2/dev/shims/moxie/js/moxie-html4.js
iros/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
ajax/libs/yui/3.10.3/scrollview-base/scrollview-base-debug.js
hpneo/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
ajax/libs/react-instantsearch/4.0.5/Connectors.min.js
him2him2/cdnjs
/*! ReactInstantSearch 4.0.5 | © Algolia, inc. | https://community.algolia.com/react-instantsearch/ */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.Connectors=t(require("reac...
docs/pages/api/dialog.js
kybarg/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './dialog.md'; export default function Page() { return <MarkdownDocs markdown={markdown} />; }
blueocean-dashboard/src/main/js/components/stories/pipelines.js
kzantow/blueocean-plugin
/* eslint-disable */ import React from 'react'; import { storiesOf } from '@kadira/storybook'; import PipelineRowItem from '../PipelineRowItem.jsx'; import { PipelineRecord } from '../records.jsx'; import { JTable, TableHeaderRow } from '@jenkins-cd/design-language'; /* First example of using storybook */ storiesOf('...
blueocean-material-icons/src/js/components/svg-icons/av/remove-from-queue.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvRemoveFromQueue = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.11 0-2 .89-2 2v12c0 1.1.89 2 2 2h5v2h8v-2h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2zm0 14H3V5h18v12zm-5-7v2H8v-2h8z"/> </SvgIcon> ); AvRemoveFromQueue.displayName = ...
views/product/app/main.js
Mongoliazhi/Blog
import React from 'react' ; import ReactDOM from 'react-dom' ; import Boss from './boss.js'; import ProductList from './ProductList.js'; import ProductCon from './productCon.js'; import Game from './game.js' import {Router,Route,IndexRoute,hashHistory} from 'react-router'; class WeiboList extends React.Component { ...
src/client/components/hoc/Order/withOrders.hoc.js
DBCDK/content-first
import React from 'react'; import {connect} from 'react-redux'; export const withOrders = WrappedComponent => { const Wrapper = class extends React.Component { render() { return <WrappedComponent {...this.props} />; } }; const mapStateToProps = state => { return { orders: state.orderRedu...
docs/app/Examples/collections/Form/States/FormExampleError.js
mohammed88/Semantic-UI-React
import React from 'react' import { Button, Form, Input, Message } from 'semantic-ui-react' const FormExampleError = () => ( <Form error> <Form.Input label='Email' placeholder='joe@schmoe.com' /> <Message error header='Action Forbidden' content='You can only sign up for an account once with ...
ajax/libs/jquery/1.11.0/jquery.js
hcxiong/cdnjs
/*! * jQuery JavaScript Library v1.11.0 * 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-01-23T21:02Z */ (function( global, factory ) { if ...
packages/material-ui-icons/src/GridOff.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="M8 4v1.45l2 2V4h4v4h-3.45l2 2H14v1.45l2 2V10h4v4h-3.45l2 2H20v1.45l2 2V4c0-1.1-.9-2-2-2H4.55l2 2H8zm8 0h4v4h-4V4zM1.27 1.27L0 2.55l2 2V20c0 1.1.9 ...
app/javascript/mastodon/components/intersection_observer_article.js
PlantsNetwork/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import scheduleIdleTask from '../features/ui/util/schedule_idle_task'; import getRectFromEntry from '../features/ui/util/get_rect_from_entry'; import { is } from 'immutable'; // Diff these props in the "rendered" state const updateOnPropsForRendered = ['id...
e2e-tests/development-runtime/src/pages/query-data-caches/static-query-no-trailing-slash-A-to-B-to-A-link/page-A.js
gatsbyjs/gatsby
import React from "react" import { Link, graphql, useStaticQuery } from "gatsby" import { QueryDataCachesView } from "../../../components/query-data-caches/view" export default function StaticQueryNoTrailingSlashAtoBtoALinkPageA({ path }) { const data = useStaticQuery(graphql` { queryDataCachesJson( ...
assets/www/js/lib/jquery-1.8.2.min.js
carllarsson/hermes
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function (a, b) { function G(a) { var b = F[a] = {}; return p.each(a.split(s), function (a, c) { b[c] = !0 }), b } function J(a, c, d) { if (d === b && a.nodeType === 1) { var e = "data-" + c.replace(I, "-$1").toLowerCas...
docs/src/components/Grid/Grid/index.js
rhalff/storybook
/* eslint-disable react/no-array-index-key */ import React from 'react'; import PropTypes from 'prop-types'; import StackGrid from 'react-stack-grid'; import GridItem from '../GridItem'; const Grid = ({ items, columnWidth }) => ( <StackGrid columnWidth={columnWidth}> {items.map((item, idx) => <GridItem key={idx...
src/routes/Admin/routes/Dashboard/components/charts/Block.js
EricThsi/thsi-react-admin
import React from 'react' import { Col } from 'antd' import { blockIcon } from '../config' import { parseNumber } from '../parseNumber' const Block = props => { const data = props.data const statsData = data.stats let renderData = null if (statsData) { const blockWidth = 24 / data.block.length renderDa...
app/jsx/external_apps/components/AddApp.js
djbender/canvas-lms
/* * Copyright (C) 2014 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
src/components/Link/Link.js
macdja38/pvpsite
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { Component } from 'react'; import PropTypes...
docs/src/components/Playground/Atoms/Tab/Tab.js
seekinternational/seek-asia-style-guide
import styles from './Tab.less'; import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; export default function Tab({ children, selected }) { return ( <h5 className={classnames({ [styles.root]: true, [styles.selected]: selected })}> ...
src/svg-icons/social/location-city.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialLocationCity = (props) => ( <SvgIcon {...props}> <path d="M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h...
node_modules/react-router/es6/RoutingContext.js
Karthik9321/ReduxSimpleStarter
import React from 'react'; import RouterContext from './RouterContext'; import warning from './routerWarning'; var RoutingContext = React.createClass({ displayName: 'RoutingContext', componentWillMount: function componentWillMount() { process.env.NODE_ENV !== 'production' ? warning(false, '`RoutingContext` has...
node_modules/native-base/Components/Widgets/Content.js
crod93/googlePlacesEx-react-native
/* @flow */ 'use strict'; import React from 'react'; import {ScrollView} from 'react-native'; import NativeBaseComponent from '../Base/NativeBaseComponent'; import computeProps from '../../Utils/computeProps'; export default class Content extends NativeBaseComponent { prepareRootProps() { var type = { backgr...
src/@ui/forms/PersonalDetailsForm.js
NewSpring/Apollos
import React from 'react'; import { View } from 'react-native'; import PropTypes from 'prop-types'; import { compose, branch, renderComponent } from 'recompose'; import get from 'lodash/get'; import { withFormik } from 'formik'; import Yup from 'yup'; import withGive from '@data/withGive'; import withCheckout from '@da...
docs/src/app/components/pages/components/FontIcon/ExampleIcons.js
ruifortes/material-ui
import React from 'react'; import FontIcon from 'material-ui/FontIcon'; import {red500, yellow500, blue500} from 'material-ui/styles/colors'; const iconStyles = { marginRight: 24, }; const FontIconExampleIcons = () => ( <div> <FontIcon className="material-icons" style={iconStyles}>home</FontIcon> <FontIco...
js/components/pages/NotFound.react.js
ciccia/i-done-that
import React, { Component } from 'react'; import { Link } from 'react-router'; class NotFound extends Component { render() { return ( <article> <h1>Page not found.</h1> <Link to="/" className="btn">Home</Link> </article> ); } } export default NotFound;
src/components/Form/__tests__/FormElementLabel.spec.js
propertybase/react-lds
import React from 'react'; import { mount } from 'enzyme'; import FormElementLabel from '../FormElementLabel'; describe('<FormElementLabel />', () => { let mounted = null; let props = {}; beforeEach(() => { props = { id: 'input-it', label: 'Input Label', }; mounted = mount(<FormElement...
ajax/libs/reactive-coffee/1.1.0/reactive-coffee.js
magoni/cdnjs
(function() { var rxFactory, __slice = [].slice, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = ne...
ajax/libs/analytics.js/2.8.8/analytics.min.js
arasmussen/cdnjs
(function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[...
src/menu.js
HsuTing/cat-components
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import radium, {StyleRoot} from 'radium'; import areEqual from 'fbjs/lib/areEqual'; import toggleStyle from 'utils/toggleStyle'; import loadAnimation from 'utils/loadAnimation'; import * as style from './style/menu'; export const menuStyle...
redux/day/4.todo.js
zhufengnodejs/201705react
import React from 'react'; import ReactDOM from 'react-dom'; import {createStore} from 'redux'; const ADD_TODO = 'ADD_TODO'; const DEL_TODO = 'DEL_TODO'; let addTodo = (text) => { // action creator return {type: ADD_TODO, text}; } let delTodo = (index) => {// action creator return {type: DEL_TODO, index}; } //1.创建r...
src/containers/Articles/ArticlesPage/ArticlesPage.js
ReactPoland/react-community
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import permission from 'utils/privileges'; // COMPONENTS import ArticlesList from './ArticlesList'; // LAYOUT import Grid from 'react-bootstrap/lib/Grid'; impor...
docs/app/Examples/modules/Progress/Types/index.js
Rohanhacker/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const ProgressTypesExamples = () => ( <ExampleSection title='Types'> <ComponentExample title='Standard' description='...
app/containers/NotFoundPage/messages.js
s0enke/react-boilerplate
/* * NotFoundPage Messages * * This contains all the text for the NotFoundPage component. */ import { defineMessages } from 'react-intl'; export default defineMessages({ header: { id: 'boilerplate.containers.NotFoundPage.header', defaultMessage: 'Page not found.', }, homeButton: { id: 'boilerplat...
app/containers/App/index.js
dcarneiro/my-react-boilerplate
/** * * 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...
docs/src/app/components/pages/components/AutoComplete/Page.js
matthewoates/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import autoCompleteReadmeText from './README'; import autoCompleteCode from '!ra...
src/svg-icons/image/camera-rear.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCameraRear = (props) => ( <SvgIcon {...props}> <path d="M10 20H5v2h5v2l3-3-3-3v2zm4 0v2h5v-2h-5zm3-20H7C5.9 0 5 .9 5 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V2c0-1.1-.9-2-2-2zm-5 6c-1.11 0-2-.9-2-2s.89-2 1.99-...
src/js/jobs/components/skills/DropFileStep.js
tpucci/jobads-webapp
import React from 'react'; import Badge from 'material-ui/Badge'; import Paper from 'material-ui/Paper'; import FlatButton from 'material-ui/FlatButton'; import RaisedButton from 'material-ui/RaisedButton'; import ActionUpload from 'material-ui/svg-icons/action/backup'; import ActionDoc from 'material-ui/svg-icons/acti...
modules/__tests__/transitionHooks-test.js
carlosmontes/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect, { spyOn } from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import execSteps from './execSteps' import Router from '../Router' describe('When a router enters a branch', function () { var node, Dashbo...
ajax/libs/redux-form/5.1.4/redux-form.js
pombredanne/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReduxForm"] = facto...
misc/tabledrag.js
lalasmuathasim/portfolio
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
app/components/AdminAppBar/Item.js
vlastoun/picture-uploader-crud
import React from 'react'; import PropTypes from 'prop-types'; import MenuItem from 'material-ui/MenuItem'; const style = { background: 'darkgray', }; class Item extends React.Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); } handleClick() { this.props....
imports/ui/pages/FilesPage.js
hwillson/file-metadata-manager
import React from 'react'; import Files from '../components/files/Files'; const FilesPage = ({ metadataSchema, file, selectedUid }) => ( <div className="files-page"> <Files metadataSchema={metadataSchema} file={file} selectedUid={selectedUid} /> </div> ); FilesPage.propTypes = { metad...
examples/js/custom/csv-button/default-custom-csv-button.js
echaouchna/react-bootstrap-tab
/* eslint max-len: 0 */ /* eslint no-unused-vars: 0 */ /* eslint no-alert: 0 */ /* eslint no-console: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn, ExportCSVButton } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; ...
docs/src/app/components/pages/components/FlatButton/Page.js
IsenrichO/mui-with-arrows
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import flatButtonReadmeText from './README'; import flatButtonExampleSimpleCode ...
src/RootCloseWrapper.js
AlexKVal/react-overlays
import React from 'react'; import addEventListener from './utils/addEventListener'; import createChainedFunction from './utils/createChainedFunction'; import ownerDocument from './utils/ownerDocument'; // TODO: Consider using an ES6 symbol here, once we use babel-runtime. const CLICK_WAS_INSIDE = '__click_was_inside';...
src/TimePicker/TimePicker.js
pradel/material-ui
import React from 'react'; import warning from 'warning'; import TimePickerDialog from './TimePickerDialog'; import TextField from '../TextField'; import {formatTime} from './timeUtils'; const emptyTime = new Date(); emptyTime.setHours(0); emptyTime.setMinutes(0); emptyTime.setSeconds(0); emptyTime.setMilliseconds(0);...
components/table/util.js
TDFE/td-ui
/** * @Author: Zhengfeng.Yao <yzf> * @Date: 2017-07-04 10:44:57 * @Last modified by: yzf * @Last modified time: 2017-07-04 10:45:01 */ import React from 'react'; import { ColumnGroup } from './base'; export function flatArray(data = [], childrenName = 'children') { const result = []; const loop = (array)...
src/components/Notification/a11yIconWarningSolid.js
carbon-design-system/carbon-components-react
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; const a11yWarningIcon = (prefix, notificationType) => ( <svg className={`${prefix}--${notificationType}-not...
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/es/NavbarText.js
GoogleCloudPlatform/prometheus-engine
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; var _excluded = ["className", "cssModule", "active", "tag"]; import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames';...
ajax/libs/foundation/4.1.2/js/vendor/jquery.js
SeanPlusPlus/cdnjs
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/layouts/LoginLayout/LoginLayout.js
zhangjianguo1500/f01
import React from 'react' import '../CoreLayout/CoreLayout.scss' import '../../styles/core.scss' export const LoginLayout = ({ children }) => ( <div className='container text-center'> <div className='core-layout__viewport'> {children} </div> </div> ) LoginLayout.propTypes = { children : React.Prop...
ajax/libs/react-dom/15.2.0-rc.1/react-dom-server.js
froala/cdnjs
/** * ReactDOMServer v15.2.0-rc.1 * * Copyright 2013-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the s...
imports/ui/pages/ReconcileInventory/ReconcileInventoryList.js
haraneesh/mydev
import React from 'react'; import PropTypes from 'prop-types'; import { Panel, Pager } from 'react-bootstrap'; import { Meteor } from 'meteor/meteor'; import { withTracker } from 'meteor/react-meteor-data'; import { ReactiveVar } from 'meteor/reactive-var'; import Loading from '../../components/Loading/Loading'; import...
src/components/VideoUploader.js
neontribe/spool
import React, { Component } from 'react'; import captureVideoFrame from 'capture-video-frame'; import _ from 'lodash'; import Grid from './Grid'; import Button from './Button'; import TouchIcon from './TouchIcon'; import styles from './css/VideoRecorder.module.css'; import headings from '../css/Headings.module.css'; ...
webapp-src/src/Modal/ModalMedia.js
babelouest/taliesin
import React, { Component } from 'react'; import { Modal, Row, Col, Image, Button, ButtonGroup, DropdownButton, MenuItem } from 'react-bootstrap'; import FontAwesome from 'react-fontawesome'; import StateStore from '../lib/StateStore'; import i18n from '../lib/i18n'; import ModalManage from '../Modal/ModalManage'; cl...
Examples/UIExplorer/ProgressBarAndroidExample.android.js
dralletje/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
bp-revok/ruby/lib/ruby/2.1.0/rdoc/generator/template/darkfish/js/jquery.js
fkolacek/FIT-VUT
/*! * jQuery JavaScript Library v1.6.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
code/workspaces/web-app/src/components/welcome/NavBar.js
NERC-CEH/datalab
import React from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import datalabsLogo from '../../assets/images/datalabs-hori.png'; import { getAuth } from '../../config/auth'; import navBarLinks from '../../constants/navBarLinks'; import TopBarButton from '../app/Top...
ajax/libs/F2/1.3.1/f2.no-easyXDM.min.js
the-destro/cdnjs
/*! F2 - v1.3.1 - 10-15-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...
examples/create-react-app-with-jss/src/withRoot.js
cherniavskii/material-ui
import React from 'react'; import { create } from 'jss'; import JssProvider from 'react-jss/lib/JssProvider'; import { MuiThemeProvider, createMuiTheme, createGenerateClassName, jssPreset, } from 'material-ui/styles'; import purple from 'material-ui/colors/purple'; import green from 'material-ui/colors/green'; ...
ui/settings.js
JamenMarz/cluster
import React, { Component } from 'react'; class Settings extends Component { render() { return ( <div className="page settings"> The {this.props.params.page} settings page </div> ); } } export default Settings;
tests/components/line-series-tests.js
Apercu/react-vis
import test from 'tape'; import React from 'react'; import {mount} from 'enzyme'; import XYPlot from 'plot/xy-plot'; import LineSeries from 'plot/series/line-series'; import {testRenderWithProps, GENERIC_XYPLOT_SERIES_PROPS} from '../test-utils'; import LineChart from '../../showcase/plot/line-chart'; import LineMarkSe...
ajax/libs/react-cookie/0.1.0/react-cookie.min.js
sajochiu/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...
app/frontend/static/js/src/index.js
jurekpawlikowski/flask-boilerplate
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App />, document.getElementById('root'));
src/component/navgation/comic.js
vicvinc/yimanga
import React, { Component } from 'react'; import { Link, withRouter } from 'react-router-dom'; import * as feather from 'react-feather'; import '../../style/module/navgation.css'; class ComicNavgation extends Component { static defaultProps = { avatar: require('../../static/navgation/avatar-1.png'), } // t...
client/App/App.js
dfuruya/BuoyCheck
import React from 'react'; import { Link } from 'react-router'; class App extends React.Component { constructor(props) { super(); this.state = { favoritesList: [], buoysList: [], fetchError: false, }; } getChildContext() { return { favoritesList: this.state.favoritesList,...
Week_10/AuthServer/SecMS/Scripts/jquery-1.10.2.min.js
peteratseneca/dps907fall2014
/* NUGET: BEGIN LICENSE TEXT * * Microsoft grants you the right to use these script files for the sole * purpose of either: (i) interacting through your browser with the Microsoft * website or online service, subject to the applicable licensing or use * terms; or (ii) using the files as included with a Microsoft p...
src/Badge.js
victorzhang17/react-bootstrap
import React from 'react'; import ValidComponentChildren from './utils/ValidComponentChildren'; import classNames from 'classnames'; const Badge = React.createClass({ propTypes: { pullRight: React.PropTypes.bool }, getDefaultProps() { return { pullRight: false }; }, hasContent() { re...
node_modules/react/lib/ReactBrowserEventEmitter.js
adrian-spataru/minitube
/** * 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/react-bootstrap/es/Pagination.js
CallumRocks/ReduxSimpleStarter
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
examples/InputRadio.js
15lyfromsaturn/react-materialize
import React from 'react'; import Input from '../src/Input'; export default <div> <Input name='group1' type='radio' value='red' label='Red' /> <Input name='group1' type='radio' value='yellow' label='Yellow' /> <Input name='group1' type='radio' value='green' label='Green' className='with-gap' /> <Input ...
src/svg-icons/action/help-outline.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionHelpOutline = (props) => ( <SvgIcon {...props}> <path d="M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c...
examples/src/components/ValuesAsNumbersField.js
anfix/react-select
import React from 'react'; import Select from 'react-select'; function logChange() { console.log.apply(console, [].concat(['Select value changed:'], Array.prototype.slice.apply(arguments))); } var ValuesAsNumbersField = React.createClass({ displayName: 'ValuesAsNumbersField', propTypes: { label: React.PropTypes....
src/containers/LoseBillAnalysis/ReasonAnalysis/LoseSumChart.js
UncleYee/crm-ui
import React from 'react'; import {mutilColors} from 'utils/mutilColors'; import Highcharts from 'highcharts'; const styles = { root: { float: 'left', height: 400, width: 350, marginLeft: 100, }, graph: { width: 350, height: 350 }, text: { height: 50, fontSize: 18, fontWei...
frontend/test/app/components/ExperimentCardList-test.js
6a68/testpilot
import React from 'react'; import { assert, expect } from 'chai'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import ExperimentCardList from '../../../src/app/components/ExperimentCardList'; describe('app/components/ExperimentCardList', () => { let props, subject; beforeEach(() => { props = ...
themes/frontend/assets/reactjs/process/js/VelonChips.js
fonea/velon
import React from 'react'; import Chip from 'material-ui/Chip'; import queryString from 'query-string'; import _ from 'lodash'; export default class VelonChips extends React.Component { constructor(props) { super(props); this.handleRequestDelete = this.handleRequestDelete.bind(this); this.handleTou...
src/scenes/home/leadershipCircle/leadershipCircle.js
tal87/operationcode_frontend
import React from 'react'; import Section from 'shared/components/section/section'; import styles from './leadershipCircle.css'; const LeadershipCircle = () => ( <Section title="Leadership Circle" theme="white"> <div> <h3>Join as a Founding Member!</h3> <p>Operation Code is pleased to invite you to j...
ajax/libs/foundation/4.0.4/js/vendor/jquery.js
jonjaques/cdnjs
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
src/containers/Root.js
reducks/redux-universal-boilerplate
import React from 'react'; import { Provider } from 'react-redux'; import { Router } from 'react-router'; import createRoutes from '../routes'; let Root; if (__DEVELOPMENT__ && __DEVTOOLS__) { Root = ({ store, history }) => ( <div> <Provider store={store}> <Router history={history}>{createRoutes()...
ajax/libs/react-redux/7.2.2/react-redux.js
cdnjs/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('redux'), require('react-dom')) : typeof define === 'function' && define.amd ? define(['exports', 'react', 'redux', 'react-dom'], factory) : (global = typeof globalThis !== 'undefin...
ajax/libs/react-router/4.4.0-alpha.0/react-router.js
extend1994/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : (factory((global.ReactRouter = {}),global.React)); }(this, (function (exports,React) { 'use strict'...
examples/multiple-readonly.js
ddcat1115/select
/* eslint no-console: 0 */ import React from 'react'; import Select, { Option } from 'rc-select'; import 'rc-select/assets/index.less'; import ReactDOM from 'react-dom'; const children = []; for (let i = 10; i < 36; i++) { // 11 => readonly selected item children.push(<Option disabled={i === 11} key={i.toString(36...
src/containers/Asians/TabControls/BreakRounds/EnterBreakRoundResults/Ballots/Instance/BallotInstance/TeamPicker.js
westoncolemanl/tabbr-web
import React from 'react' import ListSubheader from 'material-ui/List/ListSubheader' import SpeakerPicker from './SpeakerPicker' import Total from './Total' export default ({ government, breakRoom, debaterOptions, firstSpeaker, secondSpeaker, whipSpeaker, replySpeaker, onChangeFirst, onChangeSecond, ...
packages/mineral-ui-icons/src/IconDesktopWindows.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconDesktopWindows(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...ico...
ajax/libs/react/0.3.2/JSXTransformer.js
cdnjs/cdnjs
/** * JSXTransformer v0.3.2 */ (function(e){if("function"==typeof bootstrap)bootstrap("jsxtransformer",e);else if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else if("undefined"!=typeof ses){if(!ses.ok())return;ses.makeJSXTransformer=e}else"undefined"!=typeof wi...
examples/with-mobx/components/Page.js
callumlocke/next.js
import React from 'react' import Link from 'next/link' import { inject, observer } from 'mobx-react' import Clock from './Clock' @inject('store') @observer class Page extends React.Component { componentDidMount () { this.props.store.start() } componentWillUnmount () { this.props.store.stop() } rend...
src/svg-icons/action/restore.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionRestore = (props) => ( <SvgIcon {...props}> <path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 ...
src/encoded/static/components/experiment_series.js
ENCODE-DCC/encoded
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'underscore'; import { svgIcon } from '../libs/svg-icons'; import UserRoles from '../libs/user_roles'; import { Panel, PanelHeading, PanelBody, PanelFooter } from '../libs/ui/panel'; import Tooltip from '../libs/ui/tooltip'; import { CartAddAl...
frontend/src/app/containers/NotFoundPage.js
dannycoates/testpilot
import React from 'react'; import Copter from '../components/Copter'; import LayoutWrapper from '../components/LayoutWrapper'; import View from '../components/View'; export default class NotFoundPage extends React.Component { render() { return ( <View centered={true} showNewsletterFooter={false} showFoot...
imports/ui/components/tags/TagList.js
ctagroup/home-app
import React, { Component } from 'react'; // import DataTable from '/imports/ui/components/dataTable/DataTable'; // import { removeClientTagButton } from '/imports/ui/dataTable/helpers.js'; import TagItem from './TagItem'; class TagList extends Component { constructor() { super(); this.state = { name: '', sc...
ajax/libs/6to5/2.11.4/browser-polyfill.js
BitsyCode/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...
packages/material-ui-icons/src/PhotoRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.9 13.98l2.1 2.53 3.1-3.99c.2-.26.6-.26.8.01l3.51 4.68c.25.33.01.8-.4.8H6.02c-.42 0-.65-.48-.39-.81L8.12 14c.19-.26.57-.2...
packages/material-ui-icons/lib/CheckCircleOutlineTwoTone.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
blueprints/dumb/files/__root__/components/__name__/__name__.js
PetrosGit/poker-experiment
import React from 'react' type Props = { }; export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } export default <%= pascalEntityName %>
src/components/Link/Link.js
BankaiMikeH/HackWSU2017_AirRands
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import PropTypes from 'prop-...
servers/embed/assets/js/vendor/jquery.js
wakashige/plunker
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL...
docs/src/examples/elements/Segment/Groups/SegmentExampleHorizontalSegments.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Segment } from 'semantic-ui-react' const SegmentExampleHorizontalSegments = () => ( <Segment.Group horizontal> <Segment>Left</Segment> <Segment>Middle</Segment> <Segment>Right</Segment> </Segment.Group> ) export default SegmentExampleHorizontalSegments