target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
packages/material-ui-icons/src/BookmarkRounded.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="M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2z" /></g></React.Fragment> , 'BookmarkRounded');
src/main/webapp/template/w3layouts1/js/jquery.min.js
gingerjiang/easycms
/*! 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...
src/router.js
raffidil/garnanain
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; ...
pages/api/popper.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './popper.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;
index.android.js
deepakpster/Dinder
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry } from 'react-native'; import AppContainer from './app/AppContainer' export default class Dinder extends Component { render() { return ( <AppContainer/> ...
src/client.js
janimattiellonen/renoirc
import $ from 'jquery'; window.jQuery = require('jquery'); window.$ = window.jQuery; import './client.less'; import React from 'react'; import ReactDOM from 'react-dom'; import store from './store'; import { Provider } from 'react-redux'; import IrcApp from './components/smart/IrcAppContainer'; import IndexPage from ...
js/admin-2.js
hannesmannerheim/beaneditor
// ----------------------------------------------------- // -------- DISABLE LINKS WHEN EDITING OBJ ------------- // ----------------------------------------------------- $('a').click(function(e) { if($(this).closest('.base').hasClass('editing')) { e.preventDefault(); } }); // ----------------------...
app/components/Notifications/index.js
abakusbackup/abacash-client
// @flow import React, { Component } from 'react'; import { connect } from 'react-redux'; import NotificationSystem from 'react-notification-system'; type Props = { notification: Object }; class Notifications extends Component { componentWillReceiveProps = (nextProps) => { const { notification } = nextProp...
tests/routes/Home/components/HomeView.spec.js
jeffaustin81/cropcompass-ui
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') ...
src/components/SectionTemplates/HeightSection.spec.js
KNMI/GeoWeb-FrontEnd
import React from 'react'; import HeightSection from './HeightSection'; import { mount } from 'enzyme'; describe('(Component) SectionTemplates/HeightSection', () => { it('renders a HeightSection', () => { const _component = mount(<HeightSection><div /></HeightSection>); expect(_component.type()).to.eql(Heigh...
app/components/ListItem.js
jssolichin/React-Native-GetToKnow
var React = require('react-native'); var { AppRegistry, StyleSheet, Text, View, ScrollView, Image, TouchableOpacity, } = React; var { Icon, } = require('react-native-icons'); var Parse = require('parse/react-native'); var ParseReact = require('parse-react'); var TimeAgo = require('react-native-timeago'); var Co...
ajax/libs/6to5/2.7.0/browser.js
dbeckwith/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...
scripts/eslint-rules/no-cross-fork-types.js
mosoft521/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 */ /* eslint-disable no-for-of-loops/no-for-of-loops */ 'use strict'; function isOldFork(filename) { ret...
ajax/libs/tinymce/4.1.8/plugins/legacyoutput/plugin.js
tonytlwu/cdnjs
/** * plugin.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing * * This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u elements, align * attributes and so...
src/client.js
SWTPAIN/react-redux-universal-hot-example
/** * THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER. */ import 'babel/polyfill'; import React from 'react'; import BrowserHistory from 'react-router/lib/BrowserHistory'; import Location from 'react-router/lib/Location'; import queryString from 'query-string'; import cre...
src/components/StepChain/StepChain.stories.js
austinknight/ui-components
import React from 'react'; import { ThemeProvider } from 'styled-components'; import { storiesOf } from '@storybook/react'; import StepChain from './StepChain'; import { colors } from '../styles/colors.js'; import { generateFlexedThemeBackground } from '../styles/index.js'; const ThemeComponent = (props) => ( <T...
node_modules/browserify/node_modules/umd/node_modules/ruglify/test/fixture/jquery.min.js
Malibu-Awesome/hack-housing
(function(e,t){function n(e){var t=e.length,n=ut.type(e);return ut.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=Nt[e]={};return ut.each(e.match(ct)||[],function(e,n){t[n]=!0}),t}function i(e,n,r,i){if(ut.acceptData(e)){var o,a,s=ut.expan...
static/extjs4/docs/output/Ext.form.field.Base.js
jmpolom/ampd
Ext.data.JsonP.Ext_form_field_Base({"component":true,"mixins":["Ext.form.Labelable","Ext.form.field.Field"],"code_type":"ext_define","inheritable":false,"uses":[],"mixedInto":[],"html_meta":{"docauthor":null},"meta":{"docauthor":["Jason Johnston <jason@sencha.com>"]},"html":"<div><pre class=\"hierarchy\"><h4>Alternate ...
packages/flow-upgrade/src/upgrades/0.53.0/ReactComponentExplicitTypeArgs/__tests__/fixtures/PropsNotDefinedButUsed.js
ylu1317/flow
// @flow import React from 'react'; class MyComponent1 extends React.Component { state: State = { initialValue: this.props.value, }; } class MyComponent2 extends React.Component { render() { return this.props.children; } } class MyComponent3 extends React.Component { render() { const props = {...
src/AffixMixin.js
leozdgao/react-bootstrap
import React from 'react'; import domUtils from './utils/domUtils'; import EventListener from './utils/EventListener'; const AffixMixin = { propTypes: { offset: React.PropTypes.number, offsetTop: React.PropTypes.number, offsetBottom: React.PropTypes.number }, getInitialState() { return { a...
client/src/layouts/App.Router.js
arpitgo4/Express-React-Scaffold
import React from 'react'; import { Router, Route, IndexRoute, Link, IndexLink, browserHistory, hashHistory } from 'react-router'; import AppLayout from './App.layout'; import NodeJS from '../components/Body/Nodejs.component'; import ExpressJS from '../components/Body/Expressjs.component'; import ReactJS from '../com...
src/shared/components/change_password_form.js
foundersandcoders/sail-back
import React from 'react' import Field from './field.js' import { contains } from 'ramda' const form_fields = [ 'new_password', 'confirm_password' ] const required = form_fields export default ({ fields, handleSubmit, changedPassword }) => { const mode = 'edit' const label_from_id = (id) => id[0].toUpperCase(...
src/encoded/static/components/item-pages/components/CollapsibleItemViewButtonToolbar.js
hms-dbmi/fourfront
'use strict'; import React from 'react'; import PropTypes from 'prop-types'; import _ from 'underscore'; import Collapse from 'react-bootstrap/esm/Collapse'; import ButtonToolbar from 'react-bootstrap/esm/ButtonToolbar'; // TODO: Use plain HTML w. bootstrap classNames in place of this. import { layout } from '@hms-db...
ajax/libs/yasr/2.2.1/yasr.bundled.min.js
JacquesMarais/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASR=e()}}(function(){var e;return function t(e,n,r){...
Libraries/Modal/Modal.js
imDangerous/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. * * @provides...
react/tic-tac-toe/src/Board.js
ripter/Workshops
import React from 'react'; import { Square } from './Square'; // from the tutorial: https://reactjs.org/tutorial/tutorial.html // Codepen: https://codepen.io/gaearon/pen/gWWZgR?editors=0110 export class Board extends React.Component { renderSquare(i) { return ( <Square value={this.props.squares[i]...
admin/client/components/Forms/CreateForm.js
suryagh/keystone
import React from 'react'; import Fields from '../../fields'; import InvalidFieldType from './InvalidFieldType'; import { Alert, Button, Form, Modal } from 'elemental'; var CreateForm = React.createClass({ displayName: 'CreateForm', propTypes: { err: React.PropTypes.object, isOpen: React.PropTypes.bool, list: ...
src/index.js
Korkemoms/amodahl.no
// @flow import React from 'react' import { render } from 'react-dom' import Root from './containers/Root' import 'bootstrap/dist/css/bootstrap.css' import 'font-awesome/css/font-awesome.css' import {offlineLogin} from './actions/Login' import configureStore from './store/configureStore' // $FlowFixMe const store = ...
components/animals/tamarinZlutoruky.child.js
marxsk/zobro
import React, { Component } from 'react'; import { Text } from 'react-native'; import styles from '../../styles/styles'; import InPageImage from '../inPageImage'; import AnimalText from '../animalText'; import AnimalTemplate from '../animalTemplate'; const IMAGES = [ require('../../images/animals/tamarinZlutoruky/0...
node_modules/socket.io/node_modules/socket.io-client/node_modules/uglify-js/tmp/app.js
geranyl/storygen
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD * Build: http://www.modernizr.com/download/#-iepp */ ;window.Modernizr=function(a,b,c){function w(a,b){return!!~(""+a).indexOf(b)}function v(a,b){return typeof a===b}function u(a,b){return t(prefixes.join(a+";")+(b||""))}function t(a){j.cssText=a}var d="2.0.6",e={},f=b.do...
ajax/libs/survey-react/1.0.51/survey.react.min.js
sufuf3/cdnjs
/*! * surveyjs - Survey JavaScript library v1.0.51 * Copyright (c) 2015-2018 Devsoft Baltic OÜ - http://surveyjs.io/ * License: MIT (http://www.opensource.org/licenses/mit-license.php) */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&...
src/Checkbox/Checkbox.spec.js
resmio/mantecao
import React from 'react' import renderer from 'react-test-renderer' import Checkbox from './Checkbox' describe('Checkbox', () => { it('renders with a label', () => { const tree = renderer .create( <Checkbox label="hello checkbox" onChange={() => false} checked={true} ...
node_modules/core-js/client/library.js
taforyou/testtesttest-yo
/** * core-js 2.5.1 * https://github.com/zloirock/core-js * License: http://rock.mit-license.org * © 2017 Denis Pushkarev */ !function(__e, __g, undefined){ 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The r...
src/Label.js
insionng/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Label = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'label', bsStyle: 'default' }; }, render() { let classes = this.getBsClassSe...
jiuzhou/page/RegisterLogin/SMSLogin.js
Cowboy1995/JZWXZ
/** * Created by Tong on 2017/5/11. */ /** * Created by Tong on 2017/5/11. */ /** * Created by 1 on 2016/11/23. */ /** * Created by 1 on 2016/10/21. * 新用户注册界面(先进行短信验证) */ import React, { Component } from 'react'; import { Text, StyleSheet, View, TextInput, TouchableOpacity, ToastAndroid...
src/components/examples/IfComponent.js
WiNloSt/react-introduction-101
import React from 'react' const IfComponent = ({ number }) => { let component // number = 2 if (number % 2 === 0) component = <span>It's an even number!!!</span> else component = <span>It's an odd number!!!</span> return ( <div> {component} </div> )} export default IfComponent
src/App.js
schwibbes/sitris
import React, { Component } from 'react'; import './App.css'; import * as Keys from './Keys.js' import Block from './Block.js'; import Score from './Score.js'; const COL_COUNT = 8 // width of block container const ROW_COUNT = 4 // maps to keys asdf const PREVIEW_COUNT = ROW_COUNT * 2 // visible next blocks const SLOTS...
ims-react/src/pages/Home/Home.js
womkim/integrated-management-system
/** * Created by womkim on 2017/10/18. */ import React from 'react' import { connect } from 'react-redux' import { toggleSider, changeNavbar, switchTheme, loadMenuList, changeMenuOpenId, loadUserinfo } from '@/store/app/actions' import { DatePicker, Button } from 'antd' import Navigator from '@/components/Navigato...
frontend/src/containers/App/index.js
qiubit/luminis
/* * Copyright (C) 2017 Paweł Goliński * Copyright (C) 2017 Piotr Wiśniewski * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ import React from 'react' import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' import Drawer fr...
fields/types/datearray/DateArrayField.js
naustudio/keystone
import ArrayFieldMixin from '../../mixins/ArrayField'; import DateInput from '../../components/DateInput'; import Field from '../Field'; import React from 'react'; import moment from 'moment'; const DEFAULT_INPUT_FORMAT = 'YYYY-MM-DD'; const DEFAULT_FORMAT_STRING = 'Do MMM YYYY'; module.exports = Field.create({ dis...
src/explorer/Areas/index.js
neontribe/gbptm
import React from 'react'; import useSWR from 'swr'; import { Link } from 'react-router-dom'; import get from 'lodash/get'; import { loader } from 'graphql.macro'; import { print } from 'graphql/language/printer'; import Table from '@material-ui/core/Table'; import TableBody from '@material-ui/core/TableBody'; import ...
packages/material-ui-icons/src/EuroRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5h5.14c.38 0 .73-.21.89-.55.33-.66-.15-1.45-.89-1.45h-5.8c-.05-.33-.08-.66-.08-1s.03-.67.08-1h5.8c.38 0 .73-.21.89-.55.34-.67-.14-1.45-.89-1.45H9.24C10.32 6.92 12.5 5...
src/encoded/static/components/matrix_brain.js
ENCODE-DCC/encoded
import React from 'react'; import PropTypes from 'prop-types'; import _ from 'underscore'; import { svgIcon } from '../libs/svg-icons'; import { Panel, PanelBody } from '../libs/ui/panel'; import * as globals from './globals'; import { DataTable } from './datatable'; import { MatrixBadges } from './objectutils'; import...
node_modules/bower/node_modules/inquirer/node_modules/rx/dist/rx.lite.compat.js
jaydaro/portfolio
// 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 }; ...
src/svg-icons/content/remove-circle.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentRemoveCircle = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/> </SvgIcon> ); ContentRemoveCircle = pure(ContentRemoveCir...
packages/icons/src/md/hardware/KeyboardHide.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdKeyboardHide(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M40 4c2.21 0 4 1.79 4 4v20c0 2.21-1.79 4-4 4H8c-2.21 0-4-1.79-4-4l.02-20c0-2.21 1.77-4 3.98-4h32zm-18 6v4h4v-4h-4zm0 6v4h4v-4h-4zm-6-6v4h4v-4h-4...
ajax/libs/rxjs/2.2.24/rx.lite.extras.js
sullivanmatt/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
packages/reactor-kitchensink/src/examples/Trees/TreeGrid/TreeGrid.js
markbrocato/extjs-reactor
import React, { Component } from 'react'; import { NumberColumn } from '@extjs/ext-react'; import { Tree, TreeColumn } from '@extjs/ext-react-treegrid'; import root from './data'; export default class TreeGridExample extends Component { store = Ext.create('Ext.data.TreeStore', { rootVisible: true, ...
src/components/common/hocs/AsyncDataContainer.js
mitmedialab/MediaCloud-Web-Tools
import PropTypes from 'prop-types'; import React from 'react'; import { connect } from 'react-redux'; import ErrorTryAgain from '../ErrorTryAgain'; import LoadingSpinner from '../LoadingSpinner'; import * as fetchConstants from '../../../lib/fetchConstants'; // pass this in as the second arg to not show a spinner expo...
docs/src/CodeExample.js
collinwu/react-bootstrap
import React from 'react'; export default class CodeExample extends React.Component { render() { return ( <pre className="cm-s-solarized cm-s-light"> <code> {this.props.codeText} </code> </pre> ); } componentDidMount() { if (CodeMirror === undefined) { ret...
src/svg-icons/av/playlist-add-check.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPlaylistAddCheck = (props) => ( <SvgIcon {...props}> <path d="M14 10H2v2h12v-2zm0-4H2v2h12V6zM2 16h8v-2H2v2zm19.5-4.5L23 13l-6.99 7-4.51-4.5L13 14l3.01 3 5.49-5.5z"/> </SvgIcon> ); AvPlaylistAddCheck = pure...
js/App.js
dima11221122/63pokupki-react-native
import React, { Component } from 'react'; import { StyleSheet } from 'react-native'; import CodePush from 'react-native-code-push'; import { Container, Content, Text, View } from 'native-base'; import Modal from 'react-native-modalbox'; import AppNavigator from './AppNavigator'; import ProgressBar from './components...
src/components/PersonList.js
janimattiellonen/fgr
import React from 'react'; import styles from './PersonList.pcss'; import Person from './Person'; import { pure } from 'recompose'; const PersonList = props => { const { persons, deletePerson } = props; return ( <div className={styles.root}> {persons.map(person => <Person key={person.id} person=...
ajax/libs/ui-router-extras/0.0.9/ct-ui-router-extras.js
redmunds/cdnjs
/** * UI-Router Extras * @version v0.0.9 * @link http://christopherthielen.github.io/ui-router-extras/ * @license MIT License, http://www.opensource.org/licenses/MIT */ (function (window, angular, undefined) { angular.module("ct.ui.router.extras", [ 'ui.router' ]); var DEBUG = false; var forEach = angular.forE...
ajax/libs/jplayer/2.6.0/popcorn.js
pazguille/cdnjs
(function(global, document) { // Popcorn.js does not support archaic browsers if ( !document.addEventListener ) { global.Popcorn = { isSupported: false }; var methods = ( "byId forEach extend effects error guid sizeOf isArray nop position disable enable destroy" + "addTrackEve...
src/components/PlaylistManager/SearchResults/SearchResultActions.js
u-wave/web
import cx from 'clsx'; import React from 'react'; import PropTypes from 'prop-types'; import AddToPlaylistAction from '../../MediaList/AddToPlaylistAction'; import PreviewMediaAction from '../../MediaList/PreviewMediaAction'; function dontBubble(event) { event.stopPropagation(); } function SearchResultActions({ cla...
ajax/libs/bla/1.1.0/bla.js
davidbau/cdnjs
/** * @module vow * @author Filatov Dmitry <dfilatov@yandex-team.ru> * @version 0.4.6 * @license * Dual licensed under the MIT and GPL licenses: * * http://www.opensource.org/licenses/mit-license.php * * http://www.gnu.org/licenses/gpl.html */ (function(global) { /** * @class Deferred * @exports vow:Def...
src/js/components/profile/edit/LocationEdit.js
nekuno/client
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import SelectedEdit from './SelectedEdit'; import LocationInput from '../../ui/LocationInput'; import translate from '../../../i18n/Translate'; @translate('LocationEdit') export default class LocationEdit extends Component { static prop...
v2/src/index.js
nosnickid/orthogonal-automatons
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; ReactDOM.render(<App />, document.getElementById('root')); // If you want your app to work offline and load faster, you can change // unregister() to register()...
packages/mui-icons-material/lib/esm/KeyboardArrowLeftRounded.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M14.71 15.88 10.83 12l3.88-3.88c.39-.39.39-1.02 0-1.41a.9959.9959 0 0 0-1.41 0L8.71 11.3c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0 .38-.39.39-...
WashingmachineFrontend/vaskemaskine-app/src/components/Sidebar/Admin/AdminPanel.js
holdam/washingmachine-booking
import React from 'react'; import './AdminPanel.css'; import fetch from 'isomorphic-fetch'; import urls from '../../../commons/urls'; import {monthNamesShort, YEAR_PROJECT_ENTERED_PROD, COST_OF_TUMBLE_DRY_USE, COST_OF_WASHING_MACHINE_USE} from '../../../commons/util'; import {Button} from 'react-bootstrap' import downl...
node_modules/native-base/src/basic/Header.js
tausifmuzaffar/bisApp
import React, { Component } from 'react'; import { View, StatusBar } from 'react-native'; import { connectStyle } from '@shoutem/theme'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; import variable from '../theme/variables/platform'; import _ from 'lodash'; class Header extends Component { stat...
test/regressions/site/src/App.js
und3fined/material-ui
// @flow weak import React from 'react'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import Router from './Router'; export default function App(props) { return ( <MuiThemeProvider {...props}> <Router /> </MuiThemeProvider> ); }
src/components/Tbody.js
jayendra-sharan/json-grid-react
import React, { Component } from 'react'; class Tbody extends Component { render() { const {bodyRow} = this.props; let index = 0; return ( <tr> { bodyRow.map((td) => { return ( <td key={index++}> { td } ...
index.android.js
aleksanderakero/Balls
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; class Balls extends Component { render() { return ( <View style={styles.container}> <Text st...
ajax/libs/cyclejs-dom/2.1.0/cycle-web.js
nareshs435/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.CycleWeb = f()...
web/controlgame-scoreboard/src/views/realmpoints.js
jamkoo/Camelot-Unchained
var React = require('react'); var RealmPoints = React.createClass({ render: function() { return ( <div> <div className="label">Score</div> <div className="points">{this.props.score}</div> </div> ); } }); module.exports = RealmPoints;
src/parser/hunter/shared/modules/talents/Trailblazer.js
FaideWW/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS/index'; import { formatPercentage } from 'common/format'; import TalentStatisticBox from 'interface/others/TalentStatisticBox'; /** * Trailblazer increases your movement speed by 30% whenever you have not attacke...
src/components/Case.js
jonatanramhoj/single-page
import React from 'react'; import Accordion from '../../src/components/Accordion'; import GoToSection from '../../src/components/GoToSection'; class Case extends React.Component { render() { return( <section className="case section" id="case"> <Accordion /> <GoToSection href="about" /> ...
ajax/libs/material-ui/5.0.0-alpha.36/modern/internal/svg-icons/CheckBoxOutlineBlank.js
cdnjs/cdnjs
import * as React from 'react'; import createSvgIcon from '../../utils/createSvgIcon'; /** * @ignore - internal component. */ import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1...
node_modules/react-virtualized/dist/es/FlexTable/defaultHeaderRenderer.js
Alex-Shilman/Drupal8Node
import React from 'react'; import SortIndicator from './SortIndicator'; /** * Default table header renderer. */ export default function defaultHeaderRenderer(_ref) { var columnData = _ref.columnData; var dataKey = _ref.dataKey; var disableSort = _ref.disableSort; var label = _ref.label; var sortBy = _ref...
src/routes/content/index.js
DanielHabib/Float
/** * 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 Content from './Content'...
src/components/Header/Header.js
txwkx/book-room
import React from 'react'; import { Link, NavLink } from 'react-router-dom'; import styles from './header.scss'; const Header = ({ openBookForm }) => ( <nav class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class='book-btn'> <button class='btn btn-danger' onClick={e => o...
src/tools.js
TJCU-Dev/tjcu-site-frontend
import React from 'react'; import IconMenu from 'material-ui/IconMenu'; import IconButton from 'material-ui/IconButton'; import FontIcon from 'material-ui/FontIcon'; import NavigationExpandMoreIcon from 'material-ui/svg-icons/navigation/expand-more'; import MenuItem from 'material-ui/MenuItem'; import DropDownMenu from...
components/RegisterForm.js
NigelEarle/SSR-shopping
import React, { Component } from 'react'; import { inject, observer } from 'mobx-react'; @inject('authStore') @observer class RegisterForm extends Component { submitForm = (e) => { e.preventDefault(); const { authStore } = this.props; if (!authStore.email || !authStore.password) { authStore.error ...
dist/1.8.1/jquery-ajax-dimensions.js
eric-seekas/jquery-builder
/*! * jQuery JavaScript Library v1.8.1 -ajax,-ajax/jsonp,-ajax/script,-ajax/xhr,-dimensions * 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: Sun Sep 23 2012 10:...
ajax/libs/zeroclipboard/2.1.1/ZeroClipboard.js
drewbaumann/cdnjs
/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * Copyright (c) 2014 Jon Rohan, James M. Greene * Licensed MIT * http://zeroclipboard.org/ * v2.1.1 */ (function(window, undefined) { "use strict";...
src/views/Login.js
halo-design/halo-optimus
import React from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import { withRouter } from 'react-router-dom' import NProgress from 'nprogress' import { message } from 'antd' import handleChange from 'UTIL/handleChange' import * as loginAction from 'REDUCER/public/login' impor...
src/Collapse.js
dozoisch/react-bootstrap
import classNames from 'classnames'; import css from 'dom-helpers/style'; import React from 'react'; import Transition from 'react-overlays/lib/Transition'; import capitalize from './utils/capitalize'; import createChainedFunction from './utils/createChainedFunction'; const MARGINS = { height: ['marginTop', 'margin...
src/utils/prompts.js
Paratron/modoJS
import React from 'react'; import ReactDOM from 'react-dom'; import { Dialog, DialogHeader, DialogContent, DialogFooter } from '../Dialog'; import Button from '../Button'; import TextInput from '../TextInput'; let portal; class App extends React.Component { constructor(props) { super(props); portal = this;...
blueocean-material-icons/src/js/components/svg-icons/action/view-stream.js
jenkinsci/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionViewStream = (props) => ( <SvgIcon {...props}> <path d="M4 18h17v-6H4v6zM4 5v6h17V5H4z"/> </SvgIcon> ); ActionViewStream.displayName = 'ActionViewStream'; ActionViewStream.muiName = 'SvgIcon'; export default ActionViewStream;
ajax/libs/6to5/1.13.3/browser.js
kellyselden/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...
website/src/html.js
DarkReZuS/silenteye
/* eslint-disable react/prop-types */ import React from 'react' import { withPrefix } from 'gatsby' const HTML = ({ headComponents, body, postBodyComponents }) => { return ( <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> <head> <meta http-equiv="Content-Type" content="text/html;...
scripts/SellerRating.js
krulmacius/sdasdasdasfgasdawsdwadawd
import React from 'react'; import StarRatings from 'react-star-ratings'; class SellerRating extends React.Component { constructor(props){ super(props); this.state = { rating: 0 } this.changeRating = this.changeRating.bind(this); } changeRating(newRating) ...
client/scripts/components/toggle-switch/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...
src/assets/images/icons.js
barrierandco/barrierandco
import React from 'react' const Icons = () => <svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg"> <defs> <path d="M17.016,12.984 L14.016,12.984 L14.016,9 L9.985,9 L9.985,12.984 L6.985,12.984 L12.001,18 L17.016,12.984 Z M19.359,10.031 C21.937,10.219 24,12.37...
src/routes/Admin/AdminEventListItem.js
athenekilta/ilmomasiina
import React from 'react'; import PropTypes from 'prop-types'; import moment from 'moment-timezone'; import { Link } from 'react-router'; import _ from 'lodash'; import Separator from '../../components/Separator'; /* Render a single item */ class AdminEventListItem extends React.Component { static propTypes = { ...
front/src/index.js
enow-dev/enow
import React from 'react'; import PropTypes from 'prop-types'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, combineReducers, applyMiddleware } from 'redux'; import thunk from 'redux-thunk'; import { ConnectedRouter, routerReducer, routerMiddleware } from 'react-route...
src/index.js
Dadaniya/react
import 'core-js/fn/object/assign'; import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/Main'; // Render the main component into the dom ReactDOM.render(<App />, document.getElementById('app'));
src/routes/register/index.js
chunkiat82/rarebeauty-ui
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Layout from '../../co...
newclient/scripts/components/user/dashboard/travel-log-button/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...
src/components/views/dialogs/ShareDialog.js
aperezdc/matrix-react-sdk
/* 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.0 Unless required by applicable law or agreed to in writing, software ...
src/app/components/Logo/Logo.js
Eric-Vandenberg/react-redux-weatherapp.io
import React from 'react'; const LogoComponent = (props) => ( <svg viewBox="0 0 144 131" {...props}> <g> <path d="M118.954,87.235 C117.784,80.465 115.755,73.277 112.881,65.938 C115.756,58.592 117.784,51.398 118.952,44.624 C130.693,50.324 137.999,57.982 138,65.909 C138,73.901 130.708,81.552 118.954,87...
src/ModalFooter.js
natlownes/react-bootstrap
import React from 'react'; import classNames from 'classnames'; class ModalFooter extends React.Component { render() { return ( <div {...this.props} className={classNames(this.props.className, this.props.modalClassName)}> {this.props.children} </div> ); } } ModalFooter....
app/packs/src/components/react_quill/ReactQuill.js
ComPlat/chemotion_ELN
/* eslint-disable react/require-default-props */ /* eslint-disable react/sort-comp */ /* eslint-disable react/forbid-prop-types */ import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import isEqual from 'lodash/isEqual'; import Quill from 'quill'; function postpone(fn) {...
ajax/libs/rxjs/2.4.1/rx.all.compat.js
cgvarela/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...
src/components/shared/PagingControls.js
chatch/stellarexplorer
import React from 'react' import Pager from 'react-bootstrap/lib/Pager' import {FormattedMessage} from 'react-intl' const PagingControls = ({handleClickNext, handleClickPrev, hidePrev}) => <Pager> {!hidePrev && <Pager.Item previous onClick={handleClickPrev} href="#"> &larr; <FormattedMessage id="pa...
packages/form/src/SelectOption.js
iCHEF/gypcrete
import React from 'react'; import PropTypes from 'prop-types'; import { Checkbox, ListRow, } from '@ichef/gypcrete'; export const valueType = PropTypes.oneOfType([ PropTypes.string, PropTypes.number, PropTypes.bool, ]); export const TYPE_SYMBOL = Symbol('SelectOption'); function SelectOption({ label, ...
src/views/letterhead.js
planigan/resource-center
import _ from 'lodash' import React from 'react' import LetterheadCard from '../components/letterheadCard' import { letterheadData } from '../data/letterheadData' import { Helmet } from 'react-helmet' const Letterhead = () => { return ( <div className='container'> <Helmet> <title>Letterhead | Resou...
components/Material/MaterialValidation.js
viromedia/viro
/** * Copyright (c) 2016-present, Viro, 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...