path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
aaf-enrollment/src/components/enrollment/method-authenticators/EmailOTPMethod.js
MicroFocus/CX
import React from 'react'; import Authenticator from '../Authenticator'; import {generateFormChangeHandler} from '../../../utils/form-handler'; import TextField from '../../TextField'; import t from '../../../i18n/locale-keys'; class EmailOTPMethod extends React.PureComponent { constructor(props) { super(p...
components/AppFooter.js
Meadowcottage/meadowcottagexyz
import React from 'react' import { BounceUp } from 'animate-components' export default class AppFooter extends React.Component { render () { return ( <BounceUp as='div' duration='2s' className='appFooter'> <a href='https://github.com/meadowcottage/meadowcottagexyz'> <i className='fa fa-co...
ui/src/components/Menu.js
nateinaction/nateanddanielle.love
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import AppBar from '@material-ui/core/AppBar'; import Drawer from '@material-ui/core/Drawer'; import Hidden from '@material-ui/core/Hidden'; import IconButton from '@material-ui/core/IconButton'; import Link from '@mat...
js/App/Components/Settings/SubViews/LogoutButton.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : 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 3 of the License, or *...
test/integration/client-navigation/pages/snap-scroll-position.js
azukaru/next.js
import React from 'react' export default class SnapScrollPosition extends React.Component { constructor(props) { super(props) this.state = { positionY: -1 } } componentDidMount() { this.setState({ positionY: window.scrollY }) } render() { return ( <main> {Array.from({ length: ...
docs/app/Examples/modules/Dropdown/Usage/DropdownExampleCloseOnBlur.js
shengnian/shengnian-ui-react
import React from 'react' import { Dropdown } from 'shengnian-ui-react' import { friendOptions } from '../common' const DropdownExampleCloseOnBlur = () => ( <div> <Dropdown placeholder='I close on blur' closeOnBlur selection options={friendOptions} /> {' '} <Dropdown placeholder='I stay open on blur' clo...
src/retired_code/app/app.js
PrimeLens/react-boiler-create-react-app-with-multipage-and-complex-UI
// dependancies for this component import React, { Component } from 'react'; import './app.css'; // ESSENTIAL tools for vanilla javascript control that need to be mounted to the window // assignemts to window should only appear ONCE in the app codebase afterwhich // each component should already have access import ...
packages/reactor-tests/src/tests/rel/RelGridColumn.js
sencha/extjs-reactor
import React, { Component } from 'react'; import { Container, Grid, Column, WidgetCell, SparkLineLine } from '@extjs/ext-react'; export default class RelGridColumn extends Component { store = Ext.create('Ext.data.Store', { data: [ { first: 'Mark', last: 'Brocato', trend: [1,2,3,4,3,2,1] } ...
src/js/components/parameters/ParameterInputList.js
knowncitizen/tripleo-ui
/** * Copyright 2018 Red Hat Inc. * * 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 required by applicable law or agreed to...
src/Work/Work.js
ZhaoShouLiang/big-demo
import React from 'react'; import WorkCard from '../component/WorkCard'; import { getJson1 } from '../utils/helpers'; class Work extends React.Component { constructor(){ super(); this.state={ data:[], wait:true } } componentDidMount(){ getJson1() .then( (Recdata)=>{ this.setStat...
docs/src/pages/premium-themes/onepirate/modules/components/Paper.js
allanalexandre/material-ui
import React from 'react'; import clsx from 'clsx'; import PropTypes from 'prop-types'; import MuiPaper from '@material-ui/core/Paper'; import { capitalize } from '@material-ui/core/utils/helpers'; import { withStyles } from '@material-ui/core/styles'; const styles = theme => ({ backgroundLight: { backgroundColo...
pages/arrange/index.js
southern-ground/stack-shellybrown.com
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-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 _ from '../../node_m...
ajax/libs/yui/3.18.1/event-focus/event-focus-min.js
bspaulding/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(...
www/imports/component/Namer.js
terraswat/hexagram
// Namer.js // A modal to prompt the user to name something. // If you want something more complex use Modal.js instead. import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Modal from './Modal.js'; export default class Namer extends Component { constructor (props) { supe...
ajax/libs/gitalk/1.2.2/gitalk.js
extend1994/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["Gitalk"] = factory(); else root["Gitalk...
client/routes.js
yoohan-dex/React-Blog
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './containers/App'; import Main from './containers/Main'; import Content from './containers/Content'; export default ( <Route path="/" component={App}> <IndexRoute component={Main} /> <Route path="content" componen...
frontend/src/pages/org-admin/org-users-nav.js
miurahr/seahub
import React from 'react'; import PropTypes from 'prop-types'; import { Link } from '@reach/router'; import { siteRoot, gettext } from '../../utils/constants'; const propTypes = { currentItem: PropTypes.string.isRequired }; class Nav extends React.Component { constructor(props) { super(props); this.navIt...
ajax/libs/yasgui/0.0.6/yasgui.min.js
lobbin/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r...
src/index.js
Aikk/gallery-by-react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
src/svg-icons/action/view-array.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionViewArray = (props) => ( <SvgIcon {...props}> <path d="M4 18h3V5H4v13zM18 5v13h3V5h-3zM8 18h9V5H8v13z"/> </SvgIcon> ); ActionViewArray = pure(ActionViewArray); ActionViewArray.displayName = 'ActionViewA...
src/components/Map/AddLocation.js
Angular-Toast/habitat
import React, { Component } from 'react'; import { StyleSheet, Text, View, Animated, Image, Dimensions, TextInput } from "react-native"; import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete'; import { StackNavigator, NavigationActions } from 'react-navigation'; import axios from 'axios'; ...
app/components/Toggle/index.js
Cherchercher/Wedding-Llama
/** * * LocaleToggle * */ import React from 'react'; import Select from './Select'; import ToggleOption from '../ToggleOption'; function Toggle(props) { let content = (<option>--</option>); // If we have items, render them if (props.values) { content = props.values.map((value) => ( <ToggleOption key...
app/containers/SignIn/index.js
Jasonlucas724/Digimortal
/* * * SignIn * */ import React from 'react'; import Helmet from 'react-helmet'; export default class SignIn extends React.PureComponent { render() { const div1={ display:"flex", flexDirection:"column", width:"200px", height:"100%", color:"#000000", background:"black", marginTop:...
react-dev/components/post_index_item.js
WDTAnyMore/WDTAnyMore.github.io
import React from 'react'; import _ from 'lodash'; import Paper from 'material-ui/Paper'; import FontIcon from 'material-ui/FontIcon'; import RaisedButton from 'material-ui/RaisedButton'; import Chip from 'material-ui/Chip'; const styles = { wrapper: { display: 'flex', flexWrap: 'wrap', textAlign: 'left...
Console/app/node_modules/rc-input-number/es/index.ios.js
RisenEsports/RisenEsports.github.io
import React from 'react'; import PropTypes from 'prop-types'; import createReactClass from 'create-react-class'; import { Text, TextInput, TouchableWithoutFeedback, View } from 'react-native'; import mixin from './mixin'; var InputNumber = createReactClass({ propTypes: { styles: PropTypes.object, style: Pro...
react/example/app.js
text-mask/text-mask
import React from 'react' import MaskedInput from '../src/reactTextMask' export default () => ( <form className='form-horizontal'> <div className='form-group'> <label htmlFor='1' className='col-sm-2 control-label'>Masked input</label> <div className='col-sm-10'> <MaskedInput mask={...
files/babel/5.4.0/browser-polyfill.js
justincy/jsdelivr
(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...
h2hell-web/src/main/webapp/assets/plugins/x-editable/bootstrap3-editable/js/bootstrap-editable.js
highway-to-urhell/highway-to-urhell-web
/*! X-editable - v1.5.1 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to form tag!...
src/svg-icons/maps/local-airport.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalAirport = (props) => ( <SvgIcon {...props}> <path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z"/> </SvgIcon> ); MapsLocalA...
ajax/libs/react-bootstrap/0.19.0/react-bootstrap.js
perfect-pixell/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/pages/Settings/News/News.js
aggiedefenders/aggiedefenders.github.io
import React, { Component } from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; import { Link } from 'react-router-dom'; import _backButton from '../../../assets/img/back_btn_white.png'; import firebase from 'firebase'; var database = firebase.database(); const containerStyle = {...
src/components/todos/todo/TodoText.js
thiagoc7/mp_parse
import React from 'react' const Text = ({children, completed, onClick}) => ( <span onClick={onClick} style={{textDecoration: completed ? 'line-through' : 'none', cursor: 'pointer'}}> {children} </span> ) Text.propTypes = { children: React.PropTypes.any.isRequired, completed: React....
packages/react-error-overlay/src/containers/StackFrameCodeBlock.js
timlogemann/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ import React from 'react'; import CodeBlock from '../components/CodeBlock'; import { applyStyles } from '../utils/dom/css'; ...
node_modules/react-router/es6/Redirect.js
ddigioia/react_router_practice_1
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils'; import { formatPattern } from './PatternUtils'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes; var string = _React$PropTypes.st...
src/svg-icons/communication/chat.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationChat = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 9h12v2H6V9zm8 5H6v-2h8v2zm4-6H6V6h12v2z"/> </SvgIcon> ); Communicatio...
examples/Footer.js
jareth/react-materialize
import React from 'react'; import Footer from '../src/Footer'; export default <Footer copyrights="&copy; 2015 Copyright Text" moreLinks={ <a className="grey-text text-lighten-4 right" href="#!">More Links</a> } links={ <ul> <li><a className="grey-text text-lighten-3" href="#!">Link 1</a></li> ...
src/components/source/collection/list/CountryCollectionListContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { injectIntl, FormattedMessage } from 'react-intl'; import { Grid, Row, Col } from 'react-flexbox-grid/lib'; import { connect } from 'react-redux'; import withAsyncData from '../../../common/hocs/AsyncDataContainer'; import CollectionIcon from '../.....
app/javascript/packs/components/shared/List/index.js
NahlStudio/teamly-rails
import React from 'react'; function List(props) { return ( <li {...props}> {props.children} </li> ); } export default List;
src/components/button/index.js
bingqichen/cnode-react
import React from 'react'; import cx from 'classnames'; import './style.less'; export default (props) => { const { className, children, disabled = false, onClick = () => {} } = props; const cls = cx('component-button-wrap', className); return ( <button className={cls} disabled={disabled} ...
src/components/menus/ContextMenu/index.js
Secretmapper/react-transmission
import React from 'react'; import { Overlay } from 'react-overlays'; import Menu from './Menu'; function ContextMenu(props) { // TODO: Container should be App element return ( <Overlay show={props.show} placement={props.placement} target={props.target} shouldUpdatePosition={true} ...
examples/counter-static/common/components/Counter.js
retaxJS/retax
import React from 'react'; import { bindActionCreators } from 'redux'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { incrementActionCreator } from '../actionsCreators/counter'; export default connect( ({ counter }) => ({ counter }), dispatch => bindActionCreators({ increment...
node_modules/react-icons/fa/share-square-o.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaShareSquareO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m32.9 22.1v5.8q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-4.5-1.9t-1.9-4.5v-18.6q0-2.7 1.9-4.6t4.5-1.8h5.7q0.3 0 0.5 0.2t0.2 0.5q0 0.6-0.5 0.7-1.8 0.6-3 1.3-0.2 0.1-0.4...
SocioEconomicEcosystem/GreaterMiddleEast/PlateauingProcessesFlucGREATERMIDDLEEAST_COVID_files/ggiraphjs-0.3.0/ggiraphjs.min.js
efaysal/efaysal.github.io
var ggiraphjs=function(e){var t={};function n(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.t...
ajax/libs/swagger-ui/3.20.5/swagger-ui-bundle.js
extend1994/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.SwaggerUIBundle=t():e.SwaggerUIBundle=t()}(this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,ex...
examples/componentjs/bower_components/componentjs/component.js
edwardpark/todomvc
/* ** ComponentJS -- Component System for JavaScript <http://componentjs.com> ** Copyright (c) 2009-2013 Ralf S. Engelschall <http://engelschall.com> ** ** This Source Code Form is subject to the terms of the Mozilla Public ** License, v. 2.0. If a copy of the MPL was not distributed with this ** file, You can obt...
test/components/button.js
jturle/postcss-sketch
import React from 'react'; import { Button } from 'semantic-ui-react'; const ButtonExampleEmphasis = () => <div> <Button primary>Primary</Button> <Button secondary>Secondary</Button> </div>; export default ButtonExampleEmphasis;
src/svg-icons/device/brightness-low.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBrightnessLow = (props) => ( <SvgIcon {...props}> <path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 ...
blueocean-material-icons/src/js/components/svg-icons/device/access-time.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const DeviceAccessTime = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67...
ajax/libs/webshim/1.15.1-RC1/dev/shims/es6.js
him2him2/cdnjs
// ES6-shim 0.15.0 (c) 2013-2014 Paul Miller (http://paulmillr.com) // ES6-shim may be freely distributed under the MIT license. // For more details and documentation: // https://github.com/paulmillr/es6-shim/ webshim.register('es6', function($, webshim, window, document, undefined){ 'use strict'; var isCallableW...
example/src/pages/IconSnackbarContent/index.js
dlennox24/ricro-app-template
import Button from '@material-ui/core/Button'; import Divider from '@material-ui/core/Divider'; import Grid from '@material-ui/core/Grid'; import Portal from '@material-ui/core/Portal'; import Snackbar from '@material-ui/core/Snackbar'; import withStyles from '@material-ui/core/styles/withStyles'; import { IconSnackbar...
src/main/webapp/static/jquery-validation/1.11.1/lib/jquery-1.9.0.js
xingguang2013/jeesite
/*! * jQuery JavaScript Library v1.9.0 * 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-1-14 */ (function( window, undefined ) { "use strict";...
client/containers/Signup/Signup.js
joshjg/explore
import React from 'react'; import { connect } from 'react-redux'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import TextField from 'material-ui/TextField'; import { toggleActive } from '../App/actions'; import { signupRequest, setSignupField } from './actions'; const Sig...
example/listView.js
lipingruan/react-native-refreshable-useful
'use strict'; import React, { Component } from 'react'; import { View, Text, Image, StyleSheet, TouchableOpacity, AppRegistry } from 'react-native'; import { ListView, GotoTopCreator } from 'react-native-refreshable-useful'; const ListViewWithScrollController = GotoTopCreator ( ListView ); export defau...
packages/wix-style-react/src/PageFooter/test/PageFooter.spec.js
wix/wix-style-react
import React from 'react'; import { createRendererWithUniDriver, cleanup } from '../../../test/utils/unit'; import PageFooter from '../PageFooter'; import { pageFooterPrivateDriverFactory } from './PageFooter.private.uni.driver'; describe(PageFooter.displayName, () => { const render = createRendererWithUniDriver(pa...
ajax/libs/rxjs/2.2.24/rx.js
wormful/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 }; v...
components/lineup/VolleyCourt.js
nvbf/pepper
// @flow import React from 'react'; import { darken } from 'polished'; import GradientFill from '../svgs/GradientFill'; import color from '../../libs/color'; import VolleyNetAndPoles from './VolleyNetAndPoles'; function getLeftX(width: number, y: number) { return 0.25 * width * (1 - y); } function getRightX(width: ...
cordova/myreact/node_modules/react-scripts/template/src/index.js
yjiang28/Hackers
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
src/components/widget/RawWidget.js
metasfresh/metasfresh-webui-frontend
import Moment from 'moment'; import React, { Component } from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import { connect } from 'react-redux'; import classnames from 'classnames'; import { List as ImmutableList } from 'immutable'; import { RawWidgetPropTypes, RawWidgetDefaultPro...
src/components/LogosGrid/index.js
iris-dni/iris-frontend
import React from 'react'; import styles from './platform-supporters.scss'; import Section from 'components/Section'; import Container from 'components/Container'; import Image from 'components/Image'; const LogosGrid = ({ items = [] }) => ( <Section margin> <Container> <ul className={styles.root}> ...
fields/types/boolean/BooleanFilter.js
udp/keystone
import React from 'react'; import { SegmentedControl } from 'elemental'; const TOGGLE_OPTIONS = [ { label: 'Is Checked', value: true }, { label: 'Is NOT Checked', value: false } ]; function getDefaultValue () { return { value: true }; } var BooleanFilter = React.createClass({ statics: { getDefaultValue: get...
src/components/HtmlView.js
phodal/growth-ng
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { View, Platform } from 'react-native'; import RNFS from 'react-native-fs'; import Api from '../utils/api'; import AppStyle from '../theme/styles'; import Dialog from './dialog'; import CustomWebView from './CustomWebView'; import Mark...
src/api/reaction-measure.js
biorreator/bioreator-api
import { Router } from 'express' import Measure from '../models/measure' import { r } from '../db' import { densityToBrix, actualGLDegree } from '../helpers/transformations' export default ({ config, db }) => { let router = Router({ mergeParams: true }) router.param('measure', (req, resp, next, id) => { req.m...
src/renderers/dom/shared/ReactDefaultInjection.js
agileurbanite/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 ...
packages/material-ui-icons/src/PhotoSizeSelectActualOutlined.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="M21 3H3C2 3 1 4 1 5v14c0 1.1.9 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zm0 15.92c-.02.03-.06.06-.08.08H3V5.08L3.08 5h17.83c.03.02.06.06.08.08v13.84...
src/client/components/pages/entities/image.js
bookbrainz/bookbrainz-site
/* * Copyright (C) 2017 Ben Ockmore * * 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 distr...
src/react/js/app/main.js
lopezhansel/OctoDex
import React from 'react'; import Router from 'react-router'; import ReactDOM from 'react-dom'; import createBrowserHistory from 'history/lib/createBrowserHistory'; let history = createBrowserHistory();
app/javascript/mastodon/components/missing_indicator.js
honpya/taketodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; const MissingIndicator = () => ( <div className='regeneration-indicator missing-indicator'> <div> <div className='regeneration-indicator__figure' /> <div className='regeneration-indicator__label'> <FormattedMessage id=...
ajax/libs/forerunnerdb/1.3.835/fdb-core+views.js
sufuf3/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...
src/containers/NotFound/NotFound.js
quicksnap/react-redux-universal-hot-example
import React from 'react'; export default function NotFound() { return ( <div className="container"> <h1>Doh! 404!</h1> <p>These are <em>not</em> the droids you are looking for!</p> </div> ); }
blueprints/view/files/__root__/views/__name__View/__name__View.js
huangc28/palestine
import React from 'react' type Props = { }; export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } export default <%= pascalEntityName %>
src/Elevation/Elevation.js
kradio3/react-mdc-web
import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; import isDefined from '../utils/isDefined'; const propTypes = { className: PropTypes.string, children: PropTypes.node, transition: PropTypes.bool, z: PropTypes.number, }; const Elevation = ({ className, childr...
ajax/libs/zxcvbn/1.0.4/zxcvbn.min.js
nolsherry/cdnjs
(function(){var aC,aM,aK,aB,ah,ag,af,ae,ad,ac,ab,t,ap,aL,ao,r,o,m,l,k,i;ab=function(n){var p,q;q=[];for(p in n){q.push(p)}return 0===q.length};ap=function(n,p){return n.push.apply(n,p)};k=function(n,p){var w,u,s,v,q;v=n.split("");q=[];u=0;for(s=v.length;u<s;u++){w=v[u],q.push(p[w]||w)}return q.join("")};r=function(n,p)...
src/components/SettingsDictionaries.js
rsimmons/voracious
import React, { Component } from 'react'; import Button from './Button'; import './SettingsDictionaries.css'; export default class SettingsDictionaries extends Component { handleMove = (idx, direction) => { const names = [...this.props.dictionaries.keys()]; if (direction === -1) { if (idx === 0) { ...
ajax/libs/angular.js/1.0.0rc6/angular-scenario.js
nolsherry/cdnjs
/*! * jQuery JavaScript Library v1.7.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/glamor/2.4.1/index.js
sashberd/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Glamor = f()}}...
examples/with-loading/pages/about.js
BlancheXu/test
import React from 'react' const AboutPage = () => <p>This is about Next.js!</p> AboutPage.getInitialProps = async () => { await new Promise(resolve => { setTimeout(resolve, 500) }) return {} } export default AboutPage
packages/starter-scripts/fixtures/kitchensink/src/features/webpack/SvgInCss.js
chungchiehlun/create-starter-app
import React from 'react'; import './assets/svg.css'; export default () => <div id="feature-svg-in-css" />;
docs/src/app/pages/components/Toggle/ExampleToggleLoading.js
GetAmbassador/react-ions
import React from 'react' import Toggle from 'react-ions/lib/components/Toggle' class ExampleToggleLoading extends React.Component { constructor(props) { super(props) } state = { loading: false } handleChange = event => { this.setState({loading: true}) setTimeout(() =...
ajax/libs/x-editable/1.5.0/bootstrap-editable/js/bootstrap-editable.js
steakknife/cdnjs
/*! X-editable - v1.5.0 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to form ...
node_modules/react-addons-transition-group/index.js
smaccoun/wrapid-react-ts
module.exports = require('react/lib/ReactTransitionGroup');
node_modules/react-icons/md/gif.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdGif = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m31.6 17.5h-5v1.6h3.4v2.5h-3.4v3.4h-2.5v-10h7.5v2.5z m-16.6-2.5c1 0 1.6 0.8 1.6 1.6v0.9h-5.7v5h3.2v-2.5h2.5v3.4c0 0.8-0.6 1.6-1.6 1.6h-5c-1 0-1.6-0.8-1.6-1.6v-6.8c0-0.8 0...
final-project/public/metronic/ftfl02/assets/global/plugins/bootstrap-editable/bootstrap-editable/js/bootstrap-editable.js
WakilaFarzan/laravel_clss
/*! X-editable - v1.4.6 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT * Improved by Keenthemes for Bootstrap 3.0 support */ /** Form with single input element, two buttons and two states: normal/loading. A...
lib/components/DateTitle.js
devinmarieb/budget-app
import React, { Component } from 'react'; import moment from 'moment'; import Button from './Button'; export default class DateTitle extends Component { render() { return ( <aside className='month-name-section'> <h3 className={this.props.className}>{ this.props.content }</h3> </aside> ); ...
fixtures/ssr/src/index.js
wmydz1/react
import React from 'react'; import {render} from 'react-dom'; import App from './components/App'; render(<App assets={window.assetManifest} />, document);
src/js/app-car-tool.js
training4developers/react_redux_12122016
/* @flow */ import React from 'react'; import ReactDOM from 'react-dom'; import 'bootstrap-loader'; import '../css/styles.scss'; import { CarTool } from './components/car-tool'; import { appStore } from './app-store'; ReactDOM.render(<CarTool toolCaption='Table of Cars' store={appStore} />, document.querySelector('...
client/modules/accounts/templates/dropdown/dropdown.js
evereveofficial/reaction
import { Reaction, Logger } from "/client/api"; import { Tags } from "/lib/collections"; import { Session } from "meteor/session"; import { Meteor } from "meteor/meteor"; import { Template } from "meteor/templating"; Template.loginDropdown.events({ /** * Submit sign up form * @param {Event} event - jQuery Ev...
client/views/admin/emailInbox/EmailInboxPage.js
VoiSmart/Rocket.Chat
import { Button, Icon } from '@rocket.chat/fuselage'; import React from 'react'; import Page from '../../../components/Page'; import { useRoute, useRouteParameter } from '../../../contexts/RouterContext'; import { useTranslation } from '../../../contexts/TranslationContext'; import EmailInboxEditWithData from './Email...
node_modules/react-native/node_modules/react-tools/src/addons/transitions/__tests__/ReactTransitionGroup-test.js
IlyasM/relay
/** * 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...
ajax/libs/orb/1.0.7/orb.js
LaurensRietveld/cdnjs
/** * orb v1.0.7, Pivot grid javascript library. * * Copyright (c) 2014-2015 Najmeddine Nouri <devnajm@gmail.com>. * * @version v1.0.7 * @link http://nnajm.github.io/orb/ * @license MIT */ 'use strict'; ! function(e) { if ("object" == typeof exports && "undefined" != typeof module) module.exports = e(); ...
src/svg-icons/hardware/keyboard-hide.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardHide = (props) => ( <SvgIcon {...props}> <path d="M20 3H4c-1.1 0-1.99.9-1.99 2L2 15c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-9 3h2v2h-2V6zm0 3h2v2h-2V9zM8 6h2v2H8V6zm0 3h2v2H8V9zm-1 2H...
imports/ui/components/EditorialTeamView/EditorialTeamView.js
jamiebones/Journal_Publication
import React from 'react'; import PropTypes from 'prop-types'; import { Meteor } from 'meteor/meteor'; import { Link } from 'react-router'; import { Bert } from 'meteor/themeteorchef:bert'; import { Row, Col, FormGroup, ControlLabel, Panel , ButtonGroup, Media, FormControl, Button , Label , Modal , Well } from...
admin/src/components/PopoutList.js
geminiyellow/keystone
import blacklist from 'blacklist'; import classnames from 'classnames'; import React from 'react'; var PopoutList = React.createClass({ displayName: 'PopoutList', propTypes: { children: React.PropTypes.node.isRequired, }, render () { let className = classnames('PopoutList', this.props.className); let props =...
node_modules/react-icons/io/tshirt.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoTshirt = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m35 7.5l-2.5 6.9-5-0.6 1.3 22.5h-22.5l1.2-22.5-5 0.6-2.5-6.9 12.5-3.7c1.1 2.1 2.4 3 5 3.1 2.6 0 3.9-1 5-3.1z"/></g> </Icon> ) export default IoTshirt
app/renderer/presentational/generic/Tab.js
AbsoluteZero273/Deezic
import React from 'react' const Tab = ({ children, tabID, active }) => { return ( <div className={'mdl-tabs__panel custom-tabs__panel' + (active ? ' is-active' : '')} id={tabID}> { children } </div> ) } export default Tab
ajax/libs/yui/3.7.2/datatable-core/datatable-core-coverage.js
mival/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
resources/public/js/jquery.min.js
clojurecup2014/yak
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
packages/cp-frontend/test/unit/components/messaging/error.js
yldio/copilot
/** * @jest-environment jsdom */ import React from 'react'; import renderer from 'react-test-renderer'; import 'jest-styled-components'; import Error from '@components/messaging/error'; it('renders <Error /> without throwing', () => { const tree = renderer.create(<Error />).toJSON(); expect(tree).toMatchSnapsh...
_site/scripts/vendor/jquery-1.11.0.min.js
danielevora/danielevora.com
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
app/index.js
wujysh/Lepton
'use strict' import fs from 'fs' import { remote, ipcRenderer } from 'electron' import React from 'react' import ReactDom from 'react-dom' import { Provider } from 'react-redux' import { createStore, applyMiddleware } from 'redux' import thunk from 'redux-thunk' import './utilities/vendor/bootstrap/css/bootstrap.css'...
src/components/ContestPreview.js
jsize8/learn-fullstack-javascript
import React, { Component } from 'react'; class ContestPreview extends Component { handleClick = () => { this.props.onClick(this.props.id) }; render() { return( <div className="link ContestPreview" onClick={this.handleClick}> <div className="category-name"> {this.props.categoryNam...