path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
actor-apps/app-web/src/app/components/common/MessageItem.react.js
VikingDen/actor-platform
import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import memoize from 'memoizee'; import classNames from 'classnames'; import emojify from 'emojify.js'; import hljs from 'highlight.js'; import marked from 'marked'; import emojiCharacters from 'emoji-named-characters'; ...
frontend/src/components/siteComponents/TermsAndPolicies/index.js
webrecorder/webrecorder
import React from 'react'; import { Helmet } from 'react-helmet'; import { Button } from 'react-bootstrap'; import { supportEmail } from 'config'; import './style.scss'; function TermsAndPolicies() { const scrollTo = (evt, to) => { evt.preventDefault(); window.history.replaceState({}, '', `#${to}`); c...
src/browser/posts/PostPage.js
reedlaw/read-it
// @flow import linksMessages from '../../common/app/linksMessages'; import React from 'react'; import type { State, Post, User } from '../../common/types'; import { Box } from '../../common/components'; import { Title } from '../components'; import { connect } from 'react-redux'; const PostPage = () => ( <Box> ...
transitions/app/MyNavigator.js
lintonye/react-native-diary
// @flow import React, { Component } from 'react'; import { View, Text, BackAndroid, } from 'react-native'; import type {NavigationRoute } from 'react-native'; import PhotoGridScreen from './PhotoGridScreen'; import PhotoDetail from './PhotoDetail'; import PhotoMoreDetail from './PhotoMoreDetail'; import...
packages/material-ui-icons/src/BorderTopTwoTone.js
allanalexandre/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 19h2v2h-2zM3 19h2v2H3zM11 19h2v2h-2zM3 11h2v2H3zM3 15h2v2H3zM7 19h2v2H7zM11 7h2v2h-2zM11 11h2v2h-2zM3 7h2v2H3zM3 3h18v2H3zM11 15h2v2h-2zM...
example/src/app.js
oliverbenns/redux-ghost
import React from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { actions } from 'redux-ghost'; import JsonTree from 'react-json-tree'; import './app.css'; const App = ({ actions, blog }) => { return ( <div className="wrapper"> <h1>Redux Ghost Blog</h1...
webapp/app/components/EditUser/Form/Password/index.js
EIP-SAM/SAM-Solution-Server
// // Component password form in edit user page // import React from 'react'; import { FormGroup, FormControl, ControlLabel, HelpBlock } from 'react-bootstrap'; import styles from 'components/EditUser/styles.css'; /* eslint-disable react/prefer-stateless-function */ export default class EditUserFormPassword extends R...
src/components/SidebarList/VersionSecondaryList/VersionListItem.js
SemaiCZE/perf-data-visualizer
import React from 'react'; import PropTypes from 'prop-types'; import { Row, Col, Button, OverlayTrigger, Tooltip } from 'react-bootstrap'; import { isTestDataReady, isTestDataLoading, hasTestDataFailed, isTestDataEmpty } from '../../../utils/stateSelectors'; import { VersionIcon } from '../../../icons'; impor...
src/app/development/DevelopmentByNeighborhood.js
cityofasheville/simplicity2
import React from 'react'; import PropTypes from 'prop-types'; import L from 'leaflet'; import { graphql } from 'react-apollo'; import moment from 'moment'; import gql from 'graphql-tag'; import LoadingAnimation from '../../shared/LoadingAnimation'; import Error from '../../shared/Error'; import PieChart from '../../sh...
d3-react/src/modules/nfl/strings.js
bobholt/d3-experiments
import {defineMessages} from 'react-intl'; export default defineMessages({ heading_passing: { id: 'heading.passing', description: 'Heading for Passing Stats', defaultMessage: 'NFL QB Passing Stats', }, label_xaxis: { id: 'label.xaxis', description: 'Label for the x-axis select box', defau...
main.js
firdiansyah/crud-req
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, Link, hashHistory, browserHistory, IndexRoute } from 'react-router'; import EntryItemContainer from './container/EntryItemContainer' import EntryItem from './components/master/EntryItem' import GridListItem from './components/master/...
node_modules/rebass/test/Pre.spec.js
HasanSa/hackathon
import React from 'react' import TestUtils from 'react-addons-test-utils' import expect from 'expect' import { Pre, Base } from '../src' const renderer = TestUtils.createRenderer() describe('Pre', () => { let tree beforeEach(() => { renderer.render(<Pre />) tree = renderer.getRenderOutput() }) it('...
frontend/app/components/Content/PageHeader.js
briancappello/flask-react-spa
import React from 'react' /** * PageHeader * * Renders a viewport-wide background image, with optional overlapping * content specified as children. * * Example usage in a component: * * import image from './backgroundImage.png'; * * <PageHeader image={image} repeat="no-repeat" position="top left" * ...
src/components/UnitEntryList/UnitEntryList.js
taylordevereaux/ppu-compare
import React, { Component } from 'react'; import UnitEntryListItem from './UnitEntryListItem/UnitEntryListItem'; import { Button, ListGroup } from 'reactstrap'; import { Link } from 'react-router-dom'; import UnitSortDropDown from './UnitSortDropDown/UnitSortDropDown' import calculatePPU from '../../utilities/calculate...
Realization/frontend/czechidm-core/src/components/advanced/TabPanel/TabPanel.js
bcvsolutions/CzechIdMng
import React from 'react'; import PropTypes from 'prop-types'; import { useSelector } from 'react-redux'; import { useHistory } from 'react-router'; import classnames from 'classnames'; import _ from 'lodash'; // import { makeStyles } from '@material-ui/core/styles'; import AppBar from '@material-ui/core/AppBar'; impor...
packages/material-ui-icons/src/HearingRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M17 20c-.29 0-.56-.06-.76-.15-.71-.37-1.21-.88-1.71-2.38-.51-1.56-1.47-2.29-2.39-3-.79-.61-1.61-1.24-2.32-2.53C9.29 10.98 9 9.93 9 9c0-2.8 2.2-5 5-5 2.56 0 4.63 1.85 4.95 4.31.06.4.41.69.82.69h.34c.5 ...
src/pages/she-likes.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='She Likes' /> )
src/svg-icons/navigation/expand-less.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationExpandLess = (props) => ( <SvgIcon {...props}> <path d="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"/> </SvgIcon> ); NavigationExpandLess = pure(NavigationExpandLess); NavigationExpandLess.displa...
client/src/client.js
bi-cjny/jtts
import React from 'react'; import ReactDOM from 'react-dom'; import { story } from './story.js'; var reactMountRootId = 'app'; var App = React.createClass({ getInitialState: function(){ var initalHistory = []; var initialChoices = story.scenes.find(function(scene){ return scene._id ==...
ajax/libs/6to5/1.14.0/browser.js
bragma/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
app/assets/js/jquery-1.11.1.min.js
igorilic/dashboard
/*! 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...
ReactJS/class-2017-12-31/redux2/src/App.js
tahashahid/cloud-computing-2017
import React, { Component } from 'react'; import logo from './logo.svg'; import './App.css'; import P1 from './com1'; import P2 from './com2'; class App extends Component { render() { return ( <div className="App"> <P1/> <br/> <P2/> </div> ); } } export default App;...
ReactNativeExampleApp/node_modules/react-native/Libraries/CustomComponents/Navigator/Navigator.js
weien/Auth0Exercise
/** * Copyright (c) 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. * * Facebook,...
App/Components/MapCallout.js
NomadScience/Sonder
import React from 'react' import { Text, TouchableOpacity } from 'react-native' import MapView from 'react-native-maps' import Styles from './Styles/MapCalloutStyle' type MapCalloutProps = { location: Object, onPress: () => void } export default class MapCallout extends React.Component { props: MapCalloutProps ...
ajax/libs/extjs/4.2.1/src/layout/container/Box.js
kartikrao31/cdnjs
/* 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/angular-google-maps/2.0.4/angular-google-maps.js
terrymun/cdnjs
/*! angular-google-maps 2.0.4 2014-10-22 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ (function() { String.prototype.contains = function(value, fromIndex) { return this.indexOf(value, fromIndex) !== -1; }; String.prototype.flare = function(flare)...
app/javascript/mastodon/features/ui/components/link_footer.js
gol-cha/mastodon
import { connect } from 'react-redux'; import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage, defineMessages, injectIntl } from 'react-intl'; import { Link } from 'react-router-dom'; import { invitesEnabled, limitedFederationMode, version, repository, source_url, profile_directory as ...
packages/example-with-styleguidist/src/components/Button/Button.js
RafalFilipek/fela
import React from 'react' import PropTypes from 'prop-types' import { createComponent } from 'react-fela' // declare fela styles const __buttonStyle = props => ({ padding: '.5em 1.5em', color: `${props.color || props.theme.colorGrey}`, 'background-color': props.theme.colorWhite, border: '1px solid currentColor...
src/components/Footer/Footer.js
xitman78/reactpro
/** * 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 withStyle...
docs/includes/Faq.js
harjeethans/materialistic
import React from 'react'; class Faq extends React.Component { render() { return ( <div> FAQ </div> ); } } export default Faq;
ajax/libs/foundation/4.1.2/js/vendor/jquery.js
voronianski/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...
examples/with-kea/pages/index.js
JeromeFitz/next.js
import React from 'react' import PropTypes from 'prop-types' import { kea } from 'kea' const logic = kea({ path: () => ['kea'], actions: () => ({ increment: (amount) => ({ amount }), decrement: (amount) => ({ amount }), }), reducers: ({ actions }) => ({ counter: [ 0, PropTypes.number, ...
examples/es5/config/react.js
lore/lore
/** * Configuration file for React * * This file is where you define overrides for the default mounting behavior. */ // import React from 'react'; // import ReactDOM from 'react-dom'; // import { Provider } from 'react-redux'; // import { Router } from 'react-router'; export default { /** * ID of DOM Elemen...
docs/src/pages/components/steppers/VerticalLinearStepper.js
allanalexandre/material-ui
import React from 'react'; import { makeStyles } from '@material-ui/core/styles'; import Stepper from '@material-ui/core/Stepper'; import Step from '@material-ui/core/Step'; import StepLabel from '@material-ui/core/StepLabel'; import StepContent from '@material-ui/core/StepContent'; import Button from '@material-ui/cor...
node_modules/body-parser/node_modules/debug/src/browser.js
dan801212/mailServiceDemo
/** * This is the web browser implementation of `debug()`. * * Expose `debug()` as the module. */ exports = module.exports = require('./debug'); exports.log = log; exports.formatArgs = formatArgs; exports.save = save; exports.load = load; exports.useColors = useColors; exports.storage = 'undefined' != typeof chrom...
src/svg-icons/hardware/keyboard-arrow-left.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboardArrowLeft = (props) => ( <SvgIcon {...props}> <path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/> </SvgIcon> ); HardwareKeyboardArrowLeft = pure(HardwareKeyboardArrowLeft); Hardware...
packages/material-ui-icons/src/LocalGasStation.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M19.77 7.23l.01-.01-3.72-3.72L15 4.56l2.11 2.11c-.94.36-1.61 1.26-1.61 2.33 0 1.38 1.12 2.5 2.5 2.5.36 0 .69-.08 1-.21v7.21c0 .55-.45 1-1 1s-1-.45...
actor-apps/app-web/src/app/components/activity/UserProfile.react.js
akingyin1987/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import { IntlMixin, FormattedMessage } from 'react-intl'; import classnames from 'classnames'; import ContactActionCreators from 'actions/ContactActionCreators'; import DialogActionCreators from 'actions/DialogActionCreators'; im...
src/components/FieldHelp/index.js
mareklibra/userportal
import React from 'react' import ReactDOM from 'react-dom' import PropTypes from 'prop-types' import $ from 'jquery' import { Popover, OverlayTrigger } from 'react-bootstrap' import { msg } from '_/intl' import style from './style.css' /** * Renders underlined `text` with `tooltip`. * A popover is shown consisting...
packages/material-ui-icons/src/SignalWifi2BarLockRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M15.5 14.5c0-2.8 2.2-5 5-5 .36 0 .71.04 1.05.11L23.64 7c-.45-.34-4.93-4-11.64-4C5.28 3 .81 6.66.36 7l10.08 12.56c.8 1 2.32 1 3.12 0l1.94-2.42V14.5z" /><path d="M15.5 1...
app/containers/LocaleToggle/index.js
mhoffman/CatAppBrowser
/* * * LanguageToggle * */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import Toggle from 'components/Toggle'; import Wrapper from './Wrapper'; import messages from './messages'; import { appLocales } from '../../i18n'; import { changeLocale } from ...
packages/react-static/src/browser/context/routePathContext.js
nozzle/react-static
import React from 'react' export default React.createContext()
src/app/components/search/SearchResultsTable/NumberCell.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedNumber } from 'react-intl'; import { Link } from 'react-router'; import { makeStyles } from '@material-ui/core/styles'; import TableCell from '@material-ui/core/TableCell'; import { opaqueBlack10 } from '../../../styles/js/shared'; const ...
packages/react-server-website/components/assets/SvgLogo.js
doug-wade/react-server
import React from "react"; export default class SvgLogo extends React.Component { render () { return <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M18.1748,12.3857 C18.0788,12.4177 17.9638,12.4397 17.8648,12.4697 C17.6048,11.6547 17.2438,10.7817 16.8168,9.8797 C17.2198,9.0067 17.5708,8.1487 ...
src/svg-icons/image/gradient.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageGradient = (props) => ( <SvgIcon {...props}> <path d="M11 9h2v2h-2zm-2 2h2v2H9zm4 0h2v2h-2zm2-2h2v2h-2zM7 9h2v2H7zm12-6H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 18H7v-2h2v2z...
tests/react/createElementRequiredProp_string.js
gabro/flow
// @flow import React from 'react'; class Bar extends React.Component { props: { test: number, }; render() { return ( <div> {this.props.test} </div> ) } } class Foo extends React.Component { render() { const Cmp = Math.random() < 0.5 ? 'div' : Bar; return (<Cmp/>); ...
docs/layoutsExample/demos/SplitContent/index.js
Bandwidth/shared-components
import React from 'react'; import { SplitContentLayout } from '@bandwidth/shared-components'; import { Route, Switch } from 'react-router-dom'; import { ActionBarExpandingContent, Form, SidebarList } from '../widgets'; import Left from './Left'; import LeftComplex from './LeftComplex'; import Right from './Right'; impo...
test/PageHeaderSpec.js
chilts/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import PageHeader from '../src/PageHeader'; describe('PageHeader', function () { it('Should output a div with content', function () { let instance = ReactTestUtils.renderIntoDocument( <PageHeader> <strong>Content</str...
fields/types/date/DateField.js
everisARQ/keystone
import DateInput from '../../components/DateInput'; import Field from '../Field'; import moment from 'moment'; import React from 'react'; import { Button, InputGroup, FormInput } from 'elemental'; /* TODO: Implement yearRange Prop, or deprecate for max / min values (better) */ const DEFAULT_INPUT_FORMAT = 'YYYY-MM-DD...
examples/js/column-filter/text-filter.js
powerhome/react-bootstrap-table
/* eslint max-len: 0 */ import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; const products = []; function addProducts(quantity) { const startId = products.length; for (let i = 0; i < quantity; i++) { const id = startId + i; products.push({ id: id, ...
tests-unitclient/layouts/CoreLayout.spec.js
omelhoro/devshop-vtex
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import CoreLayout from 'layouts/CoreLayout/CoreLayout'; function shallowRender(component) { const renderer = TestUtils.createRenderer(); renderer.render(component); return renderer.getRenderOutput(); } function shallowRenderWithProps(p...
ajax/libs/reactive-coffee/0.0.2/reactive-coffee.min.js
DaneTheory/cdnjs
!function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L={}.hasOwnProperty,M=function(a,b){function c(){this.constructor=a}for(var d in b)L.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},N=[].slice,O=[].indexOf||function(a){for(var b...
src/container/TaggedEntrypoints.js
legendecas/material-swagger-ui
import { connect } from 'react-redux'; import _ from 'lodash'; import EntrypointList from '../component/EntrypointLists'; const TaggedEntrypoints = connect( state => ({ lists: _.map(state.definition.tags, tag => ({ title: tag.name, description: tag.description, entrypoints: _.filter...
ajax/libs/yui/3.10.0/event-focus/event-focus-min.js
cluo/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(...
demo/ButtonWithHigherOrder.js
brentertz/react-suitcssify
'use strict'; import React, { Component } from 'react'; import PropTypes from 'prop-types'; import SuitCssify from '../index'; import classNames from 'classnames'; class Button extends Component { static propTypes = { children: PropTypes.node, disabled: PropTypes.bool, getClassName: PropTypes.func.isReq...
contrib/webui/src/components/spinner/index.js
roscopecoltran/papernet
import PropTypes from 'prop-types'; import React from 'react'; const Spinner = ({ className, text }) => ( <span className={className}> <i className="fa fa-spinner fa-pulse fa-3x fa-fw" />{text} </span> ); Spinner.propTypes = { className: PropTypes.string, text: PropTypes.string, }; Spinner.defaultProps =...
tests/Rules-isEmail-spec.js
RMSAuto/formsy-react
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import Formsy from './..'; import { InputFactory } from './utils/TestInput'; const TestInput = InputFactory({ render() { return <input value={this.getValue()} readOnly/>; } }); const TestForm = React.createClass({ render() { re...
ajax/libs/angular.js/1.1.1/angular-scenario.min.js
Jonadabe/cdnjs
(function(e,t){"use strict";function n(e){var t=gt[e]={};return Z.each(e.split(tt),function(e,n){t[n]=!0}),t}function r(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(mt,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:ft.test(r)?Z...
ajax/libs/6to5/2.3.1/browser-polyfill.js
SirenHound/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
client/common/components/field-errors.js
jaketrent/gratigoose
import React from 'react' import styleable from 'react-styleable' import css from './field-errors.css' import * as errorsUtils from '../errors' const { string, arrayOf, shape } = React.PropTypes function renderError(props, error, i) { return ( <li key={i} className={props.css.error}> {error.detail} <...
lib/dadablog/generators/create/public/js/fancyBox/lib/jquery-1.7.1.min.js
hujinpu/dadablog
/*! jQuery v1.7.1 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 cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
src/svg-icons/notification/power.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPower = (props) => ( <SvgIcon {...props}> <path d="M16.01 7L16 3h-2v4h-4V3H8v4h-.01C7 6.99 6 7.99 6 8.99v5.49L9.5 18v3h5v-3l3.5-3.51v-5.5c0-1-1-2-1.99-1.99z"/> </SvgIcon> ); NotificationPower = pu...
src/Seguidor/Subject/Subject.js
UTNianos/frontend
import React from 'react'; import { Popover, Card } from 'antd'; import PopoverContent from '../Pendientes/Container'; import StatusDropdown from './StatusDropdown'; import './Subject.css'; const Subject = ({ subject, updateEstado }) => { if (subject.cursada) { return ( <div className="Subject"> <...
src/svg-icons/action/aspect-ratio.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAspectRatio = (props) => ( <SvgIcon {...props}> <path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"/> <...
modules/__tests__/Router-test.js
moudy/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import Router from '../Router' import Route from '../Route' describe('Router', function () { var node beforeEach(function () { node = document....
build.js
zuudo/astarisx-animate
var fs = require('fs'); var path = require('path'); var compressor = require('yuicompressor'); var browserify = require('browserify'); var writer = fs.createWriteStream(path.normalize('dist/astarisx-animate.js')); browserify({standalone: "AstarisxAnimate"}).add('./index.js') .exclude('jquery').exclude('react').bundle...
src/Accordion.js
jontewks/react-bootstrap
import React from 'react'; import PanelGroup from './PanelGroup'; const Accordion = React.createClass({ render() { return ( <PanelGroup {...this.props} accordion> {this.props.children} </PanelGroup> ); } }); export default Accordion;
server/sonar-web/src/main/js/apps/project-admin/quality-profiles/ProfileRow.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
src/webapp/components/_containers/AdminUsersContainer.js
nus-mtp/cubist
import React from 'react'; import Immutable from 'immutable'; import { connect } from 'react-redux'; import { UserActions } from 'webapp/actions'; const CLASS_NAME = 'cb-ctn-admin-users'; class AdminUsersContainer extends React.Component { static fetchData({ dispatch }) { return dispatch(UserActions.getUsers()...
addons/storyshots/storyshots-core/stories/directly_required/index.js
kadirahq/react-storybook
import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { Button } from '@storybook/react/demo'; storiesOf('Another Button', module) .add('with text', () => <Button onClick={action('clicked')}>Hello Button</Button>) .add('with some emoji',...
src/svg-icons/av/forward-10.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvForward10 = (props) => ( <SvgIcon {...props}> <path d="M4 13c0 4.4 3.6 8 8 8s8-3.6 8-8h-2c0 3.3-2.7 6-6 6s-6-2.7-6-6 2.7-6 6-6v4l5-5-5-5v4c-4.4 0-8 3.6-8 8zm6.8 3H10v-3.3L9 13v-.7l1.8-.6h.1V16zm4.3-1.8c0 .3 0...
src/shared/components/App/bits/header.js
brettsnaidero/bsd
import React, { Component } from 'react'; import { Link, NavLink } from 'react-router-dom'; // Utils import * as _ from "lodash"; import MobileNav from "./mobile-nav"; import Scroll from 'react-scroll'; const LocalLink = Scroll.Link; const Element = Scroll.Element; const Events = Scroll.Events; const scroll ...
examples/withRedux/client/index.js
Canner/coren
import React from 'react'; import ReactDOM from 'react-dom'; import Home from "./Home"; ReactDOM.render( <Home/> , document.getElementById('root'));
ajax/libs/rxjs/2.1.11/rx.modern.js
koggdal/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
src/js/components/nodes/registerNodes/driverFields/PXEAndIPMITool.js
knowncitizen/tripleo-ui
/** * Copyright 2017 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...
ajax/libs/react-slick/0.3.5/react-slick.min.js
wormful/cdnjs
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react")):"function"==typeof define&&define.amd?define(["react"],n):"object"==typeof exports?exports.Slider=n(require("react")):t.Slider=n(t.React)}(this,function(t){return function(t){function n(r){if(e[r])return e[r].exports;var...
renderer/components/Icon/ImportOnboarding.js
LN-Zap/zap-desktop
import React from 'react' const SvgImportOnboarding = props => ( <svg height="1em" viewBox="0 0 76 76" width="1em" {...props}> <g fill="none" fillRule="evenodd"> <path d="M38 1C17.565 1 1 17.565 1 38s16.565 37 37 37 37-16.565 37-37" stroke="currentColor" /> <path d="M38.19 37.40...
src/InputBase.js
erictherobot/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import FormGroup from './FormGroup'; import Glyphicon from './Glyphicon'; class InputBase extends React.Component { getInputDOMNode() { return React.findDOMNode(this.refs.input); } getValue() { if (this.props.type === 'static') { retu...
ajax/libs/angular-data/1.4.2/angular-data.js
ppoffice/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file angular-data.js * @version 1.4.2 - Homepage <http://angular-data.pseudobry.com/> * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/> * @license MIT <https://github.com/jmdobry/angular-data/blob/master/LICENSE> * * @overview Data store for Angular.js....
packages/react-scripts/fixtures/kitchensink/src/features/syntax/RestParameters.js
johnslay/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, ...rest }) { return [ { id:...
src/components/posts_new.js
richgurney/ReduxBlogBoilerPlate
import React, { Component } from 'react'; import { Field, reduxForm } from 'redux-form'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { createPost } from '../actions'; class PostsNew extends Component { renderField(field) { const { meta: { touched, error } } = field; ...
modules/gui/src/app/home/body/process/mapLayout/imageLayerSources.js
openforis/sepal
import {CrudItem} from 'widget/crudItem' import {Layout} from 'widget/layout' import {ListItem} from 'widget/listItem' import {Padding} from 'widget/padding' import {Scrollable, ScrollableContainer} from 'widget/scrollable' import {compose} from 'compose' import {getImageLayerSource} from 'app/home/map/imageLayerSource...
website/src/react-native/404.js
Wingie/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ v...
src/interface/icons/Mastery.js
sMteX/WoWAnalyzer
import React from 'react'; const icon = props => ( <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="16 16 32 32" className="icon" {...props}> <path d="M46.934,26.287c-1.107,0-2.004,0.885-2.004,1.976c0,0.31,0.079,0.599,0.208,0.861l-6.74,4.691 l-0.387-8.422c1.064-0.048,1.914-0.906,1.914-1.967c0-1.091...
src/EditableSelector/EditableSelector.driver.js
skyiea/wix-style-react
import React from 'react'; import ReactDOM from 'react-dom'; import selectorDriverFactory from '../Selector/Selector.driver'; import editableRowDriverFactory from './EditableRow/EditableRow.driver'; import ReactTestUtils from 'react-dom/test-utils'; import $ from 'jquery'; const editableSelectorDriverFactory = ({eleme...
generators/hello/templates/src/app/hello.spec.js
FountainJS/generator-fountain-react
/* eslint-env jasmine */ <% if (modules === 'webpack') { -%> var React = require('react'); var TestUtils = require('react-dom/lib/ReactTestUtils'); var Hello = require('./hello'); <% } -%> <% if (modules === 'systemjs') { -%> import React from 'react'; import TestUtils from 'react-dom/lib/ReactTestUtils'; import Hello ...
assets/node_modules/material-ui/lib/svg-icons/action/favorite.js
migzisreallywewwhat/techno-site
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var ActionFavorite = React.createClass({ displayName: 'ActionFavorite', mixins: [PureRenderMixin], render: function render() { return React.createElement( S...
src/svg-icons/av/fiber-dvr.js
mtsandeep/material-ui
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...
src/components/DatePicker.js
merrettr/school-ui
import React from 'react'; import FormControl from 'react-bootstrap/lib/FormControl'; const DatePicker = ({ date, placeholder, onChange }) => <div> <FormControl type="date" value={date} placeholder={placeholder} onChange={onChange} /> </div>; export default DatePicker;
admin/client/Signin/components/Brand.js
xyzteam2016/keystone
/** * Renders a logo, defaulting to the Keystone logo if no brand is specified in * the configuration */ import React from 'react'; const Brand = function (props) { // Default to the KeystoneJS logo let logo = { src: `${Keystone.adminPath}/images/logo.png`, width: 205, height: 68 }; if (props.logo) { // If th...
dapp/src/routes/complier/containers/page.js
airalab/DAO-IPCI
import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import _ from 'lodash' import i18next from 'i18next' import Layout from '../../../shared/components/common/layout' class Container extends Component { componentWillMount() { this.checkDao(this.props....
src/containers/verification/joblist/BrowseView.js
shojil/bifapp
/** * Receipe Tabs Screen * - Shows tabs, which contain receipe listings * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { View, StyleSheet, InteractionManager, ScrollView, Image, ...
app/containers/App/index.js
ko-ok/bikes
/** * * 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...
packages/material-ui-icons/src/WhatshotRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M17.09 4.56c-.7-1.03-1.5-1.99-2.4-2.85-.35-.34-.94-.02-.84.46.19.94.39 2.18.39 3.29 0 2.06-1.35 3.73-3.41 3.73-1.54 0-2.8-.93-3.35-2.26-.1-.2-.14-.32-.2-.54-.11-.42-.66-.55-.9-.18-.18.27-.35.54-.51.83...
src/docs/appbar/index.js
bfletcherbiggs/DocreactJS
import React from 'react'; import PropTypes from 'prop-types'; // import { AppBar } from 'react-toolbox'; import { Link } from 'react-router'; import Logo from '../logo'; import Navigation from '../navigation'; import style from './style.styl'; const MainAppBar = (props) => { let className = style.appbar; if (prop...
17_MVC/AJAXwithMVC-Homework/Web/Movies.MVC/Scripts/jquery-1.10.2.js
clangelov/TelerikAcademyHomework
/* 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...
node_modules/native-base/src/basic/Thumbnail.js
odapplications/WebView-with-Lower-Tab-Menu
import React, { Component } from 'react'; import { Image } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import computeProps from '../Utils/computeProps'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; class Thumbnail extends Component { render() { return ( <Image ...
files/react/0.11.0/react-with-addons.min.js
walkermatt/jsdelivr
/** * React (with addons) v0.11.0 * * Copyright 2013-2014 Facebook, 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 r...
ajax/libs/analytics.js/1.5.6/analytics.js
2947721120/cdnjs
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
src/components/Work-Old/Background/index.js
jmikrut/keen-2017
import React, { Component } from 'react'; import './Background.css'; class Background extends Component { render() { return ( <ul className="backgrounds" data-animate="1"> {this.props.work.map((work, i) => { let className = ''; let props = { key: work.title, className: `${className...