path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/svg-icons/maps/transfer-within-a-station.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsTransferWithinAStation = (props) => ( <SvgIcon {...props}> <path d="M16.49 15.5v-1.75L14 16.25l2.49 2.5V17H22v-1.5zm3.02 4.25H14v1.5h5.51V23L22 20.5 19.51 18zM9.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 ...
pages/guides/flow.js
Kagami/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/guides/flow', false, /\.md|\.js$/); const reqSource = require.context('!raw-loader!../../docs/src/pages...
taskflow-front-end/src/Main.js
maikowtesch/task-flow
import React, { Component } from 'react'; import LoginForm from './LoginForm'; import UserArea from './UserArea'; class Main extends Component { constructor(props) { super(props); // Setting state this.state = { token : '' }; this.registerToken = this.registerToken.bind(this); this.unRegisterToken = th...
docs/src/pages/component-demos/bottom-navigation/LabelBottomNavigation.js
dsslimshaddy/material-ui
// @flow weak import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { withStyles } from 'material-ui/styles'; import BottomNavigation, { BottomNavigationButton } from 'material-ui/BottomNavigation'; import RestoreIcon from 'material-ui-icons/Restore'; import FavoriteIcon from 'material-u...
tests/routes/Home/components/HomeView.spec.js
synchu/schema
import React from 'react' import { HomeView } from 'routes/Home/components/HomeView' import { render } from 'enzyme' describe('(View) Home', () => { let _component beforeEach(() => { _component = render(<HomeView />) }) it('Renders a welcome message', () => { const welcome = _component.find('h4') ...
client/src/components/settings/Theme.js
HKuz/FreeCodeCamp
import PropTypes from 'prop-types'; import React from 'react'; import { ControlLabel } from '@freecodecamp/react-bootstrap'; import TB from '../helpers/ToggleButton'; import './theme-settings.css'; const propTypes = { currentTheme: PropTypes.string.isRequired, toggleNightMode: PropTypes.func.isRequired }; expor...
packages/core/src/components/Panel/Panel.js
appearhere/bloom
// @flow import * as React from 'react'; import cx from 'classnames'; import Icon from '../Icon/Icon'; import css from './Panel.css'; export const PANEL_CONTEXT = { DEFAULT: 'default', BLACKOUT: 'blackout', ERROR: 'error', SUCCESS: 'success', }; type Props = { className?: string, context: typeof PAN...
03-oh-my-youtube/src/components/VideoListItem.js
posquit0/react-tutorial
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import './VideoListItem.css' class VideoListItem extends Component { render() { const { video, onVideoSelect } = this.props; const { title } = video.snippet; const thumbnail = video.snippet.thumbnails.default.url; return ...
ajax/libs/rxjs/2.2.21/rx.lite.compat.js
laurenceHR/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
docs/app/Examples/views/Feed/Variations/index.js
aabustamante/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const FeedVariationsExamples = () => ( <ExampleSection title='Variations'> <ComponentExample title='Size' description...
examples/counter/index.js
leolujuyi/redux
import React from 'react'; import Root from './containers/Root'; React.render( <Root />, document.getElementById('root') );
src/app/component/tool-layout/tool-layout.story.js
all3dp/printing-engine-client
import React from 'react' import {storiesOf} from '@storybook/react' import {action} from '@storybook/addon-actions' import {withState} from '@dump247/storybook-state' import ToolLayout from '.' import Button from '../button' const lorem = ` Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod t...
src/Sandbox/Drawer/Description.js
MLsandbox/MLsandbox
import React from 'react'; import './drawerStyles.css'; const Description = ({description}) => { return ( <div id="explanation-popup" className="modal fade" tabIndex="-1" role="dialog" aria-labelledby="exampleModalLiveLabel" style={{display: 'none'}} aria-hidden="true"> <div className="modal-dialog" role="...
src/PrivateRoute.js
merylturner/budget-app
import React from 'react'; import { Route, Redirect } from 'react-router-dom'; import { connect } from 'react-redux'; const PrivateRoute = ({ component: Component, render, user, status, ...rest }) => ( <Route { ...rest } render={props => { if (user) { return render ? render(props) : <Component ...
src/svg-icons/editor/border-style.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorBorderStyle = (props) => ( <SvgIcon {...props}> <path d="M15 21h2v-2h-2v2zm4 0h2v-2h-2v2zM7 21h2v-2H7v2zm4 0h2v-2h-2v2zm8-4h2v-2h-2v2zm0-4h2v-2h-2v2zM3 3v18h2V5h16V3H3zm16 6h2V7h-2v2z"/> </SvgIcon> ); E...
src/renderers/dom/client/utils/__tests__/getNodeForCharacterOffset-test.js
scottburch/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...
svg-icons/image/crop-rotate.js
NickZnaj/frozen_mui
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _react = require('react'); var _react2 = _interopRequireDefault(_react); var _pure = require('recompose/pure'); var _pure2 = _interopRequireDefault(_pure); var _SvgIcon = require('../../SvgIcon'); var _SvgIcon2 = _interopRequireDe...
components/TodoInput.js
lsgoulart/another-todo-list
import React, { Component } from 'react'; import actions from '../redux/actions'; require('./TodoInput.scss'); class TodoInput extends Component { constructor(props, context) { super(props, context); this.state = { inputText: '' } } handleChange(event) { this.s...
src/containers/practises/patterns/PatternDetailView.js
phodal/growth-ng
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { WebView, Dimensions } from 'react-native'; import HtmlHelper from '../../../utils/HtmlHelper'; import Helper from '../../../utils/helper'; import MarkdownHelper from '../../../utils/MarkdownHelper'; class PatternDetailView extends C...
app/containers/Event/EventAds/index.js
hlex/vms
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import _ from 'lodash'; import moment from 'moment'; // ====================================================== // Containers // ==============================...
app/containers/Root.prod.js
jpsierens/webpack-react-redux
import PropTypes from 'prop-types'; import React from 'react'; import { Provider } from 'react-redux'; import { Route } from 'react-router-dom'; import { ConnectedRouter } from 'react-router-redux'; import App from '../components/App'; export default function Root({store, history}) { return ( <Provider st...
src/svg-icons/notification/airline-seat-legroom-extra.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatLegroomExtra = (props) => ( <SvgIcon {...props}> <path d="M4 12V3H2v9c0 2.76 2.24 5 5 5h6v-2H7c-1.66 0-3-1.34-3-3zm18.83 5.24c-.38-.72-1.29-.97-2.03-.63l-1.09.5-3.41-6.98c-.34-.68-1.03-1....
misc/tabledrag.js
jansmath3/befairdc.org
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
ajax/libs/forerunnerdb/1.3.554/fdb-core+views.js
bootcdn/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...
components/TechGala/TechGalaBanner.js
uclaacm/website
import Image from 'next/image'; import React from 'react'; function TechGalaBanner() { return ( <div> <Image src={'/images/techgala/techgala-banner-dark.jpg'} alt="2021 tech gala banner" height={410} width={780}/> <div style={{ marginTop: '30px' }}> <h1>Tech Gala</h1> ...
src/TimeGridEvent.js
jquense/react-big-calendar
import clsx from 'clsx' import React from 'react' function stringifyPercent(v) { return typeof v === 'string' ? v : v + '%' } /* eslint-disable react/prop-types */ function TimeGridEvent(props) { const { style, className, event, accessors, rtl, selected, label, continuesPrior, ...
app/app.js
s0enke/react-boilerplate
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ // Needed for redux-saga es6 generator support import 'babel-polyfill'; /* eslint-disable import/no-unresolved */ // Load the favicon, the manifest.json file and the .htaccess file import 'file?name=[name].[ext]!./...
packages/material-ui-icons/src/LocalAirportRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M21 14.58c0-.36-.19-.69-.49-.89L13 9V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-7.51 4.69c-.3.19-.49.53-.49.89 0 .7.68 1.21 1.36 1L10 13.5V19l-...
fields/components/ItemsTableCell.js
ONode/keystone
import React from 'react'; import classnames from 'classnames'; function ItemsTableCell ({ className, ...props }) { props.className = classnames('ItemList__col', className); return <td {...props} />; }; module.exports = ItemsTableCell;
node_modules/react/lib/findDOMNode.js
wxtiles/wxtiles-map
/** * 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. * * @providesModu...
ajax/libs/forerunnerdb/1.3.394/fdb-core+persist.min.js
sajochiu/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...
app/components/fbgraph/FBGraph.js
JoeDahle/fic
// core import React from 'react'; import PropTypes from 'react'; // data import Graph from 'fb-react-sdk'; // components import NewsFeed from '../../components/newsFeed/NewsFeed'; import Loading from '../../components/loading/Loading'; import NavButton from '../../components/navbutton/NavButton'; import PostGraphSta...
src/svg-icons/image/flash-on.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlashOn = (props) => ( <SvgIcon {...props}> <path d="M7 2v11h3v9l7-12h-4l4-8z"/> </SvgIcon> ); ImageFlashOn = pure(ImageFlashOn); ImageFlashOn.displayName = 'ImageFlashOn'; ImageFlashOn.muiName = 'SvgIco...
pathfinder/vtables/appmap2cim/src/common/TableUtilities.js
leanix/leanix-custom-reports
import React from 'react'; import Utilities from './Utilities'; import Link from './Link'; import LinkList from './LinkList'; /* formatting functions for the table */ const OVERFLOW_CELL_STYLE = { maxHeight: '100px', overflow: 'auto' }; function formatLinkFactsheet(setup) { const baseUrl = Utilities.getFrom(setup...
public/js/jquery.min.js
kevinpapst/zendservertool
/*! jQuery v1.8.2 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d===...
src/example/Pages/Introduction/Contributors.js
mappmechanic/codelab-book
import React, { Component } from 'react'; const tableStyle = { display: 'flex', flexDirection: 'column', width: '100%', border: '1px solid #eaeaea' }; const rowStyle = { display: 'flex', flexDirection: 'row' }; const borderRow = { ...rowStyle, borderBottom: tableStyle.border } const rowHeadStyle = { ...r...
test/integration/css-fixtures/single-global/pages/_app.js
flybayer/next.js
import React from 'react' import App from 'next/app' import '../styles/global.css' class MyApp extends App { render() { const { Component, pageProps } = this.props return <Component {...pageProps} /> } } export default MyApp
app/components/Header/index.js
qiubit/lamp-experiment
import React from 'react'; import { FormattedMessage } from 'react-intl'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import A from './A'; import Img from './Img'; import NavBar from './NavBar'; import HeaderLink from './HeaderLink'; import messages from './messages'; im...
attic/gatsby/components/LinkList.js
staystatic/staystatic
import React from 'react' export default class LinkList extends React.Component { render() { const {links} = this.props; return ( <ul> {links.map( link => <li><a href={link.url}>{link.title}</a></li> )} </ul> ) } }
client/components/Footer.js
glenrage/another-chance
import React from 'react'; class Footer extends React.Component { render() { return ( <div className="row text-center footer"> <p> ©Colitas Sonrientes, Inc. is a 501 (c) (3) Non-Profit Public Charity </p> <a href=""> <img id="" src="" alt="" /> </a> ...
packages/material-ui-icons/src/Spa.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0zm13.97 21.49c-.63.23-1.29.4-1.97.51.68-.12 1.33-.29 1.97-.51zM12 22z" /><path fill="#607D8B" d="M8.55 12c-1.07-.71-2.25-1.27-3.53-1.61 1.28.34 2.46.9 3.53 1....
test/month_test.js
lmenus/react-datepicker
import React from 'react' import moment from 'moment' import Month from '../src/month' import Day from '../src/day' import range from 'lodash/range' import { mount, shallow } from 'enzyme' describe('Month', () => { function assertDateRangeInclusive (month, start, end) { const dayCount = end.diff(start, 'days') +...
ajax/libs/babel-core/4.7.0/browser.min.js
AMoo-Miki/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.babel=e()}}(function(){var e,n,l;return function t(e,n,...
rails/app/assets/javascripts/jquery.min.js
zehicle/crowbar-1
/*! jQuery v1.7 jquery.com | jquery.org/license */ (function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=...
node_modules/babel-traverse/lib/path/lib/hoister.js
Torgo13/CarWashApp
"use strict"; exports.__esModule = true; var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck"); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _getIterator2 = require("babel-runtime/core-js/get-iterator"); var _getIterator3 = _interopRequireDefault(_getIterator2); var _babel...
app/javascript/mastodon/features/ui/components/video_modal.js
pixiv/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import Video from '../../video'; import ImmutablePureComponent from 'react-immutable-pure-component'; export default class VideoModal extends ImmutablePureComponent { static propTypes = { m...
src/web/solutions/SolveError/SolveErrorPage.js
whybug/whybug-server
import React from 'react'; export var SolveErrorPage = React.createClass({ render() { return div({}, Header({user: this.props.user}), Section({className: 'hero'}, h1({}, this.props.solution.message || 'Create a solution')), Section({className: 'grey'}, S...
ajax/libs/react-bootstrap-table/3.3.8/react-bootstrap-table.min.js
joeyparrish/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.ReactBootstrapTable=t(require("react"),require("react-dom")):e.ReactBootstrapTable=t(e.React,e.R...
modules/Packing/ParentType.js
corbmanj/tote
import React from 'react' export default function ParentType (props) { const items = props.items.map((item, index) => { return ( <label key={index}> <input defaultChecked={item.packed} onChange={() => props.handleCheckboxChange('named', item.id)} type="checkbox" /> {item.name}{index === pro...
packages/bonde-admin/src/mobrender/widgets/adjustments/component.js
ourcities/rebu-client
/** * AdjustmentsForm * * Um componente para para submeter formulários de ajustes de widgets. */ import React from 'react' import { intlShape, FormattedMessage } from 'react-intl' import PropTypes from 'prop-types' import { FormGroup, ControlLabel, FormControl, ColorPicker, HelpBlock } from '@/components/...
docs/app/src/components/Anchor.js
tercenya/compendium
import React from 'react'; const Anchor = React.createClass({ propTypes: { id: React.PropTypes.oneOfType([ React.PropTypes.string, React.PropTypes.number ]) }, render() { return ( <a id={this.props.id} href={'#' + this.props.id} className="anchor"> <span className="anchor-ic...
ajax/libs/6to5/2.7.2/browser.js
underyx/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...
node_modules/react-native/node_modules/react-tools/src/classic/__tests__/ReactContextValidator-test.js
obipawan/react-native-rebound
/** * 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/flocks.js/1.0.2/flocks.js
dryajov/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...
Examples/UIExplorer/MapViewExample.js
code0100fun/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
src/control/content/components/CategoriesList.js
BuildFire/placesPlugin2
import React from 'react'; import CategoryListItem from './CategoryListItem'; class CategoriesList extends React.Component { constructor(props) { super(props); this.state = { name: '' }; } onChange(e) { this.setState({ name: e.target.value.length >= 20 ? e.target.va...
client/src/KryptChat.js
nux17/kryptchat
import React from 'react'; import { View, StyleSheet, ListView } from 'react-native'; import { NativeRouter, Route } from 'react-router-native'; import ListScreen from './ListScreen'; import LoginScreen from './LoginScreen'; import RegisterScreen from './RegisterScreen'; import ConvScreen from './ConvScreen'; import...
docs/app/Examples/modules/Dropdown/Content/DropdownExampleLabel.js
ben174/Semantic-UI-React
import React from 'react' import { Dropdown } from 'semantic-ui-react' const DropdownExampleLabel = () => ( <Dropdown text='Filter' floating labeled button className='icon'> {/* <i class="filter icon"></i> */} <Dropdown.Menu> <Dropdown.Header icon='tags' content='Filter by tag' /> <Dropdown.Divid...
src/web/solutions/Search/SolutionFilter.js
whybug/whybug-server
import React from 'react'; export var SolutionFilter = React.createClass({ propTypes: { filters: React.PropTypes.object, title: React.PropTypes.string }, render() { if (!this.props.filters) { return null; } return ( <label> {...
public/lib/bootstrap/docs/assets/js/jquery.js
tkschmidt/unitedRPG
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function( window, undefined ) { // Use the correct document accordingly with window argument (sandbox) var document = window.document, navigator = window.navigator, location = window.location; var jQuery = (function() { // Define a local copy of jQuery var jQuer...
app/components/FooterComponent.js
tjinauyeung/customization-requests-app
import React from 'react'; import _ from 'lodash'; class Footer extends React.Component { render() { return ( <footer className={this.props.scrollDirection === 'bottom' ? 'is-hidden' : ''}> { _.isEmpty(this.props.activeRequest) ? 'Search for customization or type `all` to get list of...
ajax/libs/rxjs/2.3.22/rx.lite.js
2947721120/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
ajax/libs/webshim/1.15.8/dev/shims/moxie/js/moxie-html4.js
stefanneculai/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
docs/src/app/components/pages/components/Slider/ExampleAxis.js
andrejunges/material-ui
import React from 'react'; import Slider from 'material-ui/Slider'; /** * The orientation of the slider can be reversed and rotated using the `axis` prop. */ const SliderExampleAxis = () => ( <div style={{display: 'flex', height: 124, flexDirection: 'row', justifyContent: 'space-around'}}> <Slider style={{heig...
fields/types/cloudinaryimage/CloudinaryImageColumn.js
riyadhalnur/keystone
import React from 'react'; import CloudinaryImageSummary from '../../components/columns/CloudinaryImageSummary'; import ItemsTableCell from '../../../admin/client/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/client/components/ItemsTableValue'; var CloudinaryImageColumn = React.createClass({ ...
ajax/libs/material-ui/5.0.0-alpha.29/TableSortLabel/TableSortLabel.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward'...
ajax/libs/react-highcharts/8.4.1/ReactHighmaps.src.js
hare1039/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts/highmaps")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts/highmaps"], factory); else if(type...
src/Parser/Hunter/Survival/Modules/Features/MongooseFury/SixBiteWindows.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS/index'; import Analyzer from 'Parser/Core/Analyzer'; import StatisticBox from 'Main/StatisticBox'; import SpellIcon from 'common/SpellIcon'; import STATISTIC_ORDER from 'Main/STATISTIC_ORDER'; const MAX_STACKS = 6; class SixBiteWindows extends Analyzer { ...
js/jqwidgets/demos/react/app/chart/areaseries/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxChart from '../../../jqwidgets-react/react_jqxchart.js'; class App extends React.Component { render() { let source = { datatype: 'csv', datafields: [ { name: 'Date' }, ...
src/index.js
yazonnile/react-redux-builder
'use strict'; import React from 'react'; import { createStore, combineReducers, compose, applyMiddleware } from 'redux'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import thunk from 'redux-thunk'; import reducers from './reducers'; import Root from './components/root'; const store = cr...
src/render/Lick/LickView.js
hugo-cardenas/lickit
import PropTypes from 'prop-types'; import React from 'react'; import Player from '../Audio/Player'; import radium from 'radium'; import ReactTooltip from 'react-tooltip'; const propTypes = { lick: PropTypes.shape({ id: PropTypes.string.isRequired, artist: PropTypes.string.isRequired, descr...
packages/react-reconciler/src/__tests__/ReactNewContext-test.internal.js
chenglou/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; let ReactFeatureFlags = require('shared/ReactFeatureFlags'); let React = require('react')...
ajax/libs/cignium-hypermedia-client/1.27.0/client.min.js
cdnjs/cdnjs
var Cignium=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default...
src/routes/chart/areaChart/index.js
caijinchun/hsweb-antd
import React from 'react' import { Row, Col, Card, Button } from 'antd' import Container from '../Container' import * as d3 from 'd3-shape' import { AreaChart, Area, XAxis, YAxis, CartesianGrid, Tooltip, } from 'recharts' const data = [ { name: 'Page A', uv: 4000, pv: 2400, amt: 2400, }...
frontend/js/components/environments/Home.js
wbprice/okcandidate-platform
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import Card from './../atoms/Card'; class Home extends Component { constructor(props) { super(props); } render() { return ( <section className="home"> ...
js/components/taskAdd/tabAtributes.js
bsusta/HelpdeskAppTemplate
import React, { Component } from 'react'; import { View, Card, CardItem, Body, Container, Content, Icon, Input, Item, Label, Text, Footer, FooterTab, Button, Picker } from 'native-base'; import { withApollo, graphql } from 'react-apollo'; import styles from './styles'; import { connect } from 'react-redux'; import { c...
src/SocialConnectCompositeOne/index.js
christianalfoni/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import styles from './styles.css'; import SocialConnect from "../SocialConnect"; import Typography from "../Typography"; function SocialConnectCompositeOne(props) { return ( <div className={styles.socialConnectWrapper} > <Typography cla...
packages/react-scripts/fixtures/kitchensink/src/features/env/ExpandEnvVariables.js
peopleticker/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 from 'react'; export default () => ( <span> <span id="feature-expand-env-1">{process.env.REACT_APP_BASIC}</span> ...
packages/material-ui-icons/src/FlipToBackRounded.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="M9 7H7v2h2V7zm0 4H7v2h2v-2zm0-8c-1.11 0-2 .9-2 2h2V3zm4 12h-2v2h2v-2zm6-12v2h2c0-1.1-.9-2-2-2zm-6 0h-2v2h2V3zM9 17v-2H7c0 1.1.89 2 2 2zm10-4h...
githubApp/index.ios.js
anchoretics/ztf-work-app
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; // import { Container, Content, ListItem, Left, Body, Right, Switch, Radio, Text, Icon, Badge } from 'native-base' import setup from './js/...
src/isomorphic/deprecated/__tests__/cloneWithProps-test.js
kieranjones/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...
analysis/demonhuntervengeance/src/modules/spells/DemonSpikes.js
anom0ly/WoWAnalyzer
import { t } from '@lingui/macro'; import { formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import SCHOOLS from 'game/MAGIC_SCHOOLS'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import Spel...
js/pages/tola_management_pages/user/index.js
mercycorps/TolaActivity
import React from 'react'; import ReactDOM from 'react-dom'; import {UserStore} from './models'; import {IndexView} from './views'; const app_root = '#app_root' /* * Model/Store setup */ const store = new UserStore(jsContext); ReactDOM.render( <IndexView store={store} />, document.querySelector(app_root) )...
test/BadgeSpec.js
Azerothian/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Badge from '../src/Badge'; describe('Badge', function () { it('Should output a badge with content', function () { let instance = ReactTestUtils.renderIntoDocument( <Badge> <strong>Content</strong> </Badge...
packages/material-ui-icons/src/SpeakerNotesOff.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SpeakerNotesOff = props => <SvgIcon {...props}> <path d="M10.54 11l-.54-.54L7.54 8 6 6.46 2.38 2.84 1.27 1.73 0 3l2.01 2.01L2 22l4-4h9l5.73 5.73L22 22.46 17.54 18l-7-7zM8 14H6v-2h2v2zm-2-3V9l2 2H6zm14-9H4...
packages/demos/todomvc/src/components/Todo/index.js
yusufsafak/cerebral
import React from 'react' import classnames from 'classnames' import { connect } from 'cerebral/react' import { state, signal, props } from 'cerebral/tags' export default connect( { todo: state`todos.${props`uid`}`, todoDoubleClicked: signal`todoDoubleClicked`, newTitleChanged: signal`todoNewTitleChanged...
presentation/index.js
jerson/docker-azure
// Import React import React from 'react' import ReactDOM from 'react-dom' // Import Spectacle Core tags import {Appear, BlockQuote, Cite, Deck, Heading, Image, Link, List, ListItem, Quote, S, Slide, Text} from 'spectacle' // Import image preloader util import preloader from 'spectacle/lib/utils/preloader' // Import th...
test/specs/shape/DotSpec.js
scostaqb/recharts
import React from 'react'; import { expect } from 'chai'; import { Surface, Dot } from 'recharts'; import { mount, render } from 'enzyme'; describe('<Dot />', () => { it('Render 1 circle in simple Dot', () => { const wrapper = render( <Surface width={400} height={400}> <Dot cx={100} cy={100} r={5} ...
src/components/structures/RoomSubList.js
aperezdc/matrix-react-sdk
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2017 Vector Creations Ltd Copyright 2018 New Vector Ltd 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...
sbdw/public/js/jsme/8A5BE1D6A9974B590142B4BAA15021E9.cache.js
brkrishna/freelance
jsme.onScriptDownloaded(['var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.jsme;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats(\'moduleStartup\', \'moduleEvalStart\');var $gwt_version = "2.5.1";var $strongName = \'8A5BE1D6A9974B590142B4BAA15021E9\';var $doc = $wnd.document;function __gwtStar...
archimate-frontend/src/main/javascript/components/view/nodes/model_i/plateau.js
zhuj/mentha-web-archimate
import React from 'react' import { BaseNodeLikeWidget } from '../_base' export const TYPE='plateau'; export class PlateauWidget extends BaseNodeLikeWidget { getClassName(node) { return 'a-node model_i plateau'; } }
src/Stepper/Stepper.spec.js
andrejunges/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Stepper from './Stepper'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Stepper />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node, context = {}) => { r...
src/components/modal-component.js
Lokiedu/libertysoil-site
/* This file is a part of libertysoil.org website Copyright (C) 2016 Loki Education (Social Enterprise) This program 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, either version 3 of the License, o...
src/Affix.js
JimiHFord/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import AffixMixin from './AffixMixin'; const Affix = React.createClass({ mixins: [AffixMixin], render() { let holderStyle = { top: this.state.affixPositionTop, // we don't want to expose the `style` property ...this.props.style...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
quentinbernet/quentinbernet.github.io
import React from 'react'; import { render } from 'react-dom'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; render(<HelloWorld />, document.getElementById('react-root'));
ajax/libs/mobx/2.6.5/mobx.min.js
jonobr1/cdnjs
/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */ "use strict";function e(e,n,r,o){return 1===arguments.length&&"function"==typeof e?V(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof n?V(e,n):1===arguments.length&&"string"==typeof e?t(e):t(n).apply(null,arguments)}function t(e){return...
frontend/app/routes.js
mcwright/heartattack_scheduler
/** * Created by orel- on 06/Dec/15. */ import React from 'react'; import {Route} from 'react-router'; import App from './components/App'; import Home from './components/Home'; var fs = require('fs'); // React-router will handle routing by itself. So you are, basically, not switching pages, it just looks like so /...
src/icons/AudiotrackIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class AudiotrackIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M24 6v18.55c-.94-.33-1.94-.55-3-.55-4.97 0-9 4.03-9 9s4.03 9 9 9c4.63 0 8.4-3.51 8.9-8h.1V12h8V6H24z"/>...
src/svg-icons/action/delete.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionDelete = (props) => ( <SvgIcon {...props}> <path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/> </SvgIcon> ); ActionDelete = pure(ActionDelete); ActionDelete.display...
nodejs/static/javascripts/admin/components/HeaderNavbar.js
shen100/wemall
import React, { Component } from 'react'; export default class extends React.Component { render() { let logoStyle = { display: this.props.collapsed ? 'none' : 'block' }; let togglerStyle = {}; if (this.props.collapsed) { togglerStyle.marginLeft = '22px'; } return ( ...