path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
ajax/libs/angular-google-maps/2.0.13/angular-google-maps.js
sufuf3/cdnjs
/*! angular-google-maps 2.0.13 2015-02-25 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted, ...
app/packs/src/components/MoleculeModeratorComponent.js
ComPlat/chemotion_ELN
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Col, Panel, Button, Row, FormControl, Table, Popover, ButtonGroup, Modal, OverlayTrigger, Tooltip, Form, FormGroup, InputGroup } from 'react-bootstrap'; import SVG from 'react-inlinesvg'; import { findIndex } from 'lodash'; import St...
packages/node_modules/@webex/react-component-call-data-activity/src/index.js
ciscospark/react-ciscospark
import React from 'react'; import PropTypes from 'prop-types'; import {FormattedMessage} from 'react-intl'; import messages from './messages'; import {parseActivityCallData} from './helpers'; const propTypes = { actor: PropTypes.shape({ displayName: PropTypes.string.isRequired }), duration: PropTypes.number...
app/pages/patientprofile/patientprofile.js
hichameyessou/blip
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as actions from '../../redux/actions'; import _ from 'lodash'; import Patient from '../patient/'; /** * Expose "Smart" Component that is connect-ed to Redux */ let getFetchers = (dispatchProps, o...
src/svg-icons/device/screen-rotation.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceScreenRotation = (props) => ( <SvgIcon {...props}> <path d="M16.48 2.52c3.27 1.55 5.61 4.72 5.97 8.48h1.5C23.44 4.84 18.29 0 12 0l-.66.03 3.81 3.81 1.33-1.32zm-6.25-.77c-.59-.59-1.54-.59-2.12 0L1.75 8.11c...
src/app.js
px3l/react-boilerplate
import React from 'react' import ReactDOM from 'react-dom' import injectTapEventPlugin from 'react-tap-event-plugin' import { Provider } from 'react-redux' import { applyMiddleware, compose, createStore, combineReducers } from 'redux' import { Router, hashHistory } from 'react-router' import { syncHistoryWithStore, rou...
app/containers/App.js
ycai2/visual-git-stats
// @flow import React, { Component } from 'react'; import type { Children } from 'react'; export default class App extends Component { props: { children: Children }; render () { return ( <div> {this.props.children} </div> ); } }
imports/ui/components/familyInfo/components/ParentOccupation.js
AdmitHub/ScholarFisher
import React, { Component } from 'react'; import Collapse from 'react-collapse'; export default class ParentOccupation extends Component { constructor(props) { super(props); this.state = { parentOccupationOpened: false }; this.handleParentOccupationOpened = this.handleParentOccupationOpened.bind(this); ...
src/components/Group.js
dialob/dialob-fill-ui
/** * Copyright 2016 ReSys OÜ * * 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 in...
src/parser/monk/brewmaster/modules/core/MasteryValue.js
FaideWW/WoWAnalyzer
import React from 'react'; import { Line as LineChart } from 'react-chartjs-2'; import SPELLS from 'common/SPELLS'; import HIT_TYPES from 'game/HIT_TYPES'; import Analyzer from 'parser/core/Analyzer'; import StatTracker from 'parser/shared/modules/StatTracker'; import LazyLoadStatisticBox from 'interface/others/LazyLoa...
examples/js/shopping-list/client/components/StaticImage.js
reimagined/resolve
import React from 'react' import { Image } from 'react-bootstrap' import { useStaticResolver } from '@resolve-js/react-hooks' const StaticImage = ({ src, ...otherProps }) => { const resolveStatic = useStaticResolver() return <Image {...otherProps} src={resolveStatic(src)} /> } export { StaticImage }
src/containers/TodoEditPage.js
kclowes/new-edit-blog-fe
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import { isEmpty } from 'lodash'; import { getTodo, updateTodo } from '../store/todos/actions'; import TodoEditForm from '../components/TodoEditForm'; export class TodoEditPage extends Component { c...
packages/material-ui-icons/src/Exposure.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M15 17v2h2v-2h2v-2h-2v-2h-2v2h-2v2h2zm5-15H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM5 5h6v2H5V5zm15 15H4L20 4v16z" /></g> , 'Exposure');
react-dev/pages/post.js
DeryLiu/DeryLiu.github.io
import React, { Component } from 'react'; import Paper from 'material-ui/Paper'; import { blueGrey800, grey50, teal900, green900, green500, teal500, cyan500 } from 'material-ui/styles/colors'; import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme'; import MuiThemeProvider from 'material-ui/styles/Mui...
client/src/components/LoadingSpinner/LoadingSpinner.js
timorieber/wagtail
import React from 'react'; import { STRINGS } from '../../config/wagtailConfig'; import Icon from '../../components/Icon/Icon'; /** * A loading indicator with a text label next to it. */ const LoadingSpinner = () => ( <span> <Icon name="spinner" className="c-spinner" />{` ${STRINGS.LOADING}`} </span> ); exp...
src/components/header/normal/lang-switcher.js
datea/datea-webapp-react
import React from 'react'; import classnames from 'classnames'; import Menu from '@material-ui/core/Menu'; import MenuItem from '@material-ui/core/MenuItem'; import MenuList from '@material-ui/core/MenuList'; import Button from '@material-ui/core/Button'; import {observer, inject} from 'mobx-react'; import {translatabl...
ajax/libs/6to5/1.11.15/browser-polyfill.js
iamJoeTaylor/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/client/public/signup/component.js
k-sheth/react-getting-started
'use strict'; const React = require('react'); const _ = require('./../../common/lodash'); const forms = require('./../../common/mixins/forms'); const debug = require('./../../common/mixins/dev-tools'); const {signup: {payload: signupSchema}} = require('./../../../shared/rest-api')(require('joi-browser'), _).users; cons...
src/svg-icons/av/equalizer.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvEqualizer = (props) => ( <SvgIcon {...props}> <path d="M10 20h4V4h-4v16zm-6 0h4v-8H4v8zM16 9v11h4V9h-4z"/> </SvgIcon> ); AvEqualizer = pure(AvEqualizer); AvEqualizer.displayName = 'AvEqualizer'; AvEqualizer...
generators/electron/modules/app/containers/DevTools.js
sahat/megaboilerplate
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q" > <LogMonitor /> ...
react/src/base/inputs/SprkCheckbox/SprkCheckboxGroup/SprkCheckboxGroup.js
sparkdesignsystem/spark-design-system
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import SprkErrorContainer from '../../SprkErrorContainer/SprkErrorContainer'; import SprkFieldError from '../../SprkFieldError/SprkFieldError'; import SprkHelperText from '../../SprkHelperText/SprkHelperTe...
Examples/simple-fcm-client/index.ios.js
riyaz942/react-native-fcm
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; import App from "./app/App"; export default class SimpleFcmClient extends Component { render() { return (...
src/client/components/HelloWorld.js
jahe/jahe-react-starter
import React from 'react'; import { FormattedRelative, FormattedMessage } from 'react-intl'; import moment from 'moment'; export default function HelloWorld() { return ( <h1 className="hw-headline"> <span> <FormattedMessage id="app.helloWorld.greeting" description="Greeting to w...
src/index.js
kleros/kleros-front
import React from 'react' import ReactDOM from 'react-dom' import App from './bootstrap/App' import store from './bootstrap/store' /** * Render App React component */ ReactDOM.render( <App store={store} />, document.getElementById('root') )
packages/react-scripts/fixtures/kitchensink/src/features/syntax/DefaultParameters.js
tharakawj/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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load(id = 0) { return [ { id: id + 1, name...
ajax/libs/raven.js/3.19.0/plugins/angular.js
wout/cdnjs
/*! Raven.js 3.19.0 (98bda52) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2017 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function(f) { if (typeof ...
app/javascript/components/conditions/SkipLogicFormField/SkipRuleFormField/injector.js
thecartercenter/elmo
import React from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'mobx-react'; import ConditionSetModel from '../../ConditionSetFormField/model'; import { provideConditionSetStore } from '../../ConditionSetFormField/utils'; import SkipRuleFormField from './component'; let forcedResetNonce = 0; ...
src/js/components/PostPreview.js
slavapavlutin/pavlutin-node
import React from 'react'; import { Link } from 'react-router-dom'; import Markdown from 'react-markdown'; import Icon from 'react-fontawesome'; import Tags from './Tags'; import { toHumanReadableDate } from '../utils'; import { Container, Header, Title, Meta, Description, Button, } from './PostPreview.styl...
exercise-06-solution/src/components/AddPokemonCard.js
learnapollo/pokedex-react
import React from 'react' import { withRouter } from 'react-router' import { graphql } from 'react-apollo' import gql from 'graphql-tag' import styled from 'styled-components' const Button = styled.div` background-color: ${props => props.save ? '#2BC3A1' : ''}; color: ${props => props.save ? 'white' : '#A3A3A3'}; ...
app/javascript/mastodon/components/avatar_overlay.js
robotstart/mastodon
import React from 'react'; import PropTypes from 'prop-types'; class AvatarOverlay extends React.PureComponent { render() { const {staticSrc, overlaySrc} = this.props; const baseStyle = { backgroundImage: `url(${staticSrc})` }; const overlayStyle = { backgroundImage: `url(${overlaySrc})...
ajax/libs/cyclejs-core/1.0.0-rc1/cycle.js
LeaYeh/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.Cycle = f()}})...
dapp/src/shared/components/app/add.js
airalab/DAO-IPCI
import React from 'react' import { Field } from 'redux-form' const renderField = ({ input, type, label, placeholder, disabled, className, meta: { touched, error } }) => { if (type === 'hidden') { return <input {...input} type={type} /> } return ( <div> {label} <input {...input} ...
react-flux-mui/js/material-ui/src/svg-icons/av/video-library.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvVideoLibrary = (props) => ( <SvgIcon {...props}> <path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8 12.5v-9l6 4.5-6 4.5z"/> </SvgIcon>...
src/components/game_stats.js
adamakers/Scoreboard
import React from 'react'; import styles from './../styles/game_stats.css'; const GameStats = ({stats}) => { return ( <section className="game-stats"> <div className="game-downs stat-box">DOWN <span className="num-box">1</span></div> <div className="game-togo stat-box">TO GO <span className="num-box...
ajax/libs/react-data-grid/1.0.17/react-data-grid.min.js
sufuf3/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th...
ajax/libs/flocks.js/1.6.0/flocks.js
tonytomov/cdnjs
/** @jsx React.DOM */ /* jshint node: true, browser: true, newcap: false */ /* eslint max-statements: 0, no-else-return: 0, brace-style: 0 */ /* eslint-env node,browser */ /** * The Flocks library module. Load this module and use either the * flocks <tt>flocks.createClass</tt> wrapper or the <tt>flocks...
packages/flow-runtime-docs/src/components/docs/TypeInferencePage.js
codemix/flow-runtime
/* @flow */ import React, { Component } from 'react'; import {observer} from 'mobx-react'; import Example from '../Example'; const inferenceCode = ` import t from 'flow-runtime'; const input = { id: 123, name: 'Sally', addresses: [ { line1: '123 Fake Street', isActive: true } ] }; const...
src/index.js
wework/careday-app
import { Provider } from 'react-redux'; import React from 'react'; import ReactDOM from 'react-dom'; import configureStore from 'common/redux/configureStore'; import 'stroller/core/index.scss'; import Routes from './routes'; const store = configureStore(); ReactDOM.render( <Provider store={store}> <Routes /> ...
app/assets/scripts/components/testimonials.js
openaq/openaq.github.io
import React, { Component } from 'react'; import { PropTypes as T } from 'prop-types'; import { environment } from '../config'; class Testimonials extends Component { constructor (props) { super(props); this.renderListItem = this.renderListItem.bind(this); } renderListItem (testimonial) { const { ...
vendor/laravel/framework/src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js
demoxu/blog
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; export default class Example extends Component { render() { return ( <div className="container"> <div className="row"> <div className="col-md-8 col-md-offset-2"> ...
docs/client/routes.js
draft-js-plugins/draft-js-plugins-v1
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/wrappers/App'; import Page from './components/wrappers/Page'; import NotFound from './components/pages/NotFound'; import Home from './components/pages/Home'; import Hashtag from './components/pages/Hashtag'; impo...
src/svg-icons/image/view-compact.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageViewCompact = (props) => ( <SvgIcon {...props}> <path d="M3 19h6v-7H3v7zm7 0h12v-7H10v7zM3 5v6h19V5H3z"/> </SvgIcon> ); ImageViewCompact = pure(ImageViewCompact); ImageViewCompact.displayName = 'ImageVie...
ajax/libs/ink/2.2.1/js/ink-all.js
stevermeister/cdnjs
(function() { 'use strict'; /** * @module Ink_1 */ /** * global object * * @class Ink */ // skip redefinition of Ink core if ('Ink' in window) { return; } // internal data /* * NOTE: * invoke Ink.setPath('Ink', '/Ink/'); before requiring local...
src/components/App.js
dominic-blain/viper-visualizer
import React from 'react'; import ReactDOM from 'react-dom'; import ActionCreators from '../actions/ActionCreators'; import { Provider, connect } from 'react-redux'; import store from '../store/store.js'; import styles from '../styles/main.less'; import { version } from '../../package.json'; // Components import Toolba...
src/components/pages/AuctionBidPage.js
mm-taigarevolution/tas_web_app
import React from 'react'; import PropTypes from 'prop-types'; import {connect} from 'react-redux'; import {bindActionCreators} from 'redux'; import * as auctionActions from '../../actions/auctionActions'; import * as timerActions from '../../actions/timerActions'; import * as bidActions from '../../actions/bidActions'...
src/svg-icons/action/change-history.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionChangeHistory = (props) => ( <SvgIcon {...props}> <path d="M12 7.77L18.39 18H5.61L12 7.77M12 4L2 20h20L12 4z"/> </SvgIcon> ); ActionChangeHistory = pure(ActionChangeHistory); ActionChangeHistory.display...
ajax/libs/react-instantsearch/3.2.1/Dom.js
cdnjs/cdnjs
/*! ReactInstantSearch 3.2.1 | © Algolia, inc. | https://community.algolia.com/instantsearch.js/react/ */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define ...
packages/material-ui-icons/src/KeyboardReturnTwoTone.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="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7h-2z" /></g></React.Fragment> , 'KeyboardReturnTwoTone');
src/main/webapp/extjs/src/form/Panel.js
martinvale/propial
/* This file is part of Ext JS 4.2 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in...
ajax/libs/yasgui/1.0.0/yasgui.min.js
upgle/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/desktop/apps/order/client.js
xtina-starr/force
import { buildClientApp } from "reaction/Artsy/Router/client" import { data as sd } from "sharify" import { routes } from "reaction/Apps/Order/routes" import mediator from "desktop/lib/mediator.coffee" import React from "react" import ReactDOM from "react-dom" import styled from "styled-components" import User from "de...
src/Well.js
bvasko/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Well = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'well' }; }, render() { let classes = this.getBsClassSet(); return ( <di...
src/svg-icons/av/fiber-dvr.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFiberDvr = (props) => ( <SvgIcon {...props}> <path d="M17.5 10.5h2v1h-2zm-13 0h2v3h-2zM21 3H3c-1.11 0-2 .89-2 2v14c0 1.1.89 2 2 2h18c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zM8 13.5c0 .85-.65 1.5-1.5 1.5H3V9h3.5c.8...
app/jsx/grading/GradingPeriodSet.js
djbender/canvas-lms
/* * Copyright (C) 2016 - 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...
test/src/label-group/index.js
yummies/core-components
import TestUtils from 'react-addons-test-utils'; import React from 'react'; import ReactDOM from 'react-dom'; import { expect } from 'chai'; import { renderOnce } from 'test/helpers/render'; import LabelGroup from '#label-group'; describe('labelGroup', () => { describe('basic', () => { it('exists', () => ...
src/index.js
rhodiumlabs/rhodium-website
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux' import { Router, Route, browserHistory } from 'react-router' import { syncHistoryWithStore, routerReducer } from 'react-router-redux' import { configureStore } from './store/configureStore'; import routes from './routes...
ajax/libs/primeui/3.0.0/primeui.js
sajochiu/cdnjs
/* * PrimeUI 3.0.0 * * Copyright 2009-2016 PrimeTek. * * 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 applicab...
analysis/deathknightblood/src/modules/features/DancingRuneWeapon.js
yajinni/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import SpellUsable from 'parser/shared/modules/SpellUsable'; import Abilities from 'parser/core/modules/Abilities'; import { t } from '@lingui/macro'; ...
ajax/libs/mediaelement/1.1.1/jquery.js
JohnKim/cdnjs
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
app/main.js
Charmatzis/cargo-project
import React from 'react'; import { render } from 'react-dom'; import MapView from "./MapView"; import styles from './Leaflet.Coordinates-0.1.5.css'; const example = ( <MapView /> ) render(example, document.getElementById('app'));
app/components/Footer/index.js
Luandro-com/repsparta-web-app
/** * * Footer * */ import React from 'react'; import Loader from 'halogen/PulseLoader'; import styles from './styles.css'; import Divider from './divider2.svg'; import BotDivider from './footer.svg'; import Facebook from './facebook.png'; function Footer({footer}) { function createMarkup() { return {__html: foote...
app/javascript/mastodon/containers/timeline_container.js
codl/mastodon
import React from 'react'; import { Provider } from 'react-redux'; import PropTypes from 'prop-types'; import configureStore from '../store/configureStore'; import { hydrateStore } from '../actions/store'; import { IntlProvider, addLocaleData } from 'react-intl'; import { getLocale } from '../locales'; import PublicTim...
src/components/SvgIcons.js
g8extended/Character-Generator
import React from 'react'; export default ( () => ( <svg style={{ display: 'none' }} version="1.1" id="icons" xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 26 26" enableBackground="new 0 0 26 26" xmlSpace="preserve"> <path id="twitter-ico...
node_modules/react-icons/fa/google-plus.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaGooglePlus = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25.2 20.3q0 3.6-1.6 6.5t-4.3 4.4-6.5 1.6q-2.6 0-5-1t-4.1-2.7-2.7-4.1-1-5 1-5 2.7-4.1 4.1-2.7 5-1q5 0 8.6 3.3l-3.5 3.4q-2-2-5.1-2-2.1 0-4 1.1t-2.8 2.9-1.1 4.1 1.1 ...
frontend/Editor/TextElements/Link/Link.js
fdemian/Morpheus
import React from 'react'; import {Entity} from 'draft-js'; const Link = (props) => { const {url} = Entity.get(props.entityKey).getData(); return ( <a href={url}>{props.children}</a> ); }; export default Link;
packages/react-router-website/modules/examples/RouteConfig.js
justjavac/react-router-CN
import React from 'react' import { BrowserRouter as Router, Route, Link } from 'react-router-dom' // 一些程序员喜欢把路由配置集中到一个地方,要知道路由的配置其实只是普通的数据 // 在把数据映射到组件上这方面,React 非常强大,并且,这里的 <Route> 就是一 // 个普通的组件。 //////////////////////////////////////////////////////////// // 我们先来定义route相关的组件。 const Main = () => <h2>主页</h2> c...
src/parser/monk/brewmaster/modules/spells/GiftOfTheOx.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import { formatNumber } from 'common/format'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import StatisticBox from 'interface/others/StatisticBox'; imp...
packages/material-ui-icons/src/FilterCenterFocus.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><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 9c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z" ...
react/features/base/react/components/native/HeaderLabel.js
gpolitis/jitsi-meet
// @flow import React, { Component } from 'react'; import { Text, View } from 'react-native'; import { ColorSchemeRegistry } from '../../../color-scheme'; import { translate } from '../../../i18n'; import { connect } from '../../../redux'; /** * The type of the React {@code Component} props of {@link HeaderLabel}. ...
ajax/libs/hyperform/0.8.2/hyperform.amd.js
jdh8/cdnjs
/*! hyperform.js.org */ define(function () { 'use strict'; var registry = Object.create(null); /** * run all actions registered for a hook * * Every action gets called with a state object as `this` argument and with the * hook's call arguments as call arguments. ...
files/mui/1.1.19-rc1/react/mui-react.js
yyx990803/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);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports...
src/issues/UserDisplay.js
evandavis/react-github-issues
import React from 'react'; const UserDisplay = ({user, className}) => { return ( <div className={`user-display ${className}`}> <img src={`${user.avatar_url}&s=32`} alt={user.login} className='user-display-avatar' /> <span className='user-display-name'>{user.login}</span> </div> ); } export def...
src/components/sketched/SketchPresetColors.js
conorhastings/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' import shallowCompare from 'react-addons-shallow-compare' export class SketchPresetColors extends ReactCSS.Component { shouldComponentUpdate = shallowCompare.bind(this, this, arguments[0], arguments[1]) classes(): any { return...
client/extensions/woocommerce/woocommerce-services/components/number-field/number-input.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; /** * Internal dependencies */ import FormTextInput from 'components/forms/form-text-input'; export default class NumberInput extends Component { static propTypes = { onChange: PropTypes...
yycomponent/breadcrumb/Item.js
77ircloud/yycomponent
import React from 'react'; import { Breadcrumb } from 'antd'; class Item extends React.Component{ constructor(props){ super(props); } render(){ return (<Breadcrumb.Item {...this.props}/>); } } export default Item
__tests__/components/TBD-test.js
nickjvm/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import TBD from '../../src/js/components/TBD'; describe('TBD', () => { it('has correct default options', () => { const component = renderer.create( <TBD /> ); ...
client/app/bundles/PartyMode/parties/containers/partyItems/PartyItems.js
lrosskamp/makealist-public
import React from 'react' import { connect } from 'react-redux' import * as globalSelectors from '../../../selectors' import * as s from '../../selectors' import ui from '../../../ui' import PartyItems from '../../components/partyItems/PartyItems' const mapStateToProps = (state) =>({ categoriesWithItemsWithMemberIds...
src/components/MenuButton.js
germtb/react-redux-burguer-menu
import React from 'react'; import PureRenderMixin from 'react-addons-pure-render-mixin'; import {store} from '../store'; import {HoverButton} from './HoverButton'; import Radium from 'radium'; const divStyle = { fontSize: '25px', marginLeft: '20px', marginRight: '20px', marginBottom: '20px', }; const imageSty...
lib-module-dev/layout/Html.js
turacojs/fody
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; }; var _jsxFileName = 'layout/Html.jsx', _this = this; impo...
src/app/jquery.min.js
viking/hourglass
/*! * 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. ...
components/modal/subscriptions-modal/dataset-manager/component.js
resource-watch/resource-watch
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import isEqual from 'lodash/isEqual'; // components import CustomSelect from 'components/ui/CustomSelect'; import Field from 'components/form/Field'; import Input from 'components/form/Input'; const EMPT...
test/regressions/site/src/tests/Checkbox/SimpleCheckbox.js
und3fined/material-ui
// @flow weak import React from 'react'; import Checkbox from 'material-ui/Checkbox'; export default function SimpleCheckbox() { return <Checkbox />; }
files/highcharts/4.1.1/highcharts.src.js
Swatinem/jsdelivr
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.1.1 (2015-02-17) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clear...
packages/material-ui-icons/lib/FormatItalicTwoTone.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")...
data-browser-ui/public/app/components/tableComponents/td/relationComponents/list.js
CloudBoost/cloudboost
import React from 'react'; import ReactDOM from 'react-dom'; import TextList from '../listComponents/textList.js' import BooleanList from '../listComponents/booleanList.js' import PasswordList from '../listComponents/passwordList.js' import ObjectList from '../listComponents/objectList.js' import GeoList from '../list...
src/js/components/Header.js
y04nqt/react-tuts
import React from 'react'; import Title from "./Header/Title"; export default class Header extends React.Component{ constructor(){ super(); this.name = 'Universe'; name = this.name; } handleChange(e){ const title = e.target.value; //don't forget to add the prop in the change method --duhhh ...
app/javascript/mastodon/features/direct_timeline/components/conversation.js
KnzkDev/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import StatusContainer from '../../../containers/status_container'; export default class Conversation extends ImmutablePureComp...
src/ModalHeader.js
lzcmaro/react-ratchet
import React from 'react'; import classnames from 'classnames'; import NavBar from './NavBar'; import Link from './Link'; let ModalHeader = React.createClass({ propTypes: { closeButton: React.PropTypes.bool }, getDefaultProps() { return { closeButton: true } }, contextTypes: { onModalHide: React.PropTy...
src/routes.js
tvarner/PortfolioApp
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import Application from './app/app'; import MainViewContainer from './app/components/pages/MainView/MainViewContainer'; import AboutPage from './app/components/pages/AboutPage/AboutPage'; // eslint-disable-line import/no-named-as-default impo...
docs/src/sections/NavbarSection.js
Terminux/react-bootstrap
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function NavbarSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> <An...
jquery-1.7.2.min.js
chamelea/jb-hiddenmenu
/*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde...
docs/src/app/components/pages/components/List/ExampleSettings.js
pradel/material-ui
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import Subheader from 'material-ui/Subheader'; import Divider from 'material-ui/Divider'; import Checkbox from 'material-ui/Checkbox'; import Toggle from 'material-ui/Toggle'; const ListE...
node_modules/react-dom/lib/ReactNodeTypes.js
yaolei/Node-Clound
/** * 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 same directory. * * */ 'use st...
ajax/libs/6to5/1.12.7/browser-polyfill.js
mzdani/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/classic/class/__tests__/ReactClassMixin-test.js
Jericho25/react
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails react-co...
node_modules/react/lib/ReactTransitionGroup.js
wrleskovec/thoughtcrime
/** * 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 same directory. * */ 'use strict...
docs/src/app/components/pages/components/Toggle/Page.js
barakmitz/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 toggleReadmeText from './README'; import ToggleExampleSimple from './Exam...
ajax/libs/forerunnerdb/1.3.721/fdb-legacy.min.js
pombredanne/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
node_modules/react-bootstrap/es/TabPane.js
geng890518/editor-ui
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
src/index.js
surabhig412/digital-clock
import React from 'react'; import ReactDom from 'react-dom'; import App from './App' import './index.css' ReactDom.render(<App />, document.getElementById('root'));