path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
client/modules/core/components/.stories/nav_user.js
kaibagoh/PitchSpot
import React from 'react'; import { storiesOf, action } from '@kadira/storybook'; import { setComposerStub } from 'react-komposer'; import NavUser from '../nav_user.jsx'; storiesOf('core.NavUser', module) .add('default view', () => { return ( <NavUser /> ); })
2016-04-declarative-charts/index.js
rosko/slides
import React from 'react'; import { render } from 'react-dom'; import Presentation from './presentation'; render(<Presentation/>, document.getElementById('root'));
docs/src/app/components/pages/components/LinearProgress/Page.js
rhaedes/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 linearProgressReadmeText from './README'; import LinearProgressExampleSim...
classic/src/scenes/mailboxes/src/Scenes/AppScene/Sidelist/SidelistControls/SidelistControlDownloads/SidelistControlDownloadsContextMenu.js
wavebox/waveboxapp
import React from 'react' import { settingsStore, settingsActions } from 'stores/settings' import shallowCompare from 'react-addons-shallow-compare' import { UISettings } from 'shared/Models/Settings' import { withStyles } from '@material-ui/core/styles' import { MenuItem, ListItemIcon, ListItemText } from '@material-u...
ajax/libs/angular.js/0.9.1/angular-scenario.min.js
linjunpop/cdnjs
/*! * jQuery JavaScript Library v1.4.2 * 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. ...
imports/client/ui/pages/NewDocument.js
mgscreativa/base
import React from 'react'; import DocumentEditor from '../components/DocumentEditor.js'; const NewDocument = () => ( <div className="NewDocument"> <h4 className="page-header">New Document</h4> <DocumentEditor /> </div> ); export default NewDocument;
test/RowSpec.js
coderstudy/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Row from '../src/Row'; describe('Row', function () { it('uses "div" by default', function () { let instance = ReactTestUtils.renderIntoDocument( <Row /> ); assert.equal(React.findDOMNode(instance).nodeName, 'D...
js/App.js
joordas/react-fem
import React from 'react' import { Match } from 'react-router' import { Provider } from 'react-redux' import store from './store' // importing external components: import preload from '../public/data.json' import AsyncRoute from './AsyncRoute' import Header from './Header' if (global) { global.System = { import ()...
app/components/Actions.js
desktop-assistant/desktop-assistant
// @flow import React, { Component } from 'react'; import { remote, screen } from 'electron'; import { Link } from 'react-router-dom'; import styles from './Actions.scss'; export default class Actions extends Component { state: { expanded: boolean }; constructor() { super(); this.state = { exp...
src/react/index.js
ali/redux-devtools
import React from 'react'; import createDevTools from '../createDevTools'; export const DevTools = createDevTools(React); export { default as LogMonitor } from './LogMonitor'; export { default as DebugPanel } from './DebugPanel';
doc/js/jquery.js
thebeansgroup/ems
/*! * jQuery JavaScript Library v1.5.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. ...
web/src/js/__tests__/components/Header/MainMenuSpec.js
ujjwal96/mitmproxy
jest.mock('../../../ducks/settings') import React from 'react' import renderer from 'react-test-renderer' import MainMenu, { setIntercept } from '../../../components/Header/MainMenu' import { Provider } from 'react-redux' import { update as updateSettings } from '../../../ducks/settings' import { TStore } from '../.....
examples/slorber-scalable-frontend/src/counter/Counter.js
ioof-holdings/redux-subspace
import React from 'react' import { connect } from 'react-redux' const Counter = ({ count }) => ( <p>Counter: {count}</p> ) const mapStateToProps = (state) => ({ count: state.count }) export default connect(mapStateToProps)(Counter)
packages/logos/src/postgresql.js
geek/joyent-portal
import React from 'react'; export default props => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 42 42" {...props}> <title>Artboard 1 copy 12</title> <path fill="#1B3240" d="M18.67 22.9l.1-.2c.1-.3.2-.5.3-.8.6-1.3 1.3-3 .5-6.9a1.75 1.75 0 0 0-1.2-1.4 6 6 0 0 0-3.9 1.1v.3a17.45 17.45 0 0 ...
ios_ReactSideMenu/app/components/navigation-buttons/NavigationBackButton.js
mitrais-cdc-mobile/react-pocs
"use strict"; import React, { Component } from 'react'; import { Image, PropTypes, StyleSheet, TouchableOpacity, View } from 'react-native'; const styles = StyleSheet.create({ button: { marginTop: 15, marginLeft: 15 } }); /** * Custom JSX Tag for rendering navigati...
app/scripts/Widget/plugins/DraftWidget/_DraftWidget.js
igr-santos/bonde-client
import React from 'react' import * as WidgetComponents from './' const DraftWidget = ({ widget, setWidget }) => { // Remove draft to simulate render menu const components = Object.assign({}, WidgetComponents) delete components['draft'] return ( <div className="draft-widget widget border center p2"> ...
src/svg-icons/content/backspace.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentBackspace = (props) => ( <SvgIcon {...props}> <path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 12.59L17.59 17 14 13.41 10.41 17 9 15.59 12...
src/svg-icons/image/image.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageImage = (props) => ( <SvgIcon {...props}> <path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/> </SvgIcon> ); ImageImage = p...
react/redux-start/react-redux-learn/src/components/Counter.js
kobeCan/practices
import React from 'react'; import { increment, decrement } from '../actions'; import { connect } from 'react-redux'; let Counter = ({ count, onIncrement, onDecrement }) => ( <div id="counter"> {'clicked me:'} <span>{count}</span> {' times...'} <button type="button" onClick={onIncrement}>+</button> <button type="...
packages/material-ui-icons/src/Storage.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M2 20h20v-4H2v4zm2-3h2v2H4v-2zM2 4v4h20V4H2zm4 3H4V5h2v2zm-4 7h20v-4H2v4zm2-3h2v2H4v-2z" /></g> , 'Storage');
src/component/miss/Navhover.js
2941972057/flower-react
import React, {Component} from 'react' import '../../assets/styles/miss/Navhover.styl' class Navhover extends Component { constructor (props) { super(props) this.state = { data: [] } } clickLgo = () => { fetch('/muse/api/v1/services/?category=logo_brand', { method: 'GET' }) ...
src/components/Stop/Bus/Bus.js
mark4carter/react-hrtbus
import React from 'react' import Radium from 'radium' import RouteBadge from './RouteBadge' import TimeBadge from './TimeBadge' import Colors from '../../common/Colors' let style = { base: { fontSize: '14px', padding: '1rem', borderBottom: '1px solid ' + Colors.beige.dark }, cell: { textAlign: '...
files/react.slick/0.3.1/react-slick.js
MenZil/jsdelivr
var Slider = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /**...
src/main/webapp/static/jquery-validation/1.11.0/lib/jquery-1.9.0.js
duzhiming/ToceanCRM
/*! * jQuery JavaScript Library v1.9.0 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-1-14 */ (function( window, undefined ) { "use strict";...
src/components/NotFound/NotFound.js
not-bad-react/not-bad-react-starter
/* @flow */ import React from 'react'; import Helmet from 'react-helmet'; import styles from './NotFound.scss'; export default () => ( <div className={styles.NotFound}> <Helmet title="404" /> <p>Oops, Page was not found!</p> </div> );
examples/real-world/index.js
abalone0204/redux
import 'babel-core/polyfill'; import React from 'react'; import createBrowserHistory from 'history/lib/createBrowserHistory'; import { Provider } from 'react-redux'; import { Router, Route } from 'react-router'; import configureStore from './store/configureStore'; import App from './containers/App'; import UserPage fro...
packages/material-ui-icons/src/DeleteSweepOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M15 16h4v2h-4zM15 8h7v2h-7zM15 12h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3v10zm2-8h6v8H5v-8zM10 4H6L5 5H2v2h12V5h-3z" /></React.Fragment>...
src/svg-icons/image/dehaze.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageDehaze = (props) => ( <SvgIcon {...props}> <path d="M2 15.5v2h20v-2H2zm0-5v2h20v-2H2zm0-5v2h20v-2H2z"/> </SvgIcon> ); ImageDehaze = pure(ImageDehaze); ImageDehaze.displayName = 'ImageDehaze'; ImageDehaze...
app/javascript/mastodon/components/__tests__/avatar-test.js
gol-cha/mastodon
import React from 'react'; import renderer from 'react-test-renderer'; import { fromJS } from 'immutable'; import Avatar from '../avatar'; describe('<Avatar />', () => { const account = fromJS({ username: 'alice', acct: 'alice', display_name: 'Alice', avatar: '/animated/alice.gif', avatar_static:...
ajax/libs/react-redux/4.1.1/react-redux.js
sufuf3/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("redux")); else if(typeof define === 'function' && define.amd) define(["react", "redux"], factory); else if(typeof exports === 'object') e...
src/components/common/svg-icons/toggle/check-box.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleCheckBox = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/> </SvgIcon> );...
app/javascript/mastodon/features/account/components/action_bar.js
dwango/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import DropdownMenuContainer from '../../../containers/dropdown_menu_container'; import { NavLink } from 'react-router-dom'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl...
src/elements/forms/checkbox.js
bokuweb/re-bulma
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styles from '../../../build/styles'; export default class Checkbox extends Component { static propTypes = { children: PropTypes.any, style: PropTypes.object, className: PropTypes.string, hasIcon: PropTypes.bool, ...
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js
giancarlobonansea/clusterednode-client
import React from 'react'; // 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'; React.render(<HelloWorld />, document.getElementById('react-root'));
todosSrc/components/app.js
vamc-anne/react-redux-poc
import React from 'react'; import {TodoList} from "./todoList"; import ViewFilter from "./ViewFilter"; import {SHOW_ALL, SHOW_DONE, SHOW_PENDING} from "../actions/actions"; const todos = [ {text:"hi", isCompleted:false}, {text:"hi1", isCompleted:false}, {text:"hi2", isCompleted:false}, {text:"hi3", isC...
src/svg-icons/notification/folder-special.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationFolderSpecial = (props) => ( <SvgIcon {...props}> <path d="M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-2.06 11L15 15.28 12.06 17l.78-3.33-2.59-2.24 3.41-.29...
app/javascript/mastodon/features/community_timeline/containers/column_settings_container.js
riku6460/chikuwagoddon
import { connect } from 'react-redux'; import ColumnSettings from '../components/column_settings'; import { changeSetting } from '../../../actions/settings'; import { changeColumnParams } from '../../../actions/columns'; const mapStateToProps = (state, { columnId }) => { const uuid = columnId; const columns = stat...
Gryffindor/app/containers/Panel.js
Acheron-VAF/Acheron
import React, { Component } from 'react'; import Radium, { Style } from 'radium'; import {StyleRoot} from 'radium'; class Panel extends Component { constructor(props) { super(props); this.state = {}; } getStyles() { const bgcolor = { default: "#202020" } return { si...
src/svg-icons/hardware/laptop.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareLaptop = (props) => ( <SvgIcon {...props}> <path d="M20 18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"/> </SvgIcon> ); HardwareLaptop = pure(Hardwa...
ajax/libs/babel-core/4.5.3/browser-polyfill.js
alexmojaki/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...
examples/async/index.js
chrisclarke1977/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; const store = configureStore(); React.render( <Provider store={store}> {() => <App />} </Provider>, document.getElementByI...
ajax/libs/highstock/2.1.1/highstock.src.js
davidbau/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highstock JS v2.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, clearT...
src/index.js
deinde/React_Higher_Order_Components
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import {Router,Route,browserHistory} from 'react-router'; import App from './components/app'; import reducers from './reducers'; import Resources from './components/...
node_modules/node_modules/react-solr-connector/node_modules/react/lib/ReactElement.js
SerendpityZOEY/Fixr-RelevantCodeSearch
/** * Copyright 2014-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...
admin/client/App/screens/List/components/Filtering/ListFiltersAddForm.js
pr1ntr/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import Popout from '../../../../shared/Popout'; import { Filters } from 'FieldTypes'; var ListFiltersAddForm = React.createClass({ propTypes: { field: React.PropTypes.object.isRequired, maxHeight: React.PropTypes.number, onApply: React.PropTyp...
app/scripts/hocs/with-modal.js
hms-dbmi/4DN_matrix-viewer
import React from 'react'; import toVoid from '../utils/to-void'; const { Provider, Consumer } = React.createContext({ close: toVoid, open: toVoid, }); // Higher order component const withModal = (Component) => React.forwardRef((props, ref) => ( <Consumer> {(modal) => <Component ref={ref} {...props} ...
src/layouts/en.js
angeloocana/angeloocana
import React from 'react'; import graphql from 'graphql'; import Layout from './_layout'; import { addLocaleData } from 'react-intl'; import messages from '../data/messages/en'; import en from 'react-intl/locale-data/en'; import 'intl/locale-data/jsonp/en'; addLocaleData(en); export default (props) => ( <Layout ...
src/svg-icons/action/store.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionStore = (props) => ( <SvgIcon {...props}> <path d="M20 4H4v2h16V4zm1 10v-2l-1-5H4l-1 5v2h1v6h10v-6h4v6h2v-6h1zm-9 4H6v-4h6v4z"/> </SvgIcon> ); ActionStore = pure(ActionStore); ActionStore.displayName = ...
packages/react-router-native/examples/Recursive.js
goblortikus/react-router
import React from 'react' import { StyleSheet, Text, ScrollView, AppRegistry } from 'react-native' import { NativeRouter, Route, Link } from 'react-router-native' const PEEPS = [ { id: 0, name: 'Michelle', friends: [ 1, 2, 3 ] }, { id: 1, name: 'Sean', friends: [ 0, 3 ] }, { id: 2, name: 'Kim', friends: [ 0, 1, ...
src/index.js
dyaroman/react-hello-world
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import allItems from './components/allItems'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App items={allItems} />, document.getElementById('root')); registerServiceWorker();
js/src/views/Settings/Proxy/proxy.js
kushti/mpt
// Copyright 2015, 2016 Ethcore (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version....
app/index.js
AamuLumi/PFD
import 'babel-polyfill'; import React from 'react'; import {render} from 'react-dom'; import {AppContainer} from 'react-hot-loader'; import {Provider} from 'react-redux'; import {Router, Route, IndexRoute, browserHistory} from 'react-router'; import {syncHistoryWithStore} from 'react-router-redux'; import configureSto...
src/form/FormLabel.js
fengshanjian/react-native-komect-uikit
import PropTypes from 'prop-types'; import React from 'react'; import { StyleSheet, View, Platform, Text as NativeText } from 'react-native'; import colors from '../config/colors'; import fonts from '../config/fonts'; import Text from '../text/Text'; import normalize from '../helpers/normalizeText'; const FormLabel = ...
newclient/scripts/components/admin/detail-view/admin-entities-summary/index.js
kuali/research-coi
/* The Conflict of Interest (COI) module of Kuali Research Copyright © 2005-2016 Kuali, Inc. 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 Lic...
renderer/components/MockComponentInspector.js
JiniHendrix/reactide
import React from 'react'; const MockComponentInspector = () => ( <div className="item-views"> <div className="styleguide pane-item"> <header className="styleguide-header"> <h5>Component Inspector</h5> </header> <main className="styleguide-sections"> <section className="bordere...
RN/AnimatedDemo/index.ios.js
puyanLiu/LPYFramework
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Easing, Animated, } from 'react-native'; class AnimatedDemo extends Component { constructor(props) { super(props); this....
client/index.js
MyWebIntelligence/MyWebIntelligence
"use strict"; if(typeof HTMLElement.prototype.remove !== 'function') throw 'Add HTMLElement.prototype.remove polyfill'; var React = require('react'); var page = require('page'); var serverAPI = require('./serverAPI/index'); var LoginScreen = React.createFactory(require('./components/LoginScreen')); var Territoi...
generators/component/templates/_stateful/_component.js
sajal50/generator-reactredux
import React from 'react'; import CSSModules from 'react-css-modules'; import <%=componentName%>Style from './assets/<%=componentName%>.scss'; class <%=componentName%> extends React.Component { constructor (props) { super(props); } render () { return ( <div> This is the <%=componentName%> ...
app/javascript/mastodon/features/ui/containers/loading_bar_container.js
verniy6462/mastodon
import { connect } from 'react-redux'; import LoadingBar from 'react-redux-loading-bar'; const mapStateToProps = (state) => ({ loading: state.get('loadingBar'), }); export default connect(mapStateToProps)(LoadingBar.WrappedComponent);
src/svg-icons/content/redo.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRedo = (props) => ( <SvgIcon {...props}> <path d="M18.4 10.6C16.55 8.99 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16c1.05-3.19 4.05-5.5 7.6-5.5 1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/> </Sv...
src/svg-icons/device/add-alarm.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceAddAlarm = (props) => ( <SvgIcon {...props}> <path d="M7.88 3.39L6.6 1.86 2 5.71l1.29 1.53 4.59-3.85zM22 5.72l-4.6-3.86-1.29 1.53 4.6 3.86L22 5.72zM12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9c4.97 0 9-4.03 9-9s-4....
user/themes/landio/js/landio.min.js
Cadetho/LaurasLens
/** * -------------------------------------------------------------------------- * Bootstrap (v4.0.0): util.js * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * -------------------------------------------------------------------------- */ 'use strict'; var Util = (function ($) { /...
src/icons/VideoLibraryIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class VideoLibraryIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M8 12H4v28c0 2.21 1.79 4 4 4h28v-4H8V12zm32-8H16c-2.21 0-4 1.79-4 4v24c0 2.21 1.79 4 4 4h24c2.21 0 4-...
src/helpers/__tests__/getDataDependencies-test.js
Shenseye/fccpinterest
import { expect } from 'chai'; import React from 'react'; import { div } from 'react-dom'; import getDataDependencies from '../getDataDependencies'; describe('getDataDependencies', () => { let getState; let dispatch; let location; let params; let CompWithFetchData; let CompWithNoData; let CompWithFetchDa...
src/components/sidebar-entities/default-sidebar/entity-attributes/entity-attributes.js
mpigsley/sectors-without-number
import React from 'react'; import PropTypes from 'prop-types'; import { intlShape } from 'react-intl'; import ReactHintFactory from 'react-hint'; import { RefreshCw, EyeOff } from 'react-feather'; import EntityAttribute from 'components/sidebar-entities/default-sidebar/entity-attribute'; import FlexContainer from 'pri...
blueocean-material-icons/src/js/components/svg-icons/action/build.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionBuild = (props) => ( <SvgIcon {...props}> <path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/> </SvgIcon> )...
src/scripts/components/Header.js
LWanjiru/ki-news
import React from 'react'; const header = 'KI-All News'; const imgWidth = 60; const navigate = (<nav className="navbar navbar-toggleable-md fixed-top" style={{ backgroundColor: 'black' }}> <a className="navbar-brand col-12" href="/"> <div className="row" > <div className="col-2 col-lg-1 mr-0 pr-0"> ...
src/main-block/HopCalc/HopCalc.js
ilya-matvienko/BeerCalc-react-v0.0.1
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import $ from 'jquery'; import HopHead from './HopHead'; import HopRow from './HopRow'; import './hopCalc.css'; export default class HopCalc extends Component { static PropTypes = { countRow: PropTypes.number.isRequi...
Rosa_Madeira/Revendedor/src/components/common/card_produto/Card.js
victorditadi/IQApp
import React from 'react'; import { View } from 'react-native'; const Card = (props) => { return ( <View style={styles.containerStyle}> {props.children} </View> ); }; const styles = { containerStyle: { borderWidth: 1, borderRadius: 2, borderColor: '#846848', borderBottomWidth: 0, ...
examples/huge-apps/routes/Course/routes/Announcements/components/Sidebar.js
levjj/react-router
import React from 'react'; import { Link } from 'react-router'; export default class AnnouncementsSidebar extends React.Component { render () { var announcements = COURSES[this.props.params.courseId].announcements; return ( <div> <h3>Sidebar Assignments</h3> <ul> {announcemen...
modules/pages/client/components/RulesText.component.js
Trustroots/trustroots
import React from 'react'; import { useTranslation } from 'react-i18next'; /** * Rules text component that adds our rules as paragraphs. * Usage: `<RulesText />` */ export default function RulesText() { const { t } = useTranslation('pages'); return ( <> {/* * Don't add links to this text. ...
ajax/libs/jquery/1.8.3/jquery.js
joseluisq/cdnjs
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
fields/types/number/NumberColumn.js
riyadhalnur/keystone
import React from 'react'; import numeral from 'numeral'; import ItemsTableCell from '../../../admin/client/components/ItemsTableCell'; import ItemsTableValue from '../../../admin/client/components/ItemsTableValue'; var NumberColumn = React.createClass({ displayName: 'NumberColumn', propTypes: { col: React.PropTyp...
src/Rayku/PageBundle/Resources/public/js/vendor/jquery.js
rayku/rayku-v2
/*! * 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...
js/base-project/src/index.js
diminishedprime/dotfiles
import React from 'react' import ReactDOM from 'react-dom' import { Provider, } from 'react-redux' import App from './components/app/app.jsx' import registerServiceWorker from './registerServiceWorker' import { store, } from './redux/index.js' ReactDOM.render( <Provider store={store}> <App /> </Provider>,...
docs/app/Examples/elements/Button/GroupVariations/ButtonExampleGroupBasic.js
shengnian/shengnian-ui-react
import React from 'react' import { Button, Divider } from 'shengnian-ui-react' const ButtonExampleGroupBasic = () => ( <div> <Button.Group basic> <Button>One</Button> <Button>Two</Button> <Button>Three</Button> </Button.Group> <Divider /> <Button.Group basic vertical> <Button>...
src/qt/qtwebkit/Source/WebInspectorUI/Tools/PrettyPrinting/populate/jquery.min.js
bukalov/phantomjs
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
src/components/MainFooter/MainFooter.js
Bartekus/r3
import React from 'react'; import { Link } from 'react-router'; import { FormattedMessage } from 'react-intl'; import { links } from '../../shared/links'; import styles from './MainFooter.scss'; const footerLinks = [ links.aboutUs, links.faq, links.policies, links.terms, links.help, ]; export default class M...
dashboard-ui/app/components/profile/profile.js
CloudBoost/cloudboost
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { saveUserImage, deleteUserImage, showAlert, updateUser } from '../../actions'; import ChangeField from './ChangeField'; import FlatButton from 'material-ui/FlatButton'; import ReactTooltip from 'react-tooltip'...
definitions/npm/react-css-modules_v3.x.x/flow_v0.32.x-v0.52.x/react-css-modules_v3.x.x.js
mwalkerwells/flow-typed
declare module "react-css-modules" { declare module.exports: <D, P, S, C: React$Component<D, P, S>, X>( component: Class<C>, styles: X, options?: {| allowMultiple?: boolean, errorWhenNotFound?: boolean |} ) => Class<React$Component<D, $Diff<P, { styles: X }>, S>>; }
src/GoalInfoNavigation/index.js
christianalfoni/ducky-components
import React from 'react'; import PropTypes from 'prop-types'; import Wrapper from '../Wrapper'; import Typography from '../Typography'; import IconAvaWrapper from '../IconAvaWrapper'; import styles from './styles.css'; function GoalInfoNavigation(props) { return ( <Wrapper className={styles.ou...
app/components/ListItem/index.js
lizhaogai/lyda-dada-v
import React from 'react'; import Item from './Item'; import Wrapper from './Wrapper'; function ListItem(props) { return ( <Wrapper> <Item> {props.item} </Item> </Wrapper> ); } ListItem.propTypes = { item: React.PropTypes.any, }; export default ListItem;
docs/app/Examples/modules/Progress/Types/ProgressExampleStandard.js
vageeshb/Semantic-UI-React
import React from 'react' import { Progress } from 'semantic-ui-react' const ProgressExampleStandard = () => ( <Progress percent={11} /> ) export default ProgressExampleStandard
examples/Playground/App.js
timomeh/react-native-material-bottom-navigation
import React from 'react' import { View, StyleSheet, Image } from 'react-native' import BottomNavigation, { IconTab, Badge } from 'react-native-material-bottom-navigation' import Icon from '@expo/vector-icons/MaterialCommunityIcons' export default class App extends React.Component { state = { activeTab: 'gam...
src/main/webapp/js/extjs-4.1.0-ux/RowExpander.js
AURIN/online-whatif-ui
// feature idea to enable Ajax loading and then the content // cache would actually make sense. Should we dictate that they use // data or support raw html as well? /** * @class Ext.ux.RowExpander * @extends Ext.AbstractPlugin * Plugin (ptype = 'rowexpander') that adds the ability to have a Column in a grid which e...
examples/navigation-react-redux/components/UserSearchResults.js
joshburgess/redux-most
import React from 'react' import { Link } from 'react-router' const UserSearchResults = ({ results, loading }) => <ul style={{ opacity: loading ? 0.3 : 1 }}> { results.map(result => ( <li key={result.id}> <Link to={`/repos/${result.login}`}> {result.login} </Link> ...
ajax/libs/yui/3.9.1/datatable-body/datatable-body.js
svenanders/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
02-webpack-hash-files/app/index.js
leonicolas/tutorials
'use strict' import React from 'react'; import ReactDOM from 'react-dom'; import HelloReact from './hello'; ReactDOM.render( <HelloReact />, document.getElementById('content') );
components/Event.js
BDE-ESIEE/mobile
import React, { Component } from 'react'; import { Text, View } from 'react-native'; import styles from '../styles/events.js' class Event extends Component { render() { return ( <View style={styles.container}> <Text style={styles.welcome}> Welcome to React Native! </Text> ...
react-client/src/components/Louvre.js
lowtalkers/escape-reality
import 'aframe'; import 'aframe-animation-component'; import 'aframe-text-component'; import 'babel-polyfill'; import {Entity, Scene} from 'aframe-react'; import React from 'react'; import ReactDOM from 'react-dom'; import { Link, withRouter } from 'react-router'; import 'aframe-bmfont-text-component'; import Iframe fr...
docs/lib/Components/VolumeMenuButtonPage.js
video-react/video-react
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */ import React from 'react'; import { PrismCode } from 'react-prism'; import { Button } from 'reactstrap'; import Helmet from 'react-helmet'; import VolumeMenuButtonExample from '../examples/VolumeMenuButton'; const VolumeMenuButtonExampleSource = require('!!raw-lo...
app/javascript/src/pages/UnSubscribe.js
michelson/chaskiq
import React from 'react' import graphql from '../graphql/client' import Button from '../components/Button' import CircularProgress from '../components/Progress' import I18n from '../shared/FakeI18n' import { CAMPAIGN_SUBSCRIPTION_TOGGLE } from '../graphql/queries' export default function UnSubscribe ({ match }) { ...
src/parser/priest/holy/modules/core/EchoOfLightMastery.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import SpellIcon from 'common/SpellIcon'; import SPELLS from 'common/SPELLS'; import Analyzer from 'parser/core/Analyzer'; import AbilityTracker from 'parser/shared/modules/AbilityTracker'; import HealingDone from...
ajax/libs/forerunnerdb/1.3.57/fdb-legacy.min.js
dada0423/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...
ajax/libs/yui/3.0.0/event-custom/event-custom-debug.js
jaywcjlove/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
src/routes/admin/index.js
zmj1316/InfomationVisualizationCourseWork
/** * 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 from 'react'; import Layout from '../../compo...
fields/types/html/HtmlField.js
BlakeRxxk/keystone
import _ from 'underscore'; import Field from '../Field'; import React from 'react'; import tinymce from 'tinymce'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore */ var lastId = 0; function getId() { return 'keystone-html-' + lastId++; } module.exports = Field.create({ ...
src/svg-icons/image/crop.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCrop = (props) => ( <SvgIcon {...props}> <path d="M17 15h2V7c0-1.1-.9-2-2-2H9v2h8v8zM7 17V1H5v4H1v2h4v10c0 1.1.9 2 2 2h10v4h2v-4h4v-2H7z"/> </SvgIcon> ); ImageCrop = pure(ImageCrop); ImageCrop.displayNam...
packages/material-ui-icons/src/PhotoSizeSelectActual.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let PhotoSizeSelectActual = props => <SvgIcon {...props}> <path d="M21 3H3C2 3 1 4 1 5v14c0 1.1.9 2 2 2h18c1 0 2-1 2-2V5c0-1-1-2-2-2zM5 17l3.5-4.5 2.5 3.01L14.5 11l4.5 6H5z" /> </SvgIcon>; PhotoSizeSelectA...
app/containers/HomePage/index.js
dreamweaver1231/react-project
/** * HomePage */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Helmet } from 'react-helmet'; import { createStructuredSelector } from 'reselect'; import { compose } from 'redux'; import injectSaga from 'utils/injectSaga'; import injectR...