path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
examples/components/BarExample.js
ionutmilica/react-chartjs-components
import React from 'react'; import { BarChart } from '../../src' class BarExample extends React.Component { render() { const data = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [ { label: "My First dataset", fill: false, ...
examples/bookmark/moveButton.js
jjmulenex/sdk
import React from 'react'; import {connect} from 'react-redux'; import * as bookmarkAction from './action'; import * as mapActions from '@boundlessgeo/sdk/actions/map'; // Custom Bookmark Component class MoveButtonComponent extends React.PureComponent { // This is the where action really happens, update state and m...
client/src/components/NotFound.js
Velocies/raptor-ads
import React from 'react'; import { Link } from 'react-router'; import { Item, Statistic, Container, Grid } from 'semantic-ui-react'; const NotFound = () => <Container textAlign="center" className="notFound"> <Grid width={16}> <Grid.Column width={4} /> <Grid.Column width={8}> <Item.Image ...
node_modules/material-design-lite/src/layout/layout.js
carlosocarvalho/angular-two-template
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * 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 requi...
src/core/component/basic/RTFlexItem.js
yangyxu/zeanium-react-web
require('./RTFlexItem.less'); var React = require('react'); var RTItem = require('./RTItem'); module.exports = React.createClass({ displayName:'RTFlexItem', render: function(){ return ( <RTItem {...this.props} className={zn.react.classname('zr-flex-item', this.props.className)} > {this.props.children} </...
client/src/index.js
BrianMehrman/rails_probe
import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import createHistory from 'history/createBrowserHistory'; import { Router } from 'react-router'; import { Route } from 'react-router-dom'; import { BASE_ROUTE } from './actions'; import storeBuilder from './store'...
src/svg-icons/communication/phone.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationPhone = (props) => ( <SvgIcon {...props}> <path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61...
frontend/app_v2/src/components/AudioMinimal/AudioMinimalPresentation.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' // FPCC import useIcon from 'common/useIcon' function AudioMinimalPresentation({ buttonRef, buttonStyling, icons, iconStyling, isPlaying, label, onClick, onKeyPress, }) { const iconsDefault = { Play: useIcon('PlayCircle', iconStyling),...
ajax/libs/ember-data.js/1.0.0-beta.4/ember-data.debug.js
vdurmont/cdnjs
/*! * @overview Ember Data * @copyright Copyright 2011-2013 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) */ // Version: 1.0.0-beta.4 (function() { var define, requireModule; (function() { var registry = {}, seen...
Blog/src/js/components/Login/Form.react.js
rcatlin/ryancatlin-info
import React from 'react'; class LoginForm extends React.Component { static get displayName() { return 'LoginForm'; } constructor(props) { super(props); this.handlePasswordChange = this.handlePasswordChange.bind(this); this.handleUsernameChange = this.handleUsernameChange....
web/cashtab/src/components/NotFound.js
Bitcoin-ABC/bitcoin-abc
import React from 'react'; import { Row, Col } from 'antd'; const NotFound = () => ( <Row justify="center" type="flex"> <Col span={8}> <h1>Page not found</h1> </Col> </Row> ); export default NotFound;
solutions/step5/client/index.js
colmarius/universal-react-workshop-app
import {render} from 'react-dom' import React from 'react' import Bootstrap from 'bootstrap/dist/css/bootstrap.css' import App from "./App.jsx" render(<App/>, document.getElementById("container"))
ajax/libs/forerunnerdb/1.3.416/fdb-core.js
sajochiu/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...
ajax/libs/react-datepicker/3.7.0/es/index.js
cdnjs/cdnjs
import e from"react";import"prop-types";import t from"classnames";import r from"date-fns/isDate";import n from"date-fns/isValid";import o from"date-fns/format";import a from"date-fns/addMinutes";import s from"date-fns/addHours";import i from"date-fns/addDays";import p from"date-fns/addWeeks";import c from"date-fns/addM...
app/components/Notifications/__tests__/MessageBox-test.js
PaulDebus/monod
import React from 'react'; import { shallow, mount } from 'enzyme'; import { expect } from 'chai'; import sinon from 'sinon'; // see: https://github.com/mochajs/mocha/issues/1847 const { describe, it } = global; import MessageBox from '../MessageBox'; describe('<MessageBox />', () => { it('renders a message', ()...
demo/amd/rjs/output/unified/basic-build.js
hashchange/backbone.select
/*! * jQuery JavaScript Library v3.1.1 * https://jquery.com/ * * Includes Sizzle.js * https://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * https://jquery.org/license * * Date: 2016-09-22T22:30Z */ ( function( global, factory ) { "use strict"; if...
ajax/libs/react-dom/18.0.0-beta-a65ceef37-20211130/umd/react-dom-test-utils.development.js
cdnjs/cdnjs
/** @license React vundefined * react-dom-test-utils.development.js * * 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. */ (function (global, factory) { typeof exports === 'object' && ...
ajax/libs/video.js/6.0.0-RC.1/video.js
froala/cdnjs
/** * @license * Video.js 6.0.0-RC.1 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License ...
components/Loading.js
turntwogg/final-round
import React from 'react'; const Loading = () => ( <div style={{ textAlign: 'center' }}> <div className="lds-grid"> <div /> <div /> <div /> <div /> <div /> <div /> <div /> <div /> <div /> </div> <style jsx>{` .lds-grid { display: inline-...
src/modern/types/__tests__/ReactTypeScriptPropTypes-test.js
1234-/react
/** * Copyright 2014-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...
src/svg-icons/action/restore.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionRestore = (props) => ( <SvgIcon {...props}> <path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 ...
examples/huge-apps/routes/Course/routes/Assignments/components/Sidebar.js
buddhike/react-router
import React from 'react'; import { Link } from 'react-router'; class Sidebar extends React.Component { render () { var assignments = COURSES[this.props.params.courseId].assignments return ( <div> <h3>Sidebar Assignments</h3> <ul> {assignments.map(assignment => ( ...
src/svg-icons/image/filter-tilt-shift.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterTiltShift = (props) => ( <SvgIcon {...props}> <path d="M11 4.07V2.05c-2.01.2-3.84 1-5.32 2.21L7.1 5.69c1.11-.86 2.44-1.44 3.9-1.62zm7.32.19C16.84 3.05 15.01 2.25 13 2.05v2.02c1.46.18 2.79.76 3.9 1.62...
前端练习/autoFramework/webpack-demo3/demo14/App.js
puyanLiu/LPYFramework
/* * @Author: liupuyan * @Date: 2017-03-17 17:53:04 * @Last Modified by: liupuyan * @Last Modified time: 2017-03-17 18:35:39 */ 'use strict'; import React, { Component } from 'react'; export default class App extends Component { render() { return ( <h1>Hello Webpack</h1> ); } }
app/views/STF/Docket/Docket.js
RcKeller/STF-Refresh
import React from 'react' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import _ from 'lodash' import { compose, bindActionCreators } from 'redux' import { connect } from 'react-redux' import { connectRequest } from 'redux-query' import api from '../../../services' import { Loading } ...
src/common/field/index.js
asimsir/focus-components
import React from 'react'; import builder from 'focus-core/component/builder'; import type from 'focus-core/component/types'; // Mixins const valueBehaviour = require('./mixin/value-behaviour'); const validationBehaviour = require('./mixin/validation-behaviour'); // Components const builtInComponents = require('./mixin...
src/px-demo-helpers/index.js
jonniespratley/px-components-react
import React from 'react'; import classnames from 'classnames'; import IronSelector from '../iron-components/iron-selector'; import DeviceView from './device-view'; import stylesheet from './px-demo-helpers.scss'; class DeviceLayoutViewer extends React.Component { render(){ const { device, src, ...
app/containers/LanguageProvider/index.js
Zurico/t7
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
shared/fee/flat.js
RalphSleigh/bookings
import React from 'react' //This event has a flat per participant cost. import { Button, Row, Col, Form, FormGroup, Label, Input, InputGroup, InputGroupAddon, Card, CardBody, CardTitle, CardImg, CardImgOverlay, Table } from 'reactstrap'; import Currency from ...
ajax/libs/material-ui/5.0.0-beta.5/legacy/Stepper/Stepper.js
cdnjs/cdnjs
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import _extends from "@babel/runtime/helpers/esm/extends"; import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { integerPropType } from '@material-ui/utils'; import { unstable_compo...
js/components/sidebar/index.js
bsusta/HelpdeskAppTemplate
import React, { Component } from 'react'; import { Image, Platform } from 'react-native'; import { connect } from 'react-redux'; import { Title ,Header, Body, Content, Text, List, ListItem, Icon, Container, Left, Right, Badge, Button, View, StyleProvider, getTheme, variables } from 'native-base'; import { Actions } fr...
src/components/Editor/ColumnBreakpoints.js
wldcordeiro/debugger.html
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */ import React, { Component } from "react"; import ColumnBreakpoint from "./ColumnBreakpoint"; import "./ColumnBr...
libs/transition/index.js
MeteDesign/MeteDesign
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import ReactCSSTransitionGroup from 'react-transition-group/CSSTransitionGroup'; export default class Transition extends Component { render() { return React.createElement(ReactCSSTransitionGroup, { transitionName: this.props.name...
src/components/footer/copywrite.js
HendrikCrause/crossword-creator
import React from 'react' import Paper from 'material-ui/Paper' const style = { textAlign: 'center' } class Copywrite extends React.Component { render() { return ( <p style={style}>&copy; {new Date().getFullYear()}</p> ) } } export default Copywrite
ajax/libs/react-cookie/0.2.1/react-cookie.js
ericelliott/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...
chrome/browser/resources/chromeos/chromevox/chromevox/injected/ui/search_widget.js
axinging/chromium-crosswalk
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview JavaScript for poppup up a search widget and performing * search within a page. */ goog.provide('cvox.SearchWidget'); goog.requir...
.history/src/components/GKM/Item_20170624171210.js
oded-soffrin/gkm_viewer
import React from 'react'; import Input from '../Common/Input' import _ from 'lodash' import '../../styles/gkm-item.scss'; const Item = ({ item, updateItem, deleteItem }) => { const onAddingHashtag = (hashtag) => { item.hashtags.add(hashtag) updateItem(item) } const onUpdateField = (update) => { _...
src/components/offline/OfflineContent.js
gribnoysup/diy-dog-search
import React from 'react' import styled from 'styled-components' import BeerList from '../BeerList' import {Content} from '../layout/Layout' import {P, H2, Subheading} from '..//common/Typography' const ContentWithMargin = styled(Content)` margin-bottom: 46px; ` function OfflineAvaliableText() { return ( <di...
scripts/main.js
uraway/react-markdown-editor
import React from 'react'; import ReactDOM from 'react-dom'; import Main from '../views/main.jsx'; window.onload = function(){ ReactDOM.render(<Main />, document.getElementById('app')); }
src/client.js
medevelopment/updatemeadmin
/** * 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 ReactDOM from 'react-...
ajax/libs/plyr/3.0.8/plyr.polyfilled.js
extend1994/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define('Plyr', factory) : (global.Plyr = factory()); }(this, (function () { 'use strict'; var commonjsGlobal = typeof window !== 'undefined' ? window...
src/components/groups/GroupRolesList.js
mg4tv/mg4tv-web
import React from 'react' import GroupRolesListItem from './GroupRolesListItem' const GroupRolesList = ({groupId, roles=[]}) => ( <ul> {roles.map((roleId) => ( <GroupRolesListItem key={roleId} groupId={groupId} roleId={roleId}/> ))} </ul> ) export default GroupRolesList
front/src/pages/ArticlesPage.js
muhammad-awan/financial-news
import React from 'react' import { Route } from 'react-router-dom' import ArticleList from '../components/ArticleList' import CreateArticleForm from '../components/CreateArticleForm' const ArticlesPage = ({ articles, onCreate, error }) => ( <div> { !!articles ? ( <Route path='/articles' render={ ...
src/docs/examples/ProgressBar/Example70Percent.js
tlraridon/ps-react-train-tlr
import React from 'react'; import ProgressBar from 'ps-react-train-tlr/ProgressBar'; /** 70% Progress */ export default function Example70Percent() { return <ProgressBar percent={70} width={150} /> }
app/javascript/components/Schedule/BulkGenerateConfirm.js
rubycentral/cfp-app
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class BulkGenerateConfirm extends Component { render() { const { cancelBulkPreview, openBulkTimeSlotModal, requestBulkTimeSlotCreate } = this.props; return ( <div className="generate-confirm"> <span>Previewing Grid c...
packages/react-jsx-highcharts/test/components/BoxPlotSeries/BoxPlotSeries.spec.js
AlexMayants/react-jsx-highcharts
import React from 'react'; import { shallow } from 'enzyme'; import BoxPlotSeries from '../../../src/components/BoxPlotSeries/BoxPlotSeries'; import Series from '../../../src/components/Series'; describe('<BoxPlotSeries />', function () { it('renders a <Series />', function () { const wrapper = shallow(<BoxPlo...
client/routes/Items/components/ItemForm.js
patzj/ims
import React from 'react'; import { connect } from 'react-redux'; import { itemNew, itemEdit } from '../../../actions/items-action'; import { closeItemModal } from '../../../actions/modal-action'; export class ItemForm extends React.Component { componentDidUpdate(prevProps, prevState) { const name = typeof...
src/components/wallet/Address.js
openvcash/vcash-electron
import React from 'react' import { translate } from 'react-i18next' import { inject, observer } from 'mobx-react' /** Component */ import AddressOutputList from '../lists/AddressOutputList.js' @translate(['common']) @inject('wallet') @observer class Address extends React.Component { constructor(props) { super(p...
src/svg-icons/action/polymer.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPolymer = (props) => ( <SvgIcon {...props}> <path d="M19 4h-4L7.11 16.63 4.5 12 9 4H5L.5 12 5 20h4l7.89-12.63L19.5 12 15 20h4l4.5-8z"/> </SvgIcon> ); ActionPolymer = pure(ActionPolymer); ActionPolymer.d...
ajax/libs/forerunnerdb/1.3.629/fdb-core+persist.min.js
seogi1004/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...
packages/material-ui-icons/src/NoMeetingRoomRounded.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="M14 6h3v7.88l2 2V5c0-.55-.45-1-1-1h-4c0-.55-.45-1-1-1H6.12L14 10.88V6zM21.17 20.88L12 11.71V13h-2v-2h1.29L3.12 2.83a.9959.9959 0 0 0-1.41 0c-.39...
packages/material-ui-icons/src/BlurOnOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-3 .5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-...
local-cli/generator-ios/index.js
shinate/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. */ 'use strict...
js/jquery-1.11.0.js
andrewgy8/rembrandt_builders
/*! jQuery v1.11.0 | (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...
packages/react-vis/src/legends/searchable-discrete-color-legend.js
uber-common/react-vis
// Copyright (c) 2016 - 2017 Uber Technologies, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify...
src/parser/monk/windwalker/modules/talents/EnergizingElixir.js
FaideWW/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import RESOURCE_TYPES from 'game/RESOURCE_TYPES'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import Analyzer from 'parser/core/Analyzer'; class EnergizingElixir extends Analyze...
ajax/libs/F2/1.3.1/f2.min.js
wil93/cdnjs
/*! F2 - v1.3.1 - 10-15-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
maoyan/index.ios.js
zhouxinyong/code-demo
/** * 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 maoyan extends Component { render() { return ( <View style={styles.container}> <Text s...
files/rxjs/2.3.25/rx.all.compat.js
bdukes/jsdelivr
// 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 }; v...
src/components/molecules/page-loader.js
raulfdm/cv
import React from 'react'; import styled from 'styled-components'; import PropTypes from 'prop-types'; import CirclesSvg from 'atoms/circles-svg'; import { GlobalFullHeight } from 'styles/globals'; const PageLoaderWrapper = styled.div` height: 100%; display: flex; align-items: center; justify-content: cente...
src/navigation.js
vinej/react-remux
import React from 'react' import RequireAuth from './components/auth/require_auth' import Todos from './components/todos' import { todoStore } from './stores/todo_store' import Welcome from './components/welcome' import SignIn from './components/auth/signin' import SignUp from './components/auth/signup' import SignOut ...
src/library/Navigation/SecondaryNav.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Navigation from './Navigation'; import type { SecondaryNavDefaultProps, SecondaryNavProps } from './types'; const SecondaryNav = (props: SecondaryNavProps) => ( <Navigation secondary {...props} /> ); SecondaryNav.displayName = 'SecondaryNav'; const defaultProps: Secon...
ajax/libs/highcharts/5.0.0/highcharts.src.js
froala/cdnjs
/** * @license Highcharts JS v5.0.0 (2016-09-29) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ 'use strict'; (function(root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.document ? factory(root) : factory; ...
node_modules/material-ui/lib/svg-icons/maps/rate-review.js
pborel/polisee
'use strict'; var React = require('react/addons'); var PureRenderMixin = React.addons.PureRenderMixin; var SvgIcon = require('../../svg-icon'); var MapsRateReview = React.createClass({ displayName: 'MapsRateReview', mixins: [PureRenderMixin], render: function render() { return React.createElement( S...
src/components/Database/DatabaseChartBar/index.js
wu-sheng/sky-walking-ui
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
fantasy-football/src/KeyHints.js
paulpooch/fantasy-football
import React, { Component } from 'react'; export default class KeyHints extends Component { render() { return ( <div id="keyHints" className="flextainer flexitemscenter" > <div className="pt-key-combo"> <kbd className="pt-key pt-modifier-key"> <span clas...
src/Popover/Popover.js
skarnecki/material-ui
import React from 'react'; import ReactDOM from 'react-dom'; import EventListener from 'react-event-listener'; import RenderToLayer from '../internal/RenderToLayer'; import propTypes from '../utils/propTypes'; import Paper from '../Paper'; import throttle from 'lodash.throttle'; import PopoverAnimationDefault from './P...
modules/static/js/vendor/jquery-1.11.0.min.js
jjingrong/PONUS-1.2
/*! jQuery v1.11.0 | (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...
web/src/js/__tests__/components/FlowTable/FlowTableHeadSpec.js
cortesi/mitmproxy
import React from 'react' import renderer from 'react-test-renderer' import ConnectedHead, { FlowTableHead } from '../../../components/FlowTable/FlowTableHead' import { Provider } from 'react-redux' import { TStore } from '../../ducks/tutils' describe('FlowTableHead Component', () => { let sortFn = jest.fn(), ...
ajax/libs/intl-tel-input/5.2.0/js/intlTelInput.js
jdh8/cdnjs
/* International Telephone Input v5.2.0 https://github.com/Bluefieldscom/intl-tel-input.git */ // wrap in UMD - see https://github.com/umdjs/umd/blob/master/jqueryPlugin.js (function(factory) { if (typeof define === "function" && define.amd) { define([ "jquery" ], function($) { factory($, window...
src/components/RadioButton/RadioButton-test.js
jzhang300/carbon-components-react
import React from 'react'; import RadioButton from '../RadioButton'; import { mount } from 'enzyme'; const render = props => mount( <RadioButton {...props} className="extra-class" name="test-name" value="test-value" labelText="testlabel" /> ); describe('RadioButton', () => { ...
app/javascript/mastodon/features/standalone/public_timeline/index.js
5thfloor/ichiji-social
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { expandPublicTimeline, expandCommunityTimeline } from 'mastodon/actions/timelines'; import Masonry from 'react-masonry-infinite'; import { List as Imm...
ajax/libs/react-dom/16.1.0/cjs/react-dom-server.browser.development.js
ahocevar/cdnjs
/** @license React v16.1.0 * react-dom-server.browser.development.js * * Copyright (c) 2013-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. */ 'use strict'; if (process.env.NODE_ENV !== "production") { (func...
it/style/js/jquery-1.6.2.min.js
Mystelven/SitePerso-2.0
/*! * jQuery JavaScript Library v1.6.2 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
ajax/libs/inferno-router/3.4.2/inferno-router.js
froala/cdnjs
/*! * Inferno.Router v3.4.2 * (c) 2017 Dominic Gannaway' * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('inferno-create-element'), require('inferno-component'), require('inferno'), require('path-to-regexp'...
modules/dreamview/frontend/src/components/Navigation/WindowResizeControl.js
xiaoxq/apollo
import React from 'react'; import { MAP_SIZE } from 'store/dimension'; export default class WindowResizeControl extends React.PureComponent { getMinimizingIcon() { return ( <svg viewBox="0 0 20 20"> <defs> <path d="M20 0L0 20h20V0z" id="a" /> <...
frontend/app/components/pages/account/account-regenerate-api-key-modal.js
LINKIWI/linkr
import Link from 'react-router/lib/Link'; import LoadingHOC from 'react-loading-hoc'; import React from 'react'; import request from 'browser-request'; import Alert, {ALERT_TYPE_SUCCESS, ALERT_TYPE_ERROR} from '../../alert'; import Button from '../../ui/button'; import LoadingBar from '../../ui/loading-bar'; import M...
RN/moles_packer/rn37demo/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 } from 'react-native'; export default class rn37demo extends Component { render() { return ( <View style={styles.container}...
js/import/ImportPage.js
ucscXena/ucsc-xena-client
import React from 'react'; import styles from './ImportPage.module.css'; import nav from "../nav"; var _ = require('../underscore_ext').default; import { Input, Button, Dropdown, RadioGroup, RadioButton } from 'react-toolbox/lib'; import * as DefaultServers from '../defaultServers'; import loader from './loader.gif';...
packages/material-ui-icons/src/GpsNotFixed.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20.94 11c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7...
src/components/collection/tweet_collection.js
camboio/ibis
import React from 'react'; import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; import _ from 'lodash'; import TrackVisibility from 'react-on-screen'; import Tweet from '../tweet/tweet'; export default class TweetCollection extends React.Component { constructor(props){ super(props); ...
src/website/app/pages/Typography/FontDemo.js
mineral-ui/mineral-ui
/* @flow */ import styled from '@emotion/styled'; import React from 'react'; import Heading from '../../SiteHeading'; import type { StyledComponent } from '@emotion/styled-base/src/utils'; const styles = { root: ({ theme }) => ({ [theme.bp_moreSpacious]: { display: 'flex' }, '& div': { flex:...
js/jquery-1.10.2.min.js
TacticalDan/FiestyFruits
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.2.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
web/static/js/components/OpenedMysteriesPage.js
ryo33/Yayaka19
import React from 'react' import { connect } from 'react-redux' import { Segment, Header, Dimmer, Loader } from 'semantic-ui-react' import { openedMysteriesPageSelector } from '../selectors.js' import { userPage } from '../pages.js' import PostList from './PostList.js' const mapStateToProps = state => { const { use...
app/jsx/grading/gradingPeriod.js
djbender/canvas-lms
/* * Copyright (C) 2015 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
test/integration/image-component/default/pages/invalid-placeholder-blur-static.js
zeit/next.js
import React from 'react' import Image from 'next/image' import testBMP from '../public/test.bmp' const Page = () => { return ( <div> <Image id="invalid-placeholder-blur-static" src={testBMP} placeholder="blur" /> </div> ) } export default Page
dokomoforms/static/src/survey/js/components/baseComponents/__tests__/Select-tests.js
SEL-Columbia/dokomoforms
import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; // a noop function useful for passing into components that require it. var noop = () => {}; describe('Select', () => { var Select, ResponseField, callback; beforeEach(function() { jest.dontMo...
frontend/test/app/components/EmailDialog-test.js
mathjazz/testpilot
import React from 'react'; import { expect } from 'chai'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import EmailDialog from '../../../src/app/components/EmailDialog'; describe('app/components/EmailDialog', () => { const mockClickEvent = { preventDefault() {}, stopPropagation() {} }; ...
src/js/components/Select.js
linde12/grommet
// (C) Copyright 2014 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { findDOMNode } from 'react-dom'; import classnames from 'classnames'; import CSSClassnames from '../utils/CSSClassnames'; import Props from '../utils/Props'; import Keyb...
ajax/libs/react-data-grid/1.0.20/react-data-grid.min.js
sashberd/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react"),require("react-dom")):e.ReactDataGrid=t(e.React,e.ReactDOM)}(th...
src/renderers/dom/client/wrappers/__tests__/ReactDOMIframe-test.js
sdiaz/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...
assets/scripts/jquery-1.10.2.js
easy-development/html-jana
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) { // ...
app/jsx/assignments_2/teacher/components/Overrides/SubmissionTypes/SimpleType.js
djbender/canvas-lms
/* * Copyright (C) 2018 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
src/test/__tests__/ReactTestUtils-test.js
jessebeach/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...
packages/lore-hook-forms-material-ui/src/blueprints/update/Wizard/index.js
lore/lore-forms
import React from 'react'; import createReactClass from 'create-react-class'; import Wizard from './Wizard'; export default createReactClass({ render: function() { const { modelName } = this.props; const { model, schema, fieldMap, actionMap, steps, data, validators, ...
ajax/libs/react-modal/0.0.4/react-modal.min.js
quba/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.ReactModal=e()}}(function(){return function e(t,n,r){...
admin/client/App/index.js
sendyhalim/keystone
/** * This is the main entry file, which we compile the main JS bundle from. It * only contains the client side routing setup. */ // Needed for ES6 generators (redux-saga) to work import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, browserHistory, IndexRoute...
src/applications/disability-benefits/all-claims/pages/terminallyIll.js
department-of-veterans-affairs/vets-website
import React from 'react'; import fullSchema from 'vets-json-schema/dist/21-526EZ-ALLCLAIMS-schema.json'; const { isTerminallyIll } = fullSchema.properties; const TerminallyIllInfo = ( <va-additional-info trigger="Why does this matter?"> We’ll help to get your claim processed faster if the evidence to support ...
packages/vx-shape/src/shapes/AreaClosed.js
Flaque/vx
import React from 'react'; import cx from 'classnames'; import { area } from 'd3-shape'; import additionalProps from '../util/additionalProps'; export default function AreaClosed({ x, y, xScale, yScale, data, defined = () => true, className, strokeDasharray, strokeWidth = 2, stroke = 'black', fil...
examples/01 Dustbin/Multiple Targets/Container.js
zetkin/react-dnd
import React, { Component } from 'react'; import { DragDropContext } from 'react-dnd'; import HTML5Backend, { NativeTypes } from 'react-dnd/modules/backends/HTML5'; import Dustbin from './Dustbin'; import Box from './Box'; import ItemTypes from './ItemTypes'; import update from 'react/lib/update'; @DragDropContext(HTM...