path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
node_modules/react-select/examples/src/components/CustomRender.js
together-web-pj/together-web-pj
import React from 'react'; import createClass from 'create-react-class'; import PropTypes from 'prop-types'; import Select from 'react-select'; import Highlighter from 'react-highlight-words'; var DisabledUpsellOptions = createClass({ displayName: 'DisabledUpsellOptions', propTypes: { label: PropTypes.string, }, ...
modules/angular2/src/core/compiler/element_injector.js
boxman0617/angular
import {isPresent, isBlank, Type, int, BaseException, stringify} from 'angular2/src/facade/lang'; import {EventEmitter, ObservableWrapper} from 'angular2/src/facade/async'; import {Math} from 'angular2/src/facade/math'; import {List, ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection'; impo...
ajax/libs/gumby/2.6.0/js/libs/jquery-1.10.1.min.js
gabel/cdnjs
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/svg-icons/av/music-video.js
spiermar/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvMusicVideo = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.0...
docs/src/pages/components/skeleton/SkeletonChildren.js
lgollut/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import Box from '@material-ui/core/Box'; import Typography from '@material-ui/core/Typography'; import Avatar from '@material-ui/core/Avatar'; import Grid from '@material-ui/core/Grid'; import { makeStyles } from '@material-ui/core/styles'; import Skeleton ...
src/components/RegistrationForm/RegistrationForm.js
ThomasBem/ps-react-thomasbem
import React from 'react'; import PropTypes from 'prop-types'; import TextInput from '../TextInput'; import PasswordInput from '../PasswordInput'; /** Registration form with built-in validation. */ class RegistrationForm extends React.Component { constructor(props) { super(props); this.state = { user:...
ajax/libs/jointjs/0.8.0/joint.nobackbone.js
blairvanderhoof/cdnjs
/*! JointJS v0.8.0 - JavaScript diagramming library 2014-01-22 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/. */ /*! * jQuery JavaScript Library v1.9.1 * http://jquery...
src/components/Profile/common/components/Timeline.js
TalentedEurope/te-app
import React from 'react'; import { Text, StyleSheet, View } from 'react-native'; import Icon from 'react-native-vector-icons/FontAwesome'; import COMMON_STYLES from '../../../../styles/common'; export const Timeline = (props) => { const listItems = props.items.map(item => ( <View style={styles.item} key={item.i...
core/src/plugins/gui.ajax/res/js/ui/Workspaces/detailpanes/RootNode.js
pydio/pydio-core
/* * Copyright 2007-2017 Charles du Jeu - Abstrium SAS <team (at) pyd.io> * This file is part of Pydio. * * Pydio is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
docs/src/sections/GridPaginationSection.js
yyssc/ssc-grid
import React from 'react'; import Anchor from '../Anchor'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function GridSection() { return ( <div className="bs-docs-section"> <h3><Anchor id="grid-pagination">显示分页</Anchor></h3> <p>使用<code>paging</cod...
webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionTypeFormatter.js
snagoor/katello
import React from 'react'; import { translate as __ } from 'foremanReact/common/I18n'; import { urlBuilder } from 'foremanReact/common/urlHelpers'; export const subscriptionTypeFormatter = (value, { rowData }) => { let cellContent; if (rowData.virt_only === false) { cellContent = __('Physical'); } else if (...
src/index.js
crp2002/ID3-React
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import promise from 'redux-promise'; import logger from 'redux-logger'; import thunk from 'redux-thunk'; import { createStore, applyMiddleware } from 'redux'; import App from './components/App'; import reducers from '....
app/components/PointModal/index.js
GuiaLa/guiala-web-app
/** * * PointModal * */ import React, { Component } from 'react'; import { Step, Stepper, StepLabel, } from 'material-ui/Stepper'; import { Tabs, Tab } from 'material-ui/Tabs'; import Dialog from 'material-ui/Dialog'; import FlatButton from 'material-ui/FlatButton'; import SelectField from 'material-ui/SelectFi...
components/about.js
nayed/universal-react
import React from 'react' export default class AboutComponent extends React.Component { render() { return ( <div> <p>Hi mom!</p> </div> ) } }
examples/huge-apps/routes/Course/routes/Assignments/routes/Assignment/components/Assignment.js
schnerd/react-router
/*globals COURSES:true */ import React from 'react' class Assignment extends React.Component { render() { let { courseId, assignmentId } = this.props.params let { title, body } = COURSES[courseId].assignments[assignmentId] return ( <div> <h4>{title}</h4> <p>{body}</p> </div> ...
platform/ui/src/viewer/Toolbar.js
OHIF/Viewers
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import SimpleToolbarButton from './SimpleToolbarButton'; import PlayClipButton from './PlayClipButton'; import { LayoutButton } from './../components/layoutButton'; // TODO: This should not be built in the `@ohif/ui` component function getDe...
src/js/components/Articles/Index.js
appdev-academy/appdev.academy-react
import React from 'react' import { Link } from 'react-router' import { inject, observer } from 'mobx-react' import TableBody from './TableBody' import ConfirmationDialog from '../ConfirmationDialog' @inject('articlesStore') @observer export default class Index extends React.Component { constructor(props) { s...
node_modules/react-icons/fa/arrow-up.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaArrowUp = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m37.5 21.7q0 1.1-0.9 2l-1.6 1.7q-0.9 0.8-2.1 0.8-1.2 0-2-0.8l-6.5-6.6v15.7q0 1.2-0.9 1.9t-2 0.7h-2.9q-1.1 0-2-0.7t-0.8-1.9v-15.7l-6.6 6.6q-0.8 0.8-2 0.8t-2-0.8l-1.7-1...
packages/mineral-ui-icons/src/IconPeople.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconPeople(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps}>...
server/server.js
kweestian/kwy
import Express from 'express'; import mongoose from 'mongoose'; import bodyParser from 'body-parser'; import cookieParser from 'cookie-parser'; import session from 'express-session'; import path from 'path'; import logger from 'morgan'; // Webpack Requirements import webpack from 'webpack'; import config from '../webp...
src/interface/Portal.js
sMteX/WoWAnalyzer
import React from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import PortalTarget from './PortalTarget'; class Portal extends React.PureComponent { static propTypes = { children: PropTypes.node.isRequired, }; state = { elem: null, }; componentDidMount() { this....
project/react-ant-multi-pages/src/base/BaseFormContainer.js
FFF-team/generator-earth
import React from 'react' import { Form } from 'antd' import BaseContainer from './BaseContainer' export default class extends BaseContainer { /** * 提交表单 * @override */ submitForm = (e) => { e && e.preventDefault() // 重置table this.props.resetTable && this....
client/libraries/swamp/chat_example/chat_example/static/js/vendor/jquery-1.8.0.min.js
Valchris/tdoa
/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ (function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==...
src/components/hero/info/Parameters.js
DragonLegend/game
import React from 'react'; import capitalize from 'capitalize'; import { connect } from 'react-redux'; import { increaseParameter } from '../../../actions/heroActions'; function select(state) { return { hero: state.hero }; } export default connect(select)(({ hero, dispatch }) => { function renderFeature(orig, fea...
modules/gui/src/widget/elementResizeDetector.js
openforis/sepal
import {Subject, concat, debounceTime, distinctUntilChanged, first} from 'rxjs' import {compose} from 'compose' import PropTypes from 'prop-types' import React from 'react' import ReactResizeDetector from 'react-resize-detector' import withSubscriptions from 'subscription' const UPDATE_DEBOUNCE_MS = 250 export class ...
packages/material-ui-icons/src/FlightLand.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M2.5 19h19v2h-19zm7.18-5.73l4.35 1.16 5.31 1.42c.8.21 1.62-.26 1.84-1.06.21-.8-.26-1.62-1.06-1.84l-5.31-1.42-2.76-9.02L10.12 2v8.28L5.15 8.95l-.93-2.32-1.45-.39v5.17l1.6.43 5.31 1.43z" /></g> , 'Fl...
client/index.js
bjoberg/social-pulse
/** * Client entry point */ import React from 'react'; import { render } from 'react-dom'; import { AppContainer } from 'react-hot-loader'; import App from './App'; import store from './store'; import { checkLogin } from './actions/user'; // Moved initializing of store to store.js // NOTE: this removes functionalit...
examples/todo/js/components/TodoListFooter.js
almasakchabayev/relay
/** * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNES...
packages/icons/src/md/hardware/SmartPhone.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdSmartPhone(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M34 2.02c2.21 0 4 1.77 4 3.98v36c0 2.21-1.79 4-4 4H14c-2.21 0-4-1.79-4-4V6c0-2.21 1.79-4 4-4l20 .02zM34 38V10H14v28h20z" /> </IconBase> ); }...
client/components/myspaces.js
LivenUp/livenup
import React, { Component } from 'react'; import Planner from '../containers/planner'; export default class Profile extends Component { render() { return ( <Planner /> ); } }
ajax/libs/yui/3.17.1/datatable-body/datatable-body.js
ram-nadella/cdnjs
/* YUI 3.17.1 (build 0eb5a52) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ 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...
src/index.js
JorgeHernandez/reduxWorkshop
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import ReduxPromise from 'redux-promise'; import App from './components/app'; import reducers from './reducers'; const createStoreWithMiddleware = applyMiddleware(...
docs/app/src/pages/Resources.js
tercenya/compendium
import React from 'react'; import { CondLang, NavMain, PageHeader, PageFooter, A, MFizzIcon, FontAwesomeIcon } from '../components'; const Resources = (props) => { return ( <div> <NavMain activePage="resources" /> <PageHeader title="Resources" subTitle="" /> <div className="c...
src/components/topic/TopicTitle.js
ahonn/v2exRN
import React, { Component } from 'react'; import { View, Text, StyleSheet } from 'react-native'; class TopicTitle extends Component { render() { const { topic } = this.props; return ( <View style={styles.titleWrapper}> <Text style={styles.title}> {topic.title} </Text> ...
blueprints/componentOLD/files/src/components/__name__/__name__.js
simonghales/mapping
import React from 'react' import classes from './<%= pascalEntityName %>.scss' export const <%= pascalEntityName %> = () => ( <div className={classes['<%= pascalEntityName %>']}> <h1><%= pascalEntityName %></h1> </div> ) export default <%= pascalEntityName %>
src/components/Pagination.js
MunGell/elemental
var React = require('react'); var classNames = require('classnames'); module.exports = React.createClass({ displayName: 'Pagination', propTypes: { className: React.PropTypes.string, currentPage: React.PropTypes.number.isRequired, onPageSelect: React.PropTypes.func, pageSize: React.PropTypes.number.isRequired...
files/rxjs/2.5.2/rx.lite.js
afghanistanyn/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/js/containers/Auth/index.js
ClubExpressions/poc-expression.club
import React from 'react'; export default class Auth extends React.Component { render () { return ( <div> {this.props.children} </div> ); } }
imports/plugins/included/taxes-taxcloud/server/jobs/taxcodes.js
aeyde/reaction
import { Meteor } from "meteor/meteor"; import { Job } from "/imports/plugins/core/job-collection/lib"; import { Jobs, Packages } from "/lib/collections"; import { Hooks, Logger, Reaction } from "/server/api"; // // helper to fetch reaction-taxes config // function getJobConfig() { const config = Packages.findOne({ ...
ajax/libs/react/0.5.2/react.js
sh4hin/cdnjs
/** * React v0.5.2 */ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports; return (function e(t,...
editor/src/Onboarding/index.js
jddeeds/jddeeds.github.io
import React from 'react' import styled from 'styled-components' import Transition from 'react-motion-ui-pack' import Button from '../Button' const Container = styled.div` padding: 10px; position: absolute; background-color: whitesmoke; left: 5vw; top: 5vh; overflow-y: auto; height: 90vh; width: 90vw; ...
packages/material-ui-icons/src/AttachMoneyTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M11.5 17.1c-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c1.95-.37 3.5-1.5 3.5-3.55 0-2.84-2.43-3.81-4.7-4.4-2.27-.59-3-1.2-3-2.15 0-1.09 1.01-1.85 2.7-1.85 1.78 0 2.44.85 2.5 ...
ajax/libs/vue-material/1.0.0-beta-7/components/MdTable/index.js
wout/cdnjs
!(function(e,t){var n,r;if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{n=t("object"==typeof exports?require("vue"):e.Vue);for(r in n)("object"==typeof exports?exports:e)[r]=n[r]}})(this,(function(e){return (funct...
src/components/login/LoginPage.js
TulevaEE/onboarding-client
import React from 'react'; import { PropTypes as Types } from 'prop-types'; import { Redirect, withRouter } from 'react-router-dom'; import { FacebookProvider, Like } from 'react-facebook'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import './LoginPage.scss'; import { logo, Aut...
docs/src/app/components/pages/get-started/Installation.js
frnk94/material-ui
import React from 'react'; import Title from 'react-title-component'; import MarkdownElement from '../../MarkdownElement'; import installationText from './installation.md'; const Installation = () => ( <div> <Title render={(previousTitle) => `Installation - ${previousTitle}`} /> <MarkdownElement text={insta...
docs/pages/blog/2020-q1-update.js
lgollut/material-ui
import React from 'react'; import TopLayoutBlog from 'docs/src/modules/components/TopLayoutBlog'; import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown'; const pageFilename = 'blog/2020-q1-update'; const requireRaw = require.context('!raw-loader!./', false, /2020-q1-update\.md$/); export default funct...
app/components/ToggleOption/index.js
FlorianVoct/monPropreMix
/** * * ToggleOption * */ import React from 'react'; import { injectIntl, intlShape } from 'react-intl'; const ToggleOption = ({ value, message, intl }) => ( <option value={value}> {message ? intl.formatMessage(message) : value} </option> ); ToggleOption.propTypes = { value: React.PropTypes.string.isRequir...
packages/ringcentral-widgets-docs/src/app/pages/Components/CallingSettingsAlert/index.js
ringcentral/ringcentral-js-widget
import React from 'react'; import { parse } from 'react-docgen'; import CodeExample from '../../../components/CodeExample'; import ComponentHeader from '../../../components/ComponentHeader'; import PropTypeDescription from '../../../components/PropTypeDescription'; import Demo from './Demo'; // eslint-disable-next-lin...
index.js
cornedor/react-native-video-player
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Image, ImageBackground, Platform, StyleSheet, Text, TextInput, TouchableOpacity, View, ViewPropTypes } from 'react-native'; import Icon from 'react-native-vector-icons/MaterialIcons'; import Video from 'react-native-video'; // eslint...
static/js/analytics.min.js
angelverde/web-admin-events
!function(){function require(path,parent,orig){var resolved=require.resolve(path);if(null==resolved){orig=orig||path;parent=parent||"root";var err=new Error('Failed to require "'+orig+'" from "'+parent+'"');err.path=orig;err.parent=parent;err.require=true;throw err}var module=require.modules[resolved];if(!module.export...
app/javascript/mastodon/components/short_number.js
masto-donte-com-br/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { toShortNumber, pluralReady, DECIMAL_UNITS } from '../utils/numbers'; import { FormattedMessage, FormattedNumber } from 'react-intl'; // @ts-check /** * @callback ShortNumberRenderer * @param {JSX.Element} displayNumber Number to display * @para...
src/components/forms/Connect.js
mBeierl/Better-Twitch-Chat
import React from 'react'; import FlatButton from 'material-ui/FlatButton'; import TextField from 'material-ui/TextField'; import { Card, CardActions, CardTitle, CardText } from 'material-ui/Card'; const Connect = props => <Card className="container"> <CardTitle title="Connect to a Twitch-Channel" /> <CardTe...
ajax/libs/jqwidgets/12.2.1/jqwidgets-react-tsx/jqxformattedinput/react_jqxformattedinput.umd.js
cdnjs/cdnjs
require('../../jqwidgets/jqxcore'); require('../../jqwidgets/jqxformattedinput'); (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : (factory((g...
ajax/libs/yui/3.11.0/scrollview-base/scrollview-base-debug.js
mayur404/cdnjs
YUI.add('scrollview-base', function (Y, NAME) { /** * The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators * * @module scrollview * @submodule scrollview-base */ // Local vars var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, IE = Y.UA.ie...
ajax/libs/react-data-grid/0.14.26/react-data-grid-with-addons.js
Piicksarn/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
library/src/pivotal-ui-react/flex-grids/flex-grids.js
sjolicoeur/pivotal-ui
import React from 'react'; import PropTypes from 'prop-types'; import {mergeProps} from 'pui-react-helpers'; import classnames from 'classnames'; import 'pui-css-flex-grids'; export class Grid extends React.Component { static propTypes = { gutter: PropTypes.bool }; static defaultProps = { gutter: true ...
docs/app/Examples/views/Item/Variations/index.js
koenvg/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const Variations = () => ( <ExampleSection title='Variations'> <ComponentExample title='Divided' description='Items ...
app/javascript/mastodon/features/direct_timeline/components/conversations_list.js
sylph-sin-tyaku/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ConversationContainer from '../containers/conversation_container'; import ScrollableList from '../../../components/scroll...
src/app/core/atoms/icon/icons/mail.js
blowsys/reservo
import React from 'react'; const Mail = (props) => <svg {...props} viewBox="0 0 48 48"><g><path d="M0,2.4000015L7.5999756,9.7999944 16,17.999999 24.399963,9.7999944 31.899963,2.4000015 32,2.4000015 32,23.400001 0,23.400001z M1.8999634,0L16,0 30.099976,0 23,7.099998 16,14.099997 9,7.099998z" transform="rotate(0,24,24) t...
examples/resources/scripts/server.js
allantatter/laravel-react
'use strict'; console.log('Initalizing server.'); var express = require('express'); var React = require('react'); var Router = require('react-router'); // Transparently support JSX require('node-jsx').install({harmony: true}); require('dotenv').load({path: '../../.env'}); var app = express(); var componentsDir =...
src/js/components/acl/modals/add_principals_modal.js
rafaelfbs/realizejs
import React, { Component } from 'react'; import PropTypes from '../../../prop_types'; import $ from 'jquery'; import { autobind, mixin } from '../../../utils/decorators'; import { Modal, ModalHeader, ModalContent, ModalFooter, CloseModalButton, Button, Grid, } from '../../../components'; import { Reque...
src/components/Button/Button.js
akikoo/react-ui-style-guide
require('./Button.scss'); import React from 'react'; import ReactDOM from 'react-dom'; import classNames from 'classnames'; class Button extends React.Component { constructor(props) { super(props); } render() { let classes = classNames( 'button', this.props.modifiers ); return ( ...
src/client/controllers/editor/achievement.js
bookbrainz/bookbrainz-site
/* * Copyright (C) 2016 Daniel Hsing * 2015 Ben Ockmore * 2015 Sean Burke * * This program 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 2 of the License, or * (a...
src/docs/examples/TextInput/ExampleOptional.js
bfletcherbiggs/DocreactJS
import React from 'react'; import TextInput from 'component-library/TextInput'; /** Optional TextBox */ class ExampleOptional extends React.Component { render() { return ( <TextInput htmlId="example-optional" label="First Name" name="firstname" onChange={() => {}} /> ...
node_modules/gulp-babel/node_modules/babel-core/lib/transformation/transformers/optimisation/react.inline-elements.js
drankadank/server
"use strict"; exports.__esModule = true; // istanbul ignore next function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj["default"] = obj;...
src/names/selected/SelectedName.js
VasilyShelkov/ClientRelationshipManagerUI
import React from 'react'; import { Switch, Route } from 'react-router'; import Drawer from 'material-ui/Drawer'; import { Toolbar, ToolbarGroup } from 'material-ui/Toolbar'; import IconButton from 'material-ui/IconButton'; import NavigationClose from 'material-ui/svg-icons/navigation/close'; import { List } from 'ma...
docs/yuidoc-p5-theme/assets/js/reference.js
polyrhythmatic/p5.js-sound
(function () {// Underscore.js 1.5.2 // http://underscorejs.org // (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors // Underscore may be freely distributed under the MIT license. (function() { // Baseline setup // -------------- // Establish the root object, `w...
ajax/libs/material-ui/4.11.3/Avatar/Avatar.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.styles=void 0;var _extends2=_interopRequireDefault(require("@bab...
src/components/Footer/Footer.react.js
uday96/chat.susi.ai
import React, { Component } from 'react'; import susi from '../../images/susi-logo.svg'; import './Footer.css'; import { Link } from 'react-router-dom'; class Footer extends Component { constructor(props) { super(props); this.state = { video: false, } } render() { // Footer Component re...
solutions/step8/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" import {Provider} from 'react-redux' import {createStore, applyMiddleware} from 'redux' import reducers from './reducers' import thunk from 'redux-thunk' import {loadData} fr...
src/components/input/autocomplete-select-ref/index.js
KleeGroup/focus-components
import PropTypes from 'prop-types'; import React from 'react'; import createReactClass from 'create-react-class'; import AutocompleteSelect from '../autocomplete-select/field'; import AutocompleteSelectMultiple from '../autocomplete-select-multiple/field'; import referenceMixin from '../../../common/form/mixin/referen...
ajax/libs/rxjs/2.2.7/rx.compat.js
owcc/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. (function (window, undefined) { var freeExports = typeof exports == 'object' && exports, freeModule = typeof module == 'object' && module && module.exports == freeExports &&...
analysis/demonhunterhavoc/src/modules/talents/DemonBlades.js
anom0ly/WoWAnalyzer
import { t } from '@lingui/macro'; import { formatThousands, formatPercentage } from 'common/format'; import SPELLS from 'common/SPELLS'; import { SpellLink } from 'interface'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import STATISTIC_ORDER from 'parser/...
src/components/menu/menu-list.js
bokuweb/re-bulma
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styles from '../../../build/styles'; import { getCallbacks } from '../../helper/helper'; export default class MenuList extends Component { static propTypes = { style: PropTypes.object, children: PropTypes.any, className:...
src/svg-icons/action/redeem.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionRedeem = (props) => ( <SvgIcon {...props}> <path d="M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.1...
tests/components/Header/Header.spec.js
Dylan1312/pool-elo
import React from 'react' import { Header } from 'components/Header/Header' import { IndexLink, Link } from 'react-router' import { shallow } from 'enzyme' describe('(Component) Header', () => { let _wrapper beforeEach(() => { _wrapper = shallow(<Header />) }) it('Renders a welcome message', () => { ...
doc/asset/js/jquery.min.js
chinakids/echarts
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.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=f.trim...
src/components/ColumnName.js
kkanzelmeyer/project-dashboard
import React, { PropTypes } from 'react'; class ColumnName extends React.Component { static propTypes = { name: PropTypes.string, active: PropTypes.bool } render () { const { name, active } = this.props; const styles = { base: { height: '100%', width: '100%', paddi...
node_modules/react-icons/ti/social-skype.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiSocialSkype = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m34.4 22.2c0.1-0.7 0.2-1.4 0.2-2.1 0-4.1-1.4-7.6-4.2-10.4-2.8-2.9-6.3-4.4-10.2-4.4-0.5 0-1 0-1.4 0.1-1.2-0.6-2.6-0.9-4-0.9-2.7 0-5.1 1-7 2.9-1.8 1.9-2.8 4.3-2.8 7...
wp-includes/js/jquery/jquery.js
Ndrubey/RancorWebsite
/*! 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...
packages/react-jsx-highcharts/src/components/AreaSeries/AreaSeries.js
AlexMayants/react-jsx-highcharts
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Series from '../Series'; class AreaSeries extends Component { static propTypes = { id: PropTypes.string.isRequired }; render () { return ( <Series {...this.props} type="area" /> ); } } export default AreaSe...
ajax/libs/rxjs/2.4.9/rx.lite.extras.js
tmorin/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, 'und...
ajax/libs/react-virtualized/9.0.0-rc.1/react-virtualized.min.js
him2him2/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.ReactVirtualized=t(require("React"),require("ReactDOM")):e.ReactVirtualized=t(e.React,e.ReactDOM)}...
misc/tabledrag.js
gerrit1978/Indigov
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
packages/material-ui-icons/src/FormatShapes.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M23 7V1h-6v2H7V1H1v6h2v10H1v6h6v-2h10v2h6v-6h-2V7h2zM3 3h2v2H3V3zm2 18H3v-2h2v2zm12-2H7v-2H5V7h2V5h10v2h2v10h-2v2zm4 2h-2v-2h2v2zM19 5V3h2v2h-2zm-5.27 9h-3.49l-.73 2H7.89l3.4-9h1.4l3.4...
webpack/routes/OvalPolicies/OvalPoliciesShow/DetailsTab.js
theforeman/foreman_openscap
import React from 'react'; import PropTypes from 'prop-types'; import { useMutation } from '@apollo/client'; import { TextList, TextContent, TextArea, TextListItem, TextListVariants, TextListItemVariants, TextInput, } from '@patternfly/react-core'; import { translate as __ } from 'foremanReact/common/I1...
docs/src/routes/contact/Contact.js
bmatthews/haze-lea
/** * 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 PropTypes from 'prop-...
styleguide/sections/Type.js
scott-riley/loggins
import React, { Component } from 'react'; import Section from '../components/Section'; import SectionTitle from 'components/SectionTitle/SectionTitle'; import * as t from 'globals/typography.css'; export default class Type extends Component { render() { return ( <Section name="Typography" href="https://g...
src/js/components/icons/base/Stop.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
client/auth/Error.js
bryanph/Geist
import React from 'react' export const ValidationErrors = (props) => { const errors = props.errors if (!errors) { return <noscipt /> } const fields = Object.keys(errors) if (!fields.length) { return <noscript /> } const errorList = fields.map(field => ( <li>inval...
test/components/MainSection.spec.js
thetallweeks/react-redux-es6-istanbul-starter-kit
import expect from 'expect' import React from 'react' import TestUtils from 'react-addons-test-utils' import MainSection from '../../src/components/MainSection' import TodoItem from '../../src/components/TodoItem' import Footer from '../../src/components/Footer' import { SHOW_ALL, SHOW_COMPLETED } from '../../src/const...
ajax/libs/react-slick/0.14.0/react-slick.js
dc-js/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
client/node_modules/uu5g03/dist-node/layout/row.js
UnicornCollege/ucl.itkpd.configurator
import React from 'react'; import {BaseMixin, ElementaryMixin, SectionMixin, CcrWriterMixin, ColorSchemaMixin} from '../common/common.js'; import RowMixin from './row-mixin.js'; import Column from './column.js'; import './row.less'; export const Row = React.createClass({ //@@viewOn:mixins mixins: [ BaseMixin...
node_modules/react-dom/lib/ReactDOMTextComponent.js
webtutorial/builder
/** * 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'; var _prodInvariant = require('./reactProdInvariant'), _assign = require('object-assign'); var DOMChildrenOperatio...
src/svg-icons/device/signal-cellular-connected-no-internet-4-bar.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceSignalCellularConnectedNoInternet4Bar = (props) => ( <SvgIcon {...props}> <path d="M20 18h2v-8h-2v8zm0 4h2v-2h-2v2zM2 22h16V8h4V2L2 22z"/> </SvgIcon> ); DeviceSignalCellularConnectedNoInternet4Bar = pur...
src/client.js
tonimoeckel/lap-counter-react
/** * 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 'whatwg-fetch'; import React from 'react'; impor...
src/svg-icons/image/brush.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBrush = (props) => ( <SvgIcon {...props}> <path d="M7 14c-1.66 0-3 1.34-3 3 0 1.31-1.16 2-2 2 .92 1.22 2.49 2 4 2 2.21 0 4-1.79 4-4 0-1.66-1.34-3-3-3zm13.71-9.37l-1.34-1.34c-.39-.39-1.02-.39-1.41 0L9 12.25...
benchmarks/dom-comparison/src/implementations/react-native-web/Tweet/TweetTextPart.js
risetechnologies/fela
/* eslint-disable react/prop-types */ import { Image, StyleSheet, Text } from 'react-native'; import PropTypes from 'prop-types'; import React from 'react'; import theme from './theme'; const createTextEntity = ({ part }) => <Text>{`${part.prefix}${part.text}`}</Text>; const createTwemojiEntity = ({ part }) => ( <I...
src/components/utilities/RewardCalculator.js
whphhg/vcash-ui
import React from 'react' import { translate } from 'react-i18next' import { action, computed, extendObservable } from 'mobx' import { inject, observer } from 'mobx-react' import { incentivePercent, powReward } from '../../utilities/blockRewards.js' /** Ant Design */ import Input from 'antd/lib/input' @translate(['co...
ajax/libs/yui/3.5.0/simpleyui/simpleyui-debug.js
coupang/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespac...