path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
web-ui/src/common/link_button/link_button.js
pixelated-project/pixelated-user-agent
/* * Copyright (c) 2017 ThoughtWorks, Inc. * * Pixelated 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, or * (at your option) any later version. * * Pixelated i...
client/src/app/components/navigation/components/Navigation.js
zraees/sms-project
/** * Created by griga on 11/24/15. */ import React from 'react' import {bindActionCreators} from 'redux' import {connect} from 'react-redux'; import NavMenu from './NavMenu' import MinifyMenu from './MinifyMenu' import LoginInfo from '../../user/components/LoginInfo' import AsideChat from '../../chat/components/...
src/svg-icons/editor/insert-emoticon.js
nathanmarks/material-ui
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...
src/views/Pages/Login/Login.js
Cruis-R/GestionOutil
import React, { Component } from 'react'; const urlServer = "http://vps92599.ovh.net:8082/api/session"; class Login extends Component { constructor(props){ super(props); this.state = { isLoginSuccess: true }; this.loginServerTraccar = this.loginServerTraccar.bind(this); this.restoreSession =...
App/Components/AccountInfo/index.spec.js
okmttdhr/YoutuVote
// @flow import test from 'ava'; import React from 'react'; import {Text} from 'react-native'; import { shallow } from 'enzyme'; import { merge } from 'lodash'; import { defaultUserMock, userActionsMock } from '../../../Tests/mock/'; import { AccountInfo } from './index'; import {DisplayName} from './DisplayName/'; t...
src/container/editProfile.js
thipokKub/Clique-WebFront-Personnal
import React, { Component } from 'react'; import autoBind from '../hoc/autoBind'; import Circle from '../components/circle'; import axios from 'axios'; import { getCookie } from '../actions/common'; class editProfile extends Component { constructor(props) { super(props); let config = { ...
client/modules/Post/__tests__/components/PostCreateWidget.spec.js
pucksME/BetterBackPacking
import React from 'react'; import test from 'ava'; import sinon from 'sinon'; import { FormattedMessage } from 'react-intl'; import { PostCreateWidget } from '../../components/PostCreateWidget/PostCreateWidget'; import { mountWithIntl, shallowWithIntl } from '../../../../util/react-intl-test-helper'; const props = { ...
src/svg-icons/action/system-update-alt.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionSystemUpdateAlt = (props) => ( <SvgIcon {...props}> <path d="M12 16.5l4-4h-3v-9h-2v9H8l4 4zm9-13h-6v1.99h6v14.03H3V5.49h6V3.5H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-14c0-1.1-.9-2-2-2z"/> ...
files/rxjs/2.3.7/rx.all.js
2947721120/adamant-waffle
// 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...
client/apps/web/components/molecules/Menu/index.js
defe266/keystone-starter
import React from 'react'//, { PropTypes } import { connect } from 'react-redux' import Link from '../../atoms/Link'; var Menu = React.createClass({ displayName: "Menu", render: function () { var props = this.props; var className = this.props.className ? this.props.className : ''; return ( <ul clas...
caricyno/src/main/js/modules/postModal.js
red-avtovo/caricynoVkInfo
'use strict'; import React from "react"; import client from "../client"; import EmptyPostModal from "./emptyPostModal" class PostModal extends EmptyPostModal { constructor(props) { super(props); this.state = {}; this.open =this.open.bind(this); } open(post) { client({ ...
docs/app/src/pages/guides/CurrentGame.js
tercenya/compendium
import React from 'react'; import { LanguageSelector, CodeExample, CondLang, NavMain, PageHeader, PageFooter, A } from '../../components'; import SampleCode from '../../SampleCode'; const CurrentGame = (props) => { return ( <div> <NavMain activePage="guides" /> <PageHeader tit...
test/Footer.js
jamesmcewan/jmce-react
import React from 'react'; import { beforeEach, describe, it } from 'mocha'; import { expect } from 'chai'; import { render } from 'enzyme'; import Footer from '../app/components/modules/Footer/Footer'; const items = { 0: { name: 'test', link: 'http://test.com', path: 'path', }, 1: { name: 'test2...
react/features/participants-pane/components/breakout-rooms/components/web/CollapsibleRoom.js
gpolitis/jitsi-meet
// @flow import { makeStyles } from '@material-ui/styles'; import clsx from 'clsx'; import React, { useCallback, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useSelector } from 'react-redux'; import { ListItem } from '../../../../../base/components'; import { Icon, IconArrowDown, ...
node_modules/react/lib/onlyChild.js
louisiaegerv/zephyr
/** * Copyright 2013-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'...
file-manager/src/views/App.js
adamantius/react-redux-file-manager
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import FileManager from './FileManager'; export default class App extends Component { static propTypes = { baseRoots: PropTypes.array }; render() { return ( <FileManager baseRoots={ this.props.baseRoots }/> )...
src/components/common/svg-icons/editor/vertical-align-bottom.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorVerticalAlignBottom = (props) => ( <SvgIcon {...props}> <path d="M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"/> </SvgIcon> ); EditorVerticalAlignBottom = pure(EditorVerticalAlignBottom); EditorVertical...
packages/material-ui-icons/src/VpnLockTwoTone.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 8h-2v2c0 .55-.45 1-1 1H7v2h6c.55 0 1 .45 1 1v3h1c.9 0 1.64.58 1.9 1.39C18.2 16.97 19 15.08 19 13c0-.34-.04-.67-.08-1H17c-1.65 0-3-1.35-3-...
js/pages/iptt_report/components/report/buttons.js
mercycorps/TolaActivity
import React from 'react'; import ReactDOM from 'react-dom'; import { inject, observer } from 'mobx-react'; import { BootstrapPopoverButton } from '../../../../components/helpPopover'; @observer class PinPopover extends React.Component { NOT_SENT = 0; SENDING = 1; SENT = 2; FAILED = 3; constructor...
node_modules/react-icons/md/cloud-circle.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdCloudCircle = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m27.5 26.6c2.3 0 4.1-1.8 4.1-4.1s-1.8-4.1-4.1-4.1h-0.9c0-3.7-2.9-6.8-6.6-6.8-3.1 0-5.7 2.2-6.4 5.1l-0.2-0.1c-2.8 0-5 2.3-5 5s2.2 5 5 5h14.1z m-7.5-23.2c9.2 0 16.6...
app/component/blogs.js
smay1227/winterfellapp
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { AppRegistry, StyleSheet, Text, View, ListView, RefreshControl, TouchableOpacity, InteractionManager } from 'react-native'; import StaticContainer from 'react-static-container'; import {blogList} from '../actions/bl...
src/button.js
ju5td0m7m1nd/guidejs
import React from 'react' import PlayFont from 'react-icons/lib/fa/play-circle-o' import StopFont from 'react-icons/lib/fa/pause' import ReactFont from 'react-icons/lib/fa/video-camera' import QuestionFont from 'react-icons/lib/fa/question' const styles = { btn: { display:'flex', justifyContent:'cen...
frontend/Stories/Sections/DeleteButton.js
fdemian/Morpheus
import React from 'react'; import IconButton from 'material-ui/IconButton'; import DeleteIcon from 'material-ui/svg-icons/action/delete'; const DeleteButton = ({deleteFn, story, loggedIn}) => { if(loggedIn){ return( <span onClick={() => deleteFn(story.id)}> <IconButton tooltip="Delete"> <Dele...
src/components/MarkdownViewer.js
Charlie9830/pounder
import React, { Component } from 'react'; import { ListItem, ListItemText, List, withTheme, Typography } from '@material-ui/core'; import ReactMarkdown from 'react-markdown'; let TableHead = (props) => { return null; } let TableCell = (props) => { let { theme } = props; return ( <td style={{ ...
ajax/libs/material-ui/5.0.0-alpha.12/esm/List/ListContext.js
cdnjs/cdnjs
import * as React from 'react'; /** * @ignore - internal component. */ var ListContext = /*#__PURE__*/React.createContext({}); if (process.env.NODE_ENV !== 'production') { ListContext.displayName = 'ListContext'; } export default ListContext;
src/parser/shared/modules/items/bfa/raids/uldir/TwitchingTentacleofXalzaix.js
fyruna/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import { formatPercentage, formatNumber } from 'common/format'; import { calculatePrimaryStat } from 'common/stats'; import ItemStatistic from 'interface/statistics/ItemStatistic'; import BoringItemValueText from 'interfac...
packages/example-react-native-expo/App.js
s-i18n/s-i18n
import React from 'react'; import { StyleSheet, Text, View, Alert, TouchableOpacity } from 'react-native'; import { translator, _ } from './locale'; import { Greeting } from './greeting'; import { ButtonGroup, Button } from 'react-native-elements'; export default class App extends React.Component { constructor(props...
app/routes.js
oeb25/colio
import React from 'react'; import { Route } from 'react-router'; import LandingContainer from './containers/LandingContainer'; import RoomContainer from './containers/RoomContainer'; import CreateRoom from './components/CreateRoom'; const routes = ( <Route> <Route path="/" component={LandingContainer}/> <Rou...
src/js/MaterialLoader.js
alamarre/math-exercises
import React from 'react' import { Link } from 'react-router' var material = require("./material.json"); var renderers = {"multiple choice": require("./activities/MultipleChoiceRenderer")}; for(var grade in material.grades) { var gradeData = material.grades[grade].exercises; for(var i=0; i<gradeData.length; ...
monkey/monkey_island/cc/ui/src/components/report-components/AttackReport.js
guardicore/monkey
import React from 'react'; import {Col, Button} from 'react-bootstrap'; import '../../styles/components/Collapse.scss'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import {faCircle} from '@fortawesome/free-solid-svg-icons/faCircle'; import {faRadiation} from '@fortawesome/free-solid-svg-icons/faRa...
ajax/libs/ember-data.js/1.0.0-beta.6/ember-data.js
gagan-bansal/cdnjs
/*! * @overview Ember Data * @copyright Copyright 2011-2014 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version 1.0.0-beta.6 */ (function() { var define, requireModule; (function() { var registry = {}, seen...
tests/site6/src/category/category_sections.js
dominikwilkowski/cuttlebelle
import PropTypes from 'prop-types'; import Slugify from 'slugify'; import React from 'react'; /** * The sections component */ const CategorySections = ( page ) => { const sections = []; page.sections.map( ( section ) => sections.push({ link: Slugify( section ).toLowerCase(), title: section, })); return ( ...
src/App.js
grommet/grommet-docs
import React from 'react'; import { IntlProvider, addLocaleData } from 'react-intl'; import en from 'react-intl/locale-data/en'; import routes from './routes'; import { Router, useRouterHistory } from 'react-router'; import { createHistory } from 'history'; import { logPageView } from './utils/analytics'; addLocaleDat...
ajax/libs/analytics.js/2.3.9/analytics.min.js
mitsuruog/cdnjs
(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n...
packages/material-ui-icons/src/RemoveRedEyeOutlined.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 6.5c3.79 0 7.17 2.13 8.82 5.5-1.65 3.37-5.02 5.5-8.82 5.5S4.83 15.37 3.18 12C4.83 8.63 8.21 6.5 12 6.5m0-2C7 4.5 2.73 7.61 1 12c1.73 4.39...
ajax/libs/mini-meteor/1.0.1/mini-meteor.min.js
nareshs435/cdnjs
(function(){var a=this,b=a._,d=Array.prototype,f=Object.prototype,l=d.push,k=d.slice,n=d.concat,p=f.toString,C=f.hasOwnProperty,f=Array.isArray,D=Object.keys,w=Function.prototype.bind,c=function(e){return e instanceof c?e:this instanceof c?void(this._wrapped=e):new c(e)};"undefined"!=typeof exports?("undefined"!=typeof...
packages/material-ui-icons/src/Pool.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M22 21c-1.11 0-1.73-.37-2.18-.64-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.46.27-1.07.64-2.18.64s-1.73-.37-2.18-.64c-.37-.22-.6-.36-1.15-.36-.56 0-.78.13-1.15.36-.46.27-1.08.6...
ajax/libs/material-ui/5.0.0-alpha.7/es/styles/useTheme.js
cdnjs/cdnjs
import { useTheme as useThemeWithoutDefault } from '@material-ui/styles'; import React from 'react'; import defaultTheme from './defaultTheme'; export default function useTheme() { const theme = useThemeWithoutDefault() || defaultTheme; if (process.env.NODE_ENV !== 'production') { // eslint-disable-next-line r...
src/components/box/box.js
growcss/docs
import React from 'react'; import PropTypes from 'prop-types'; import { Container } from './box.css'; const Box = ({ children }) => <Container>{children}</Container>; Box.propTypes = { children: PropTypes.node.isRequired, }; export default Box;
client/modules/App/components/DevTools.js
vladmokryi/Nation-Forecast
import React from 'react'; import { createDevTools } from 'redux-devtools'; import LogMonitor from 'redux-devtools-log-monitor'; import DockMonitor from 'redux-devtools-dock-monitor'; export default createDevTools( <DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-w" > <LogMonitor /> ...
src/containers/InputBar/index.js
aisouard/sample-react-webrtc-chat
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import style from './style.less'; class InputBar extends Component { render() { return ( <div className={cla...
src/containers/Playground/TimeBar/index.js
mmazzarolo/tap-the-number
/* @flow */ /** * The time left bar at the top of the Playground screen. */ import React, { Component } from 'react'; import { View } from 'react-native-animatable'; import { Animated, Easing } from 'react-native'; import styles from './index.style'; import metrics from 'src/config/metrics'; import timings from 'src/...
tic-tac-toe/src/index.js
rohitkrai03/react-tutorial
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import Game from './components/Game'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<Game />, document.getElementById('root')); registerServiceWorker();
src/components/video_list.js
daveprochazka/ReduxSimpleStarter
import React from 'react'; import VideoListItem from './video_list_item'; const VideoList = (props) =>{ const videoItems = props.videos.map((video) =>{ return ( <VideoListItem onVideoSelect={props.onVideoSelect} key={video.etag} video={video}> </VideoListItem> ); })...
bundle.js
nfelix/primeNameChecker
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModu...
src/app.js
Ciunkos/ciunkos.com
import 'core-js/stable' import React from 'react' import { render } from 'react-dom' import 'styles/foundation' import 'styles/common' import Main from './Main' const rerender = Component => { const root = document.getElementById('app') render(<Component />, root) } rerender(Main) if (module.hot) { module.h...
node_modules/react-navigation/src/views/CardStack/CardStack.js
jiangqizheng/ReactNative-BookProject
/* @flow */ import React, { Component } from 'react'; import clamp from 'clamp'; import { Animated, StyleSheet, PanResponder, Platform, View, I18nManager, Easing, } from 'react-native'; import Card from './Card'; import Header from '../Header/Header'; import NavigationActions from '../../NavigationActi...
node_modules/react-icons/io/ios-cloudy-night-outline.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const IoIosCloudyNightOutline = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m14.8 17.5c-2.7 0-5 2.2-5 4.8v1l0.1 0.8c-0.4 0-0.9 0-1.1 0-1.5 0.3-2.5 1.4-2.5 2.9 0 0.8 0.2 1.5 0.7 2.1s1.3 0.8 2.1 0.8h12.2c2.1 0 3.9-1.7 3.9-3.8s-1.8...
test/regressions/tests/Menu/MenuContentAnchors.js
kybarg/material-ui
import React from 'react'; import PropTypes from 'prop-types'; import Grid from '@material-ui/core/Grid'; import Button from '@material-ui/core/Button'; import Menu from '@material-ui/core/Menu'; import MenuItem from '@material-ui/core/MenuItem'; import { makeStyles } from '@material-ui/core/styles'; const useMenuStyl...
app/javascript/mastodon/components/button.js
kirakiratter/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class Button extends React.PureComponent { static propTypes = { text: PropTypes.node, onClick: PropTypes.func, disabled: PropTypes.bool, block: PropTypes.bool, secondary: PropTypes....
src/components/WaveDot/index.js
lumio/waveblock
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; function stretchValue( scale, min, max ) { return ( ( max - min ) * scale ) + min; } function styleByMode( value, mode ) { if ( mode === 'square' ) { return `scale( ${ value } )`; } return `scaleX( .2 )...
src/svg-icons/action/exit-to-app.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionExitToApp = (props) => ( <SvgIcon {...props}> <path d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c...
portfolio-site/src/scenes/home/home.js
dave5801/Portfolio
import React, { Component } from 'react'; import './home.css'; import Navbar from './navigation/navbar'; import Footer from './Footer/footer'; class Home extends Component { render() { return ( <div className="Home"> <Navbar></Navbar> <Footer></Footer> </div> ); } } export defa...
js/src/Signer/PendingList/pendingList.js
destenson/ethcore--parity
// Copyright 2015-2017 Parity Technologies (UK) Ltd. // This file is part of Parity. // Parity is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any lat...
web-app/js-lib/dojo-release-1.5.0-src/dojox/widget/FisheyeLite.js
dotunolafunmiloye/owf-framework
dojo.provide("dojox.widget.FisheyeLite"); dojo.experimental("dojox.widget.FisheyeLite"); dojo.require("dijit._Widget"); dojo.require("dojo.fx.easing"); dojo.declare("dojox.widget.FisheyeLite", dijit._Widget, { // summary: A Light-weight Fisheye Component, or an exhanced version // of dojo.fx.Toggler ... // /...
client/modules/core/components/navigation.js
markoshust/mantra-sample-blog-app
import React from 'react'; const Navigation = () => ( <div> <b> Navigation: </b> <a href="/">Home</a> | <a href="/new-post">New Post</a> </div> ); export default Navigation;
src/svg-icons/maps/hotel.js
rhaedes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsHotel = (props) => ( <SvgIcon {...props}> <path d="M7 13c1.66 0 3-1.34 3-3S8.66 7 7 7s-3 1.34-3 3 1.34 3 3 3zm12-6h-8v7H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4z"/> </SvgIcon> ); MapsHotel = pure(MapsHot...
ajax/libs/apexcharts/3.6.11/apexcharts.js
cdnjs/cdnjs
/*! * ApexCharts v3.6.10 * (c) 2018-2019 Juned Chhipa * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.A...
packages/material/src/components/FlatFieldset.js
wq/wq.app
import React from 'react'; import Typography from '@material-ui/core/Typography'; import PropTypes from 'prop-types'; export default function FlatFieldset({ label, children }) { return ( <> <Typography color="textSecondary">{label}</Typography> {children} </> ); } FlatF...
site/src/components/Stack.js
sapegin/react-styleguidist
import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import styles from './Stack.module.css'; export const Stack = ({ children, gap, className, as: Component = 'div', ...rest }) => ( <Component className={clsx(styles.stack, styles[`stack--${gap}`], className)} {...rest}> {children...
ajax/libs/phaser/2.0.7/custom/p2.js
chrillep/cdnjs
/** * The MIT License (MIT) * * Copyright (c) 2013 p2.js authors * * 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 ...
node_modules/react-onsenui/test/speedDialItem-test.js
epgui/FEECUM-cordova
/* global describe it assert */ import React from 'react'; import ReactDOM from 'react-dom'; import {SpeedDialItem} from '../dist/react-onsenui.js'; import TestUtils from 'react/lib/ReactTestUtils'; import rendersToComponent from './testUtil.js'; describe('SpeedDialItem', function() { rendersToComponent( <Spe...
files/rxjs/2.4.10/rx.lite.extras.js
firulais/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'unde...
ajax/libs/material-ui/5.0.0-alpha.32/legacy/Container/Container.min.js
cdnjs/cdnjs
import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import _defineProperty from"@babel/runtime/helpers/esm/defineProperty";import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import{unstable_co...
ajax/libs/aui/5.2-m6/js/aui-dependencies.js
szimek/cdnjs
/*! AUI Flat Pack - version 5.2-m6 - generated 2013-05-29 03:12:37 -0400 */ /* * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * D...
app/components/Explore.js
stitux/OpenObjectMarker
import React from 'react'; import ExploreStore from '../stores/ExploreStore'; import ExploreActions from '../actions/ExploreActions' import ImageLoader from 'react-imageloader' class Explore extends React.Component { constructor(props) { super(props); this.state = ExploreStore.getState(); this.onChang...
pkg/interface/publish/src/js/components/lib/sidebar-invite.js
jfranklin9000/urbit
import React, { Component } from 'react'; import classnames from 'classnames'; import _ from 'lodash'; export class SidebarInvite extends Component { onAccept() { let action = { accept: { path: '/publish', uid: this.props.uid, } } window.api.action("invite-store", "invite-act...
packages/flyout/src/presenters/PointerWrapperPresenter.js
Autodesk/hig
import React from "react"; import PropTypes from "prop-types"; import { css, cx } from "emotion"; import { createCustomClassNames } from "@hig/utils"; import stylesheet from "./stylesheet"; import { AVAILABLE_ANCHOR_POINTS } from "../anchorPoints"; export default function PointerWrapperPresenter({ children, innerR...
src/svg-icons/action/chrome-reader-mode.js
hai-cea/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionChromeReaderMode = (props) => ( <SvgIcon {...props}> <path d="M13 12h7v1.5h-7zm0-2.5h7V11h-7zm0 5h7V16h-7zM21 4H3c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 15h-9V6h9v13z"/> ...
src/svg-icons/RadioButtonChecked.js
AndriusBil/material-ui
// @flow import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../SvgIcon'; /** * @ignore - internal component. */ let RadioButtonChecked = props => ( <SvgIcon {...props}> <path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4...
packages/material-ui-icons/src/SatelliteOutlined.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V5h14v14z" /><path d="M8.57 6H6v2.58c1.42 0 2.57-1.16 2.57-2....
src/pages/Home.js
mtomcal/reactjs-hooligans-tv
import React, { Component } from 'react'; import { Jumbotron, Button } from 'react-bootstrap'; import Player from '../player'; import { Containers } from '../data'; import { Card } from '../cards'; import {api_url} from '../config.js'; var Home = React.createClass({ propTypes: { queryData: React.PropTypes.ob...
app/hocs/CurrentUser/index.js
zebbra-repos/Zeiterfassung-medi
/* * * CurrentUser * */ import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { connect } from 'react-redux'; import { createStructuredSelector } from 'reselect'; import { makeSelectUsername, makeSelectFirstName, makeSelectLastName, makeSelectRoles, makeSelectOrig...
ajax/libs/react-virtualized/4.6.2/react-virtualized.js
cdnjs/cdnjs
!function(root, factory) { "object" == typeof exports && "object" == typeof module ? module.exports = factory(require("react")) : "function" == typeof define && define.amd ? define([ "react" ], factory) : "object" == typeof exports ? exports["react-virtualized"] = factory(require("react")) : root["react-virtualized...
src/browser/components/Checkbox.js
chad099/react-native-boilerplate
// @flow import type { Color } from '../../common/themes/types'; import React from 'react'; import { Button, Text } from '../../common/components'; // Checkbox with SVG icon. // - flaticon.com // - thenounproject.com // TODO: Make it universal. Add focus style. export type CheckboxProps = { color?: Color, disabl...
packages/material-ui-icons/src/SentimentDissatisfiedSharp.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><circle cx="15.5" cy="9.5" r="1.5" /><circle cx="8.5" cy="9.5" r="1.5" /><path d="M12 14c-2.33 0-4.32 1.45-5.12 3.5h1.67c.69-1.19 1.97-2 3.45-2s2.75.81 3.45 2h1.67c-.8-2.05-2.79-3.5-5.12-3...
ajax/libs/forerunnerdb/1.3.599/fdb-core+views.js
BitsyCode/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
Examples/UIExplorer/XHRExampleHeaders.js
almost/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, ...
app/javascript/mastodon/features/ui/components/column_header.js
gol-cha/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Icon from 'mastodon/components/icon'; export default class ColumnHeader extends React.PureComponent { static propTypes = { icon: PropTypes.string, type: PropTypes.string, active: PropTypes.bool, ...
src/scenes/home/header/header.js
miaket/operationcode_frontend
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import styles from './header.css'; import NavItem from './navItem/navItem'; import TopNav from './topNav/topNav'; import SideNav from './sideNav/sideNav'; import Logo from './logo/logo'; import Burger from...
packages/bonde-admin/src/components/navigation/browsable-list/browsable-list-item.spec.js
ourcities/rebu-client
/* eslint-disable no-unused-expressions */ import React from 'react' import { shallow } from 'enzyme' import { expect } from 'chai' import { BrowsableListItem } from '@/components/navigation/browsable-list' describe('client/components/navigation/browsable-list/browsable-list-item', () => { let wrapper const props...
examples/flux-utils-todomvc/js/app.js
topogigiovanni/flux
/** * Copyright (c) 2014, 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. * * @flow */ 'use s...
admin/src/route/EditAccount.js
zentrope/webl
// // Copyright (c) 2017 Keith Irwin // // 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 3 of the License, // or (at your option) any later version. // // This program is distri...
src/svg-icons/communication/call-end.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCallEnd = (props) => ( <SvgIcon {...props}> <path d="M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08c-.18-.17-.29-....
rnNavigator/__tests__/index.android.js
gergob/reactNativeSamples
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
src/svg-icons/device/bluetooth-connected.js
owencm/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBluetoothConnected = (props) => ( <SvgIcon {...props}> <path d="M7 12l-2-2-2 2 2 2 2-2zm10.71-4.29L12 2h-1v7.59L6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l5.71-5.71-4.3-4.29 4.3-4.29zM13 5.83l1....
imports/ui/pages/NotFound.js
zarazi/movies-listie
import React from 'react'; import { Alert } from 'react-bootstrap'; const NotFound = () => ( <div className="NotFound"> <Alert bsStyle="danger"> <p><strong>Error [404]</strong>: { window.location.pathname } does not exist.</p> </Alert> </div> ); export default NotFound;
node_modules/react-router/es6/IndexRoute.js
amybingzhao/savings-planner-web
import React from 'react'; import warning from './routerWarning'; import invariant from 'invariant'; import { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils'; import { component, components, falsy } from './InternalPropTypes'; var func = React.PropTypes.func; /** * An <IndexRoute> i...
src/atoms/Icon/icon.stories.js
sjofartstidningen/bryggan
/* eslint-disable import/no-extraneous-dependencies */ import React from 'react'; import { storiesOf } from '@storybook/react'; import * as Icon from './index'; storiesOf('atoms/Icon', module) .add('all', () => ( <div> {Object.entries(Icon).map( ([key, Comp]) => ( <div key={key} style={{ ...
src/components/app.js
dom-mages/reactTesting
import React, { Component } from 'react'; import CommentBox from './CommentBox'; import CommentList from './CommentList'; export default class App extends Component { render() { return ( <div> <CommentBox /> <CommentList /> </div> ); } }
test/specs/elements/Container/Container-test.js
shengnian/shengnian-ui-react
import React from 'react' import Container from 'src/elements/Container/Container' import * as common from 'test/specs/commonTests' describe('Container', () => { common.isConformant(Container) common.rendersChildren(Container) common.hasUIClassName(Container) common.propKeyOnlyToClassName(Container, 'text') ...
ee/app/engagement-dashboard/client/components/MessagesTab/MessagesSentSection.js
iiet/iiet-chat
import { ResponsiveBar } from '@nivo/bar'; import { Box, Flex, Select, Skeleton } from '@rocket.chat/fuselage'; import moment from 'moment'; import React, { useMemo, useState } from 'react'; import { useTranslation } from '../../../../../../client/contexts/TranslationContext'; import { useEndpointData } from '../../.....
client/src/Components/ServerList.js
adamveld12/fsb
import React, { Component } from 'react'; import ReactList from 'react-list'; import FontAwesome from 'react-fontawesome'; import ServerListRow from './ServerRow'; import { actions } from '../store.js'; const styles = { container: { background: "#404040", borderColor: "#555555 #111111 #111111 #666666", ...
webpack/ForemanTasks/Components/Chart/Chart.js
adamruzicka/foreman-tasks
/* Copied from react-c3js: https://github.com/bcbcarl/react-c3js/blob/master/src/index.js Added missing features: * onChartCreate * onChartUpdate TODO: update react-c3js or move to patternfly-react */ /* eslint-disable global-require, import/no-extraneous-dependencies, ...
server/sonar-web/src/main/js/apps/projects/components/ProjectCardLanguages.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program 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 3 of the License, o...
src/routes/user/Modal.js
zhouchao0924/SLCOPY
import React from 'react' import PropTypes from 'prop-types' import { Form, Input, InputNumber, Radio, Modal, Cascader } from 'antd' import city from '../../utils/city' const FormItem = Form.Item const formItemLayout = { labelCol: { span: 6, }, wrapperCol: { span: 14, }, } const modal = ({ item = {...
tests/routes/Counter/components/Counter.spec.js
Peturman/resume-app
import React from 'react' import { bindActionCreators } from 'redux' import { Counter } from 'routes/Counter/components/Counter' import { shallow } from 'enzyme' describe('(Component) Counter', () => { let _props, _spies, _wrapper beforeEach(() => { _spies = {} _props = { counter : 5, ...bindA...
imports/ui/containers/feed/postList.js
jiyuu-llc/jiyuu
import React from 'react'; import { composeWithTracker } from 'react-komposer'; import { Feed } from '/lib/collections'; import PostList from '../../components/feed/postList.jsx'; const composer = ( props, onData ) => { if (subsManager.subscribe('mainFeed', Session.get('paginationLimit')).ready() && connec...
src/index.js
angela-cheng/simpleBlog
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import { BrowserRouter, Route, Switch } from 'react-router-dom'; import promise from 'redux-promise'; //import App from './components/app'; we don't need this anymo...
app/javascript/mastodon/components/radio_button.js
lynlynlynx/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class RadioButton extends React.PureComponent { static propTypes = { value: PropTypes.string.isRequired, checked: PropTypes.bool, name: PropTypes.string.isRequired, onChange: PropTypes....