target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
node_modules/react-icons/io/social-dribbble.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoSocialDribbble = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20 5c8.3 0 15 6.7 15 15s-6.7 15-15 15-15-6.7-15-15 6.7-15 15-15z m0 27.5c6.9 0 12.5-5.6 12.5-12.5s-5.6-12.5-12.5-12.5-12.5 5.6-12.5 12.5 5.6 12.5 12.5 12.5z m...
generators/js-framework/modules/react/components/Account/Reset.js
sahat/boilerplate
import React from 'react'; import { connect } from 'react-redux' import { resetPassword } from '../../actions/auth'; import Messages from '../Messages'; class Reset extends React.Component { constructor(props) { super(props); this.state = { password: '', confirm: '' }; } handleChange(event) { this.s...
src/Fade.js
pombredanne/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import Transition from 'react-overlays/lib/Transition'; import deprecated from 'react-prop-types/lib/deprecated'; class Fade extends React.Component { render() { let timeout = this.props.timeout || this.props.duration; return ( <Transitio...
src/components/app.js
sean1rose/WeatherApp
import React, { Component } from 'react'; import SearchBar from '../containers/search_bar'; import WeatherList from '../containers/weather_list'; export default class App extends Component { render() { return ( <div> <SearchBar /> <WeatherList /> </div> ); } }
src/components/hero/index.js
hechoendrupal/drupalconsole.com
import React from 'react'; // import PropTypes from 'prop-types'; import './style.css'; const Hero = props => { return ( <header className={`py-2 text-center ${props.innerSize} hero`} > <div className="container-sm"> {props.children} </div> </header> ); }; Hero.propTypes = { }; expor...
src/html.js
ScrantonHacks/website
import React from 'react'; import PropTypes from 'prop-types'; const BUILD_TIME = new Date().getTime(); // eslint-disable-line no-unused-vars export default class HTML extends React.Component { static propTypes = { body: PropTypes.string, } /* eslint-disable global-require, import/no-webpack-loader-syntax,...
actor-apps/app-web/src/app/components/sidebar/RecentSection.react.js
jiguoling/actor-platform
import _ from 'lodash'; import React from 'react'; import { Styles, RaisedButton } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import DialogActionCreators from 'actions/DialogActionCreators'; import DialogStore from 'stores/DialogStore'; import CreateGroupActionCreators from 'actions/CreateGro...
Examples/UIExplorer/TimerExample.js
neeraj-singh/react-native
/** * The examples provided by Facebook are for non-commercial testing and * evaluation purposes only. * * Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ...
codemods/frontend/__testfixtures__/react-helmet-async-import/all.input.js
thorgate/django-project-template
import React from 'react'; import { Helmet } from 'react-helmet'; const HelloWorld = () => ( <> <Helmet> <title>Hello World</title> <link rel="canonical" href="https://www.thorgate.eu/" /> </Helmet> <h1>Hello World</h1> </> ); export default HelloWorld;
src/components/pages/history/index.js
modern-translator/client
/* 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 https://mozilla.org/MPL/2.0/. */ import React from 'react'; import PropTypes from 'prop-types'; import AppBar from '@material-ui/core/AppBar'; imp...
ajax/libs/material-ui/5.0.0-alpha.22/modern/Fade/Fade.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import*as React from"react";import PropTypes from"prop-types";import{Transition}from"react-transition-group";import{elementAcceptingRef}from"@material-ui/utils";imp...
src/components/icons/shortcuts.js
ipfs-shipyard/peerpad
import React from 'react' export default ({ className, style }) => ( <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 149 146.7' className={className} style={style}> <path d='M96.86,78.32a17.22,17.22,0,0,0-7.45,1.74V66.64A17.35,17.35,0,1,0,79.47,51v7.45H69.53V51a17.55,17.55,0,1,0-9.94,15.65V80.05a17.35,17.35...
webpack.config.js
luckybirdme/reactjs-cnodejs
const webpack = require('webpack') const path = require('path') module.exports = { devtool: 'source-map', entry: { 'app': [ 'react-hot-loader/patch', './src/index' ] }, output: { path: path.resolve(__dirname, './dist'), filename: 'bundle.js' }, module: { rules: [ { tes...
Samples/Core.SiteInformation/Core.SiteInformationWeb/Scripts/jquery-1.9.1.js
RickVanRousselt/PnP
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 Microsoft grants you the right to use these script files for the sole purpose of either: (i) interacting through your browser with the Microsoft website, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
files/yasgui/1.1.11/yasgui.min.js
oller/jsdelivr
!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.YASGUI=e()}}(function(){var e;return function t(e,n,r...
test/unit/form.js
ericvaladas/formwood
import React from 'react'; import { findDOMNode } from 'react-dom'; import { JSDOM } from 'jsdom'; import chai, {expect} from 'chai'; import sinon from 'sinon'; import sinonChai from 'sinon-chai'; import Enzyme from 'enzyme'; import { mount } from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import Form fro...
client2/src/components/AddMessage.js
mehrandabi/graphql-tutorial
import React from 'react'; import { gql, graphql } from 'react-apollo'; import { channelDetailsQuery } from './ChannelDetails'; import { withRouter } from 'react-router'; const AddMessage = ({ mutate, match }) => { const handleKeyUp = (evt) => { if (evt.keyCode === 13) { mutate({ variables: { ...
src/svg-icons/editor/format-color-reset.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatColorReset = (props) => ( <SvgIcon {...props}> <path d="M18 14c0-4-6-10.8-6-10.8s-1.33 1.51-2.73 3.52l8.59 8.59c.09-.42.14-.86.14-1.31zm-.88 3.12L12.5 12.5 5.27 5.27 4 6.55l3.32 3.32C6.55 11.32 6 12...
src/components/projects/content/AlterEgo.js
tehfailsafe/portfolio
import React from 'react'; import Section from '../show/Section' import CopySplitLeft from '../show/CopySplitLeft' import CopySplitRight from '../show/CopySplitRight' import Copy from '../show/Copy' import ImageFull from '../show/ImageFull' import VideoPlayer from '../show/VideoPlayer' export default React.createClas...
client/src/index.js
fayimora/osprey
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; import './styles/app.scss'; ReactDOM.render( <App />, document.getElementById('app') );
ajax/libs/forerunnerdb/1.3.714/fdb-core.min.js
CyrusSUEN/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...
src/parser/rogue/subtlety/modules/features/checklist/Component.js
fyruna/WoWAnalyzer
import React from 'react'; import PropTypes from 'prop-types'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import { TooltipElement } from 'common/Tooltip'; import Checklist from 'parser/shared/modules/features/Checklist'; import Rule from 'parser/shared/modules/features/Checklist/Rule...
test/CollapsibleMixinSpec.js
apisandipas/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import CollapsibleMixin from '../src/CollapsibleMixin'; import classNames from 'classnames'; describe('CollapsibleMixin', function () { let Component, instance; beforeEach(function(){ Component = React.createClass({ mixin...
src/components/common/svg-icons/action/opacity.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionOpacity = (props) => ( <SvgIcon {...props}> <path d="M17.66 8L12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8zM6 14c....
ajax/libs/material-ui/5.0.0-alpha.5/ButtonGroup/ButtonGroup.js
cdnjs/cdnjs
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _int...
app/components/graphs/LineChart.js
davidychow87/etf
//This method will use d3 to render //pass in ref to a node //data = array of objects { symbol: MSFT, type: series, values: [{date: "2017=01=41" ...Other data}] } import React, { Component } from 'react'; import * as d3 from 'd3'; import PropTypes from 'prop-types'; export default class LineChart extends Component { ...
ajax/libs/babel-core/4.6.4/browser-polyfill.js
sreym/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...
app/components/WorksGrid/index.js
matteoterrinoni/portfolio
/** * * WorksGrid * */ import React from 'react'; import PropTypes from 'prop-types'; import GridItems from 'components/GridItems'; import WorkItem from 'components/WorkItem'; import { worksToSortedArray } from 'containers/Works/model' // import styled from 'styled-components'; class WorksGrid extends React.PureCom...
pootle/static/js/admin/components/User/UserController.js
ta2-1/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ import React from 'react'; import Search from '../Search'...
web/dist/v2.2.2.js
longze/my-cellar
!function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var i=n(1),r=n(2);n(3),n(7);var o=n(9),s=n(10),a=n(17),l=document.body,c=i.extend({el:function(){return ...
packages/material-ui-icons/src/AlarmOnTwoTone.js
allanalexandre/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="M12 6c-3.86 0-7 3.14-7 7s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm-1.47 10.64l-3.18-3.18 1.06-1.06 2.13 2.13 4.93-4.95 1.06 1.06-6 6z" opacity=".3" ...
src/SearchForm.js
yberg/react-store
import React from 'react'; import ReactDOM from 'react-dom'; export default class SearchForm extends React.Component { constructor(props) { super(props); this.search = this.search.bind(this); } search(event) { event.preventDefault(); // TODO Generalise this.props.search({ name: ReactDOM...
example/example-react/src/index.js
kesslerdev/quarkit
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import registerServiceWorker from './registerServiceWorker' import "material-design-icons/iconfont/material-icons.css" import './index.css' import App from './components' import {store} from './store' const Index = () =...
actor-apps/app-web/src/app/components/Main.react.js
liuzwei/actor-platform
import React from 'react'; import requireAuth from 'utils/require-auth'; import VisibilityActionCreators from '../actions/VisibilityActionCreators'; import FaviconActionCreators from 'actions/FaviconActionCreators'; import FaviconStore from 'stores/FaviconStore'; import ActivitySection from 'components/ActivitySecti...
tests/components/Header/Header.spec.js
IndyXTechFellowship/Cultural-Trail-Web
import React from 'react' import { Header } from 'components/Header/Header' import classes from 'components/Header/Header.scss' import { IndexLink, Link } from 'react-router' import { shallow } from 'enzyme' describe('(Component) Header', () => { let _wrapper beforeEach(() => { _wrapper = shallow(<Header/>) ...
frontend/component/TopicDetail.js
ice139999361/dataguru-node-learn
import React from 'react'; import {Link} from 'react-router'; import 'highlight.js/styles/github.css'; import CommentEditor from './CommentEditor'; import {getTopicDetail, addComment, deleteComment} from '../lib/client'; import {renderMarkdown} from '../lib/utils'; export default class TopicDetail extends React.Compo...
js/components/doings/DoingsLists/lead.js
ciccia/i-done-that
import React from 'react'; import DoingsListBase from './base'; class DoingsListLead extends DoingsListBase { render() { return ( <div> {this.props.doings.valueSeq().map((value) => ( <p key={value.get('id')} className="flow-text truncate" onClick={() => this.pro...
react-client/src/StreetViewComponent.js
nico1510/travel-streetview
import React from 'react'; import {default as ScriptjsLoader} from "react-google-maps/lib/async/ScriptjsLoader"; import {GoogleMap} from "react-google-maps"; import {default as config} from './ClientConfig'; function StreetViewComponent(props) { let streetViewContent; if (!props.selectedPosition) { s...
pkg/ovirt/index.js
andreasn/cockpit
/* * This file is part of Cockpit. * * Copyright (C) 2016 Red Hat, Inc. * * Cockpit is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any l...
src/client/athrun/core/container/screens/containers/mainregion.js
cnfi/laboratory
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import { Row, Col } from 'antd'; import * as actions from '../../actions'; import MenuList from '../components/menulist'; class MainRegion extends Component { constructor(props, context) { ...
maodou/customers/client/components/admin/customersList.js
maodouio/meteor-react-redux-base
import React, { Component } from 'react'; import {Link} from 'react-router'; import Loading from 'client/components/common/loading'; import moment from 'moment'; export default class CustomersList extends Component { render() { const { data, status } = this.props.customers; return( <div className="admi...
app/javascript/mastodon/features/standalone/public_timeline/index.js
kagucho/mastodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import StatusListContainer from '../../ui/containers/status_list_container'; import { refreshPublicTimeline, expandPublicTimeline, } from '../../../actions/timelines'; import Column from '../../../components/column...
ajax/libs/yui/3.7.1/scrollview-base/scrollview-base.js
danut007ro/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 */ var getClassName = Y.ClassNameManager.getClassName, DOCUMENT = Y.config.doc, WINDOW = Y.config.win, I...
examples/custom-server-hapi/pages/index.js
sedubois/next.js
import React from 'react' import Link from 'next/link' export default () => ( <ul> <li><Link href='/b' as='/a'><a>a</a></Link></li> <li><Link href='/a' as='/b'><a>b</a></Link></li> </ul> )
packages/mineral-ui-icons/src/IconBorderBottom.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 IconBorderBottom(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconP...
src/components/Footer.js
guivazcabral/site
import React from 'react'; const Footer = () => { return ( <div className="content footer row"> <div className="small-12 medium-12 large-12 columns"> <div className="icons"> <div className="socialIcon"> <a href={'https://pt.linkedin.com/in/guilhermevazcabral'}> <...
ajax/libs/angular-google-maps/2.1.0-X.6/angular-google-maps_dev_mapped.js
bsquochoaidownloadfolders/cdnjs
/*! angular-google-maps 2.1.0-X.6 2015-03-16 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby grante...
client/__tests__/components/Admin/AdminBooks.spec.js
amarachukwu-agbo/hello-books
import React from 'react'; import sinon from 'sinon'; import { shallow } from 'enzyme'; import AdminBooks from '../../../components/Admin/AdminBooks.jsx'; const props = { books: [ { id: 1, title: 'Half of a yellow sun', quantity: 20, description: 'An enchanting novel', subject: 'Fic...
docs/src/pages/customization/TypographyTheme.js
AndriusBil/material-ui
// @flow weak import React from 'react'; import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles'; import Typography from 'material-ui/Typography'; import Button from 'material-ui/Button'; function theme(outerTheme) { return createMuiTheme({ typography: { fontFamily: '-apple-system,sy...
application/components/orders/index.js
ronanamsterdam/squaredcoffee
import React, { Component } from 'react'; import { Text, View, ScrollView } from 'react-native'; import Button from 'react-native-button'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import AppActions from '../../actions'; import OrderListItem from './orderListItem'; import Awe...
webapp/src/components/DataTable/EditableTable.js
templatetools/trace
import React from 'react' import PropTypes from 'prop-types' import { Table, Input, Icon, Button, Popconfirm,AutoComplete } from 'antd'; import { request } from 'utils' import lodash from 'lodash' import EditableCell from './EditableCell' class EditableTable extends React.Component { constructor(props) { super(...
website/server/server.js
salanki/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 stric...
src/user/ui/loginbutton/LoginButton.js
Solvocracy/solvocracy-dapp
import React from 'react' // Images import uPortLogo from '../../../img/uport-logo.svg' const LoginButton = ({ onLoginUserClick }) => { return( <li className="pure-menu-item"> <a href="#" className="pure-menu-link" onClick={(event) => onLoginUserClick(event)}><img className="uport-logo" src={uPortLogo} al...
actor-apps/app-web/src/app/components/activity/GroupProfile.react.js
yaoliyc/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import ReactZeroClipboard from 'react-zeroclipboard'; import { IntlMixin, FormattedMessage } from 'react-intl'; import { Styles, Snackbar } from 'material-ui'; import ActorTheme from 'constants/ActorTheme'; import classnames from '...
react-flux-mui/js/material-ui/src/svg-icons/notification/sync-problem.js
pbogdan/react-flux-mui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationSyncProblem = (props) => ( <SvgIcon {...props}> <path d="M3 12c0 2.21.91 4.2 2.36 5.64L3 20h6v-6l-2.24 2.24C5.68 15.15 5 13.66 5 12c0-2.61 1.67-4.83 4-5.65V4.26C5.55 5.15 3 8.27 3 12zm8 5h2v-2h-2v2z...
src/js/ui/app/components/music/controls.js
bastuijnman/carpi
import React from 'react'; import socket from './../../utils/socket'; const containerStyle = { fontSize: '5rem', color: 'rgba(255, 255, 255, 0.75)', display: 'flex', alignItems: 'center', justifyContent: 'center' } const playPauseStyle = { fontSize: '7.5rem' } export default class Controls extends React.Component { ...
src/svg-icons/action/note-add.js
ArcanisCz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionNoteAdd = (props) => ( <SvgIcon {...props}> <path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"/> </SvgIcon> );...
ajax/libs/6to5/1.11.12/browser-polyfill.js
tonytlwu/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...
frontend/main.js
Spike980/Url-Crawler
import React from 'react'; import ReactDOM from 'react-dom'; import Contents from './Contents'; class Main extends React.Component { constructor(props) { super(props); this.state = { urls: [] }; } componentDidMount() { $.ajax({ url: "http://localhost:3000/retrieveurl", // The name of ...
webpack.config.js
HopperGithub/react-newsapp
var webpack = require('webpack'); var path = require('path'); var websiteDir = path.resolve(__dirname, 'website'); var serverDir = path.resolve(__dirname, 'api'); var nodeModuleDir = path.resolve(__dirname, 'node_modules'); var ExtractTextPlugin = require('extract-text-webpack-plugin'); var CopyPlugin = require('copy-w...
src/components/common/EditableInput.js
JunisphereSystemsAG/react-color
'use strict' /* @flow */ import React from 'react' import ReactCSS from 'reactcss' import shallowCompare from 'react-addons-shallow-compare' export class EditableInput extends ReactCSS.Component { shouldComponentUpdate = shallowCompare.bind(this, this, arguments[0], arguments[1]); constructor(props: any) { s...
wp-content/themes/porto/assets/vendor/mediaelement/jquery.js
Scalechange/scalesite
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { ...
src/conversations/ConversationsCard.js
saketkumar95/zulip-mobile
/* @flow */ import React, { Component } from 'react'; import { View, StyleSheet } from 'react-native'; import { STATUSBAR_HEIGHT } from '../styles'; import { OnNarrowAction, PushRouteAction, } from '../types'; import { privateNarrow, groupNarrow } from '../utils/narrow'; import { ZulipButton } from '../common'; import...
lib-es/components/card/card.js
bokuweb/re-bulma
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; import React, { Component } from 'react'; import PropTypes fr...
dungeon-maker/src/components/CreateEncounter.js
sgottreu/dungeoneering
import React, { Component } from 'react'; import {List} from 'material-ui/List'; import Slots from '../lib/Slots'; import DungeonGrid from './DungeonGrid'; import EntityTooltip from './EntityTooltip'; import DroppableList from './DroppableList'; import DraggableListItem from './DraggableListItem'; import {Variables} fr...
lib/ui/components/Mocks/Editor.js
500tech/bdsm
import PropTypes from 'prop-types'; import React from 'react'; import styled from 'styled-components'; import merge from 'lodash/merge'; import get from 'lodash/get'; import SegmentedSelect from 'ui/components/common/SegmentedSelect'; import Select from 'ui/components/common/Select'; import Tabs from 'ui/components/Moc...
blueprints/layout/files/__test__/layouts/__name__Layout.spec.js
hbaughman/audible-temptations
import React from 'react' describe('(Layout) <%= pascalEntityName %>', () => { it('should exist', () => { }) })
src/svg-icons/editor/insert-emoticon.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorInsertEmoticon = (props) => ( <SvgIcon {...props}> <path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8zm...
node_modules/postcss-normalize-url/node_modules/postcss/lib/css-syntax-error.js
felt20/Lara-Material
'use strict'; exports.__esModule = true; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writabl...
docs/src/examples/elements/Input/Variations/InputExampleIcon.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Input } from 'semantic-ui-react' const InputExampleIcon = () => <Input icon='search' placeholder='Search...' /> export default InputExampleIcon
ajax/libs/mediaelement/2.11.0/jquery.js
sullivanmatt/cdnjs
/*! * jQuery JavaScript Library v1.9.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-2-4 */ (function( window, undefined ) { // Can't do t...
docs/components/Content/Content.js
kradio3/react-mdc-web
import PropTypes from 'prop-types'; import React from 'react'; import classnames from 'classnames'; import Content from '../../../src/Content'; const propTypes = { children: PropTypes.node, }; const AppContent = ({ children }) => ( <Content fixed style={{ display: "flex", boxSizing: "border-b...
app/javascript/mastodon/components/status_list.js
mstdn-jp/mastodon
import { debounce } from 'lodash'; import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import StatusContainer from '../containers/status_container'; import ImmutablePureComponent from 'react-immutable-pure-component'; import LoadGap from './load_gap...
lib/assets/js/uncompressed/jquery-1.10.2.js
arepavieja/sicoin
/*! * 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 ) { // ...
packages/showcase/misc/synced-charts.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/Hunter/Survival/Modules/Items/Tier20_4p.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import Analyzer from 'Parser/Core/Analyzer'; import Combatants from 'Parser/Core/Modules/Combatants'; import getDamageBonus from 'Parser/Hunter/Shared/Modules/getDamageBonu...
Gruntfile.js
furti/evalquiz
module.exports = function (grunt) { grunt.loadNpmTasks("grunt-contrib-copy"); grunt.loadNpmTasks("grunt-ts"); grunt.loadNpmTasks("grunt-typedoc"); grunt.loadNpmTasks("grunt-contrib-watch"); grunt.loadNpmTasks("grunt-webpack"); var tsconfig = require("./src/riddles/tsconfig.json"); var webpa...
src/app/components.js
Pocket-titan/EzDraw
import React from 'react' import { findDOMNode } from 'react-dom' import io from 'socket.io-client' let URL = 'https://ezdraw.herokuapp.com' export let Socket = io(URL) export let Dimensions = { height: 625, } export let View = ({ style, ...props }) => <div style={{display: 'flex', flex: 1, ...style}} {...props}...
packages/material-ui-icons/src/WallpaperOutlined.js
allanalexandre/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="M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5...
exercises/3/src/server/index.js
Randynamic/redux-exercises
/** * Based on React Starter Kit (https://www.reactstarterkit.com/) */ import path from 'path'; import express from 'express'; import cookieParser from 'cookie-parser'; import bodyParser from 'body-parser'; import React from 'react'; import ReactDOM from 'react-dom/server'; import PrettyError from 'pretty-error'; i...
packages/material-ui-icons/src/CellWifiOutlined.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="M20 10.78V20h-9.22L20 10.78m2-4.81L6 22h16V5.97z" opacity=".3" /><path d="M18 9.98L6 22h12V9.98zM3.93 5.93l1.29 1.29c3.19-3.19 8.38-3.19 11.5...
ajax/libs/shariff/1.7.2/shariff.js
seogi1004/cdnjs
/* * shariff - v1.4.6 - 15.12.2014 * https://github.com/heiseonline/shariff * Copyright (c) 2014 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli * Licensed under the MIT <http://www.opensource.org/licenses/mit-license.php> license */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){...
app/containers/FeaturePage/index.js
seanng/jobmaster-web
/* * FeaturePage * * List all the features */ import React from 'react'; import Helmet from 'react-helmet'; import { FormattedMessage } from 'react-intl'; import H1 from 'components/H1'; import messages from './messages'; import List from './List'; import ListItem from './ListItem'; import ListItemTitle from './Li...
ajax/libs/react-bootstrap/0.19.0/react-bootstrap.min.js
quba/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react")):e.ReactBootstrap=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return ...
tests/react_native_tests/test_data/native_code/ToolbarWithActions/storybook/stories/MessagesIcon/index.js
ibhubs/sketch-components
import React from 'react' import { storiesOf } from '@storybook/react-native' import { action } from '@storybook/addon-actions' import { linkTo } from '@storybook/addon-links' import SvgComponent from 'app/icons/MessagesIcon' storiesOf('MessagesIcon', module) .add('default', () => ( <MessagesIcon></MessagesIcon>))
ajax/libs/forerunnerdb/1.3.14/fdb-legacy.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...
webui/components/missions/SubNavigationLayout.js
stiftungswo/izivi_relaunch
import React from 'react'; import Link from 'next/link'; import { Container, Menu, Segment } from 'semantic-ui-react'; import App from '../AppContainer'; const getPath = subPage => (subPage ? `/missions${subPage}` : '/missions'); const Tab = ({ subPage, url: { pathname }, children }) => ( <Link href={getPath(subP...
src/index.js
thomasdondorf/poke-level-calc
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import 'bootstrap/dist/css/bootstrap.css'; window.$ = window.jQuery=require('jquery'); window.Tether=require('tether'); require('bootstrap/dist/js/bootstrap'); import configureStore from './store/configureStore'; im...
ajax/libs/golden-layout/1.5.7/goldenlayout.js
brix/cdnjs
(function($){var lm={"config":{},"container":{},"controls":{},"errors":{},"items":{},"utils":{}}; lm.utils.F = function () {}; lm.utils.extend = function( subClass, superClass ) { subClass.prototype = lm.utils.createObject( superClass.prototype ); subClass.prototype.contructor = subClass; }; lm.utils.createObject...
packages/flow-upgrade/src/upgrades/0.53.0/ReactComponentExplicitTypeArgs/__tests__/fixtures/FlowNone.js
popham/flow
import React from 'react'; class MyComponent extends React.Component { static defaultProps: DefaultProps = {}; props: Props; state: State = {}; defaultProps: T; static props: T; static state: T; a: T; b = 5; c: T = 5; method() {} } const expression = () => class extends React.Component { st...
test/FactoriesSpec.js
omerts/react-bootstrap
import React from 'react'; import components from '../tools/public-components'; let props = { ButtonInput: {value: 'button'}, Glyphicon: {glyph: 'star'}, Modal: {onHide() {}}, ModalTrigger: {modal: React.DOM.div(null)}, OverlayTrigger: {overlay: React.DOM.div(null)} }; function createTest(component) { let...
src/app/development/volume/PermitDataQuery.js
cityofasheville/simplicity2
import React from 'react'; import PropTypes from 'prop-types'; import { Query } from 'react-apollo'; import { GET_PERMITS } from './granularUtils'; import LoadingAnimation from '../../../shared/LoadingAnimation'; import VolumeDataReceivers from './VolumeDataReceivers'; function capitalizeFirstLetter(string) { return...
frontend/src/components/partners/profile/buttons/deactivateProfileButton.js
unicef/un-partner-portal
import React from 'react'; import PropTypes from 'prop-types'; import Cancel from 'material-ui-icons/Cancel'; import IconWithTextButton from '../../../common/iconWithTextButton'; const messages = { text: 'Deactivate Profile', }; const deactivateProfile = (id) => { }; const DeactivateProfileButton = (props) => { ...
src/Drawer/TemporaryDrawer.js
dimik/react-material-web-components
import React from 'react' import PropTypes from 'prop-types' import {MDCComponent} from '../MDCComponent' import {MDCTemporaryDrawer} from '@material/drawer/dist/mdc.drawer' import classNames from 'classnames' class TemporaryDrawer extends MDCComponent { static displayName = 'TemporaryDrawer' static propTypes = {...
ajax/libs/forerunnerdb/1.3.411/fdb-legacy.js
amoyeh/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...
src/App.js
aastein/crypto-trader
import React from 'react'; import { Switch, Route } from 'react-router-dom'; import Navigation from './containers/Navigation'; import DashboardContainer from './containers/Dashboard'; import Profile from './containers/Profile'; import Accounts from './containers/Accounts'; import Orderbook from './containers/Orderbook...
src/parser/druid/restoration/modules/features/Checklist/Module.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import BaseChecklist from 'parser/shared/modules/features/Checklist/Module'; import CastEfficiency from 'parser/shared/modules/CastEfficiency'; import Combatants from 'parser/shared/modules/Combatants'; import PreparationRuleAnalyzer from 'parser/shared/modules/features/Checklist/Preparation...
client/components/NavBar/Drawer.js
Elektro1776/Project_3
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Button } from 'react-toolbox/lib/button'; import Drawer from 'react-toolbox/lib/drawer'; import styles from '../NavBar/NavBar.css'; // import repoData from './repodata'; import { fetchUserRepos } from '../../actions/githubActions/...
node_modules/react-bootstrap/es/ModalBody.js
Crisa221/Lista-Giocatori
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
examples/04 Sortable/Stress Test/index.js
colbyr/react-dnd
import React, { Component } from 'react'; import Container from './Container'; export default class SortableStressTest extends Component { constructor(props) { super(props); // Avoid rendering on server because the big data list is generated this.state = { shouldRender: false }; } componentDidMount(...