path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/smif/app/src/components/Simulation/ConsoleDisplay.js
tomalrussell/smif
import React, { Component } from 'react' import PropTypes from 'prop-types' import Ansi from 'ansi-to-react' import moment from 'moment' import stripAnsi from 'strip-ansi' import { FaAngleDoubleUp, FaAngleDoubleDown, FaSave } from 'react-icons/fa' class ConsoleDisplay extends Component { constructor(props) { ...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/Promises.js
CodingZeal/create-react-app
/** * Copyright (c) 2015-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. */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; function load() { return Promise.resolve([ { id: 1,...
src/ScrollProvider.js
cristo-rabani/rc-scroll-pagination
import React from 'react'; import _ from 'lodash'; import EventEmitter from 'events'; const Events = new EventEmitter(); Events.lastEventData = {}; export class ScrollProvider extends React.Component { constructor (params) { super(params); const {eventName} = this.props || {}; this.observe...
src/svg-icons/social/party-mode.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialPartyMode = (props) => ( <SvgIcon {...props}> <path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 3c1.63 0 3.06.79 3.98 2H12c-1.66 0-3 1.34-3 3 0 ....
client/components/PhotoGrid.js
nomardavid/nigganstagram
import React from 'react'; import Photo from './Photo'; const PhotoGrid = React.createClass({ render() { return( <div className = "photo-grid"> {this.props.posts.map((post, i) => <Photo {...this.props} key={i} i={i} post={post}/>)} </div> ) } }); ex...
app/javascript/mastodon/features/generic_not_found/index.js
codl/mastodon
import React from 'react'; import Column from '../ui/components/column'; import MissingIndicator from '../../components/missing_indicator'; const GenericNotFound = () => ( <Column> <MissingIndicator /> </Column> ); export default GenericNotFound;
ajax/libs/material-ui/5.0.0-alpha.3/Link/Link.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...
src/components/MediaPlayer/VideoPlayer.js
pmg1989/dva-admin
import React from 'react' import PropTypes from 'prop-types' import { Media, Player, controls } from 'react-media-player' import classnames from 'classnames' import PlayPause from './PlayPause' import MuteUnmute from './MuteUnmute' import Fullscreen from './Fullscreen' import styles from './MediaPlayer.less' const { C...
node_modules/react-router/es6/RouteUtils.js
aleksandrsmolin/react-redux-weather
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 from 'react'; function isValidChild(object) { ...
src/parser/druid/feral/modules/azeritetraits/GushingLacerations.js
fyruna/WoWAnalyzer
import React from 'react'; import { formatNumber } from 'common/format'; import SPELLS from 'common/SPELLS'; import { calculateAzeriteEffects } from 'common/stats'; import Analyzer, { SELECTED_PLAYER } from 'parser/core/Analyzer'; import Events from 'parser/core/Events'; import calculateBonusAzeriteDamage from 'parser...
packages/canvas-planner/src/components/ToDoSidebar/__tests__/index.spec.js
djbender/canvas-lms
/* * Copyright (C) 2017 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
ajax/libs/vega/2.6.0/vega.js
dc-js/cdnjs
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.vg = f()}})(fu...
mob5/src/components/Home/CalendarList/Footer.js
leGoupil/mob5
import React from 'react'; import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; const styles = StyleSheet.create({ container: { flex: 1, padding: 8, alignItems: 'center', justifyContent: 'center', }, button: { borderColor: '#8E8E8E', borderWidth: StyleSheet.hairlineWid...
ajax/libs/material-ui/5.0.0-alpha.5/esm/RadioGroup/RadioGroup.min.js
cdnjs/cdnjs
import _extends from"@babel/runtime/helpers/esm/extends";import _slicedToArray from"@babel/runtime/helpers/esm/slicedToArray";import _objectWithoutProperties from"@babel/runtime/helpers/esm/objectWithoutProperties";import*as React from"react";import PropTypes from"prop-types";import FormGroup from"../FormGroup";import ...
app/components/Navigation/index.js
kathydoody/scalable-react-demo
/** * * Navigation * */ import React from 'react'; import AppBar from '../AppBar'; import Drawer from '../Drawer'; import styles from './styles.css'; function Navigation({ topics, selectTopic, toggleDrawer, isDrawerOpen, email }) { return ( <div className={styles.navigation}> <AppBar toggleDrawer...
node_modules/react-icons/fa/square-o.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaSquareO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m29.5 5.7h-18.6q-1.4 0-2.5 1.1t-1 2.5v18.6q0 1.4 1 2.5t2.5 1h18.6q1.5 0 2.5-1t1.1-2.5v-18.6q0-1.5-1.1-2.5t-2.5-1.1z m6.4 3.6v18.6q0 2.6-1.9 4.5t-4.5 1.9h-18.6q-2.6 0-...
packages/material-ui-icons/src/CenterFocusWeak.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 8c-2....
pathfinder/vtables/cimmasterlist/src/common/Link.js
leanix/leanix-custom-reports
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class Link extends Component { constructor(props) { super(props); this._handleClick = this._handleClick.bind(this); } _handleClick(e) { e.preventDefault(); lx.openLink(this.props.link, this.props.target); } render() { if (!...
packages/blogs-example/client/components/scenes/Home.js
charlieschwabacher/gestalt
import React from 'react'; import Relay from 'react-relay'; import {SignInForm, SignUpForm, Posts, User} from '../shared'; const PAGE_SIZE = 10; export default Relay.createContainer( ({session, relay}) => ( <div style={{marginBottom: '4rem'}}> { (session.currentUser) ? <div class...
src/svg-icons/image/healing.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageHealing = (props) => ( <SvgIcon {...props}> <path d="M17.73 12.02l3.98-3.98c.39-.39.39-1.02 0-1.41l-4.34-4.34c-.39-.39-1.02-.39-1.41 0l-3.98 3.98L8 2.29C7.8 2.1 7.55 2 7.29 2c-.25 0-.51.1-.7.29L2.25 6.63c-...
examples/custom-css-prefix/src/index.js
carbon-design-system/carbon-components-react
import React from 'react'; import { render } from 'react-dom'; import { hot } from 'react-hot-loader'; import { Button } from 'carbon-components-react'; import './styles.scss'; const App = () => ( <div> <Button>Hello world</Button> </div> ); render(<App />, document.getElementById('root')); export default ho...
src/svg-icons/av/featured-video.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvFeaturedVideo = (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-2zm-9 9H3V5h9v7z"/> </SvgIcon> ); AvFeaturedVideo = pure(AvFeaturedVideo)...
MobileApp/node_modules/react-native/Libraries/Image/Image.ios.js
VowelWeb/CoinTradePros.com
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
src/app/app.js
dpmramesh/cockpit-gluster
import React from 'react' import { render } from 'react-dom' import { Router, useRouterHistory } from 'react-router' import routes from './routes/routes.jsx' import '../../node_modules/patternfly/dist/css/patternfly.css' import '../../node_modules/patternfly/dist/css/patternfly-additions.css' import { createHashHistory...
examples/with-react-native-web/src/App.js
jaredpalmer/react-production-starter
import React from 'react'; import { StyleSheet, Text, View } from 'react-native'; class App extends React.Component { render() { return ( <View style={styles.box}> <Text style={styles.text}>Hello, world!</Text> </View> ); } } const styles = StyleSheet.create({ box: { padding: 10 }, ...
ajax/libs/yui/3.6.0/simpleyui/simpleyui-debug.js
ripple0328/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 * @main yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI gl...
docs/src/components/seo.js
evanlucas/node-tap
import React from 'react'; import { Helmet } from 'react-helmet'; import { StaticQuery, graphql } from 'gatsby'; const SEO = ({ title, description, image, pathname, article }) => ( <StaticQuery query={query} render={({ site: { siteMetadata: { defaultTitle, titleTemplate, ...
addons/docs/src/frameworks/react/__testfixtures__/8663-js-styled-components/input.js
storybooks/storybook
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; const Box = styled.div` background-color: ${(props) => props.bg}; `; Box.propTypes = { bg: PropTypes.string, }; export const MyBox = (props) => <Box {...props} />; MyBox.propTypes = { bg: PropTypes.string, }...
packages/react-scripts/fixtures/kitchensink/src/App.js
Antontsyk/react_vk
import React from 'react'; class BuiltEmitter extends React.Component { constructor(props) { super(props) this.callWhenDone = done => done(); } componentDidMount() { this.callWhenDone(() => document.dispatchEvent(new Event('ReactFeatureDidMount'))); } render() { const feature = React.clone...
docs/app/Examples/views/Statistic/Types/StatisticExampleGroups.js
Rohanhacker/Semantic-UI-React
import React from 'react' import { Statistic } from 'semantic-ui-react' const items = [ { label: 'Faves', value: '22' }, { label: 'Views', value: '31,200' }, { label: 'Members', value: '22' }, ] const StatisticExampleGroups = () => ( <div> <Statistic.Group> <Statistic> <Statistic.Value>22</S...
src/utils/emoji.js
marg51/uto
import React from 'react' import emojify from 'emojify.js' emojify.setConfig({ignore_emoticons: true, img_dir: 'http://hassankhan.me/emojify.js/images/emoji'}) window.emojify = emojify function Emoji({children, ...props}) { const formated = emojify.replace(children) return (<span dangerouslySetInnerHTML={{_...
src/components/RoomUserList/Votes.js
welovekpop/uwave-web-welovekpop.club
import React from 'react'; import PropTypes from 'prop-types'; import DownvoteIcon from '@material-ui/icons/ThumbDown'; import FavoriteIcon from '@material-ui/icons/Favorite'; import UpvoteIcon from '@material-ui/icons/ThumbUp'; const Votes = ({ upvote, downvote, favorite, ...props }) => ( <div {...props}> {fa...
modules/__tests__/serverRendering-test.js
schnerd/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import match from '../match' import RoutingContext from '../RoutingContext' import Link from '../Link' describe('server rendering', function () { let App, Dashboard, About, RedirectRoute, AboutRoute, Dashboard...
js/components/form/fixedLabel.js
bengaara/simbapp
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { actions } from 'react-native-navigation-redux-helpers'; import { Container, Header, Title, Content, Button, Item, Label, Input, Body, Left, Right, Icon, Form, Text } from 'native-base'; import { Actions } from 'react-native-route...
src/js/components/CollapsingPanelContent.js
jcloud-shengtai/dcos-ui_CN
import classNames from "classnames/dedupe"; import React from "react"; class CollapsingPanelContent extends React.Component { render() { const classes = classNames( "panel-cell panel-cell-content", this.props.className ); return ( <div className={classes}> {this.props.children}...
src/d3Charts/stack.js
livingston/react-chart-spikes
import React, { Component } from 'react'; import { stack } from 'd3-shape'; import { scaleLinear, scaleBand, scaleOrdinal, schemeCategory20b } from 'd3-scale'; import FlexibleWrapper from '../ui/flexibleWrapper.js'; // Test data require('chance'); const data = [{ label: 'Competitor 1', electronics: chance.intege...
app/javascript/mastodon/features/ui/components/focal_point_modal.js
d6rkaiz/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import ImmutablePureComponent from 'react-immutable-pure-component'; import { connect } from 'react-redux'; import classNames from 'classnames'; import { changeUploadCompose } from '../../../action...
test/eventTransition.spec.js
composite-scopes/composite-scopes-all
'use strict'; import { Scope } from '../src/scope.js'; import onEvent from '../src/eventTransition.js'; import testOnlyInBrowser from './testInBrowserHelper.js'; describe('eventTransition', function() { // TODO: this test only run in browser environment currently testOnlyInBrowser('should support a basic eve...
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...
packager/react-packager/src/SocketInterface/SocketClient.js
lee-my/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
src/templates/page-template.js
bapti/blog
// @flow strict import React from 'react'; import { graphql } from 'gatsby'; import Layout from '../components/Layout'; import Sidebar from '../components/Sidebar'; import Page from '../components/Page'; import { useSiteMetadata } from '../hooks'; import type { MarkdownRemark } from '../types'; type Props = { data: ...
client/comps/app.js
nko5/lisezmoi
import React from 'react' import { connect } from 'react-redux' import * as actions from '../action-creators' import Main from './main' import Sidebar from './sidebar' import About from './about' import End from './end' import Footer from './footer' const stateToProps = state => ({ userId: state.userId, users: sta...
git_home/net-cgi.git/www.out/components/orbidesktop.min.js
dan82840/Netgear-RBR50
/*! jQuery v1.12.3 | (c) jQuery Foundation | 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 window?window:this,fu...
actor-apps/app-web/src/app/components/modals/AppCacheUpdate.react.js
bensonX/actor-platform
import React from 'react'; import Modal from 'react-modal'; //import pureRender from 'pure-render-decorator'; import { Styles, FlatButton } from 'material-ui'; import AppCacheStore from 'stores/AppCacheStore'; import AppCacheActionCreators from 'actions/AppCacheActionCreators'; import { KeyCodes } from 'constants/Act...
ajax/libs/analytics.js/1.5.1/analytics.min.js
chriszarate/cdnjs
(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._resol...
src/svg-icons/image/assistant-photo.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageAssistantPhoto = (props) => ( <SvgIcon {...props}> <path d="M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"/> </SvgIcon> ); ImageAssistantPhoto = pure(ImageAssistantPhoto); ImageAssistantPhoto.displayName = 'Image...
docs/app/Examples/modules/Popup/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 PopupVariationsExamples = () => ( <ExampleSection title='Variations'> <ComponentExample title='Basic' descripti...
wp-content/plugins/jetpack/modules/sharedaddy/sharing.js
vrxm/seattleweekly
/* global WPCOM_sharing_counts, grecaptcha */ var sharing_js_options; if ( sharing_js_options && sharing_js_options.counts ) { var WPCOMSharing = { done_urls : [], twitter_count : {}, get_counts : function() { var https_url, http_url, url, urls, id, service, service_url; if ( 'undefined' === typeof WPCOM_...
ajax/libs/zxcvbn/1.0/zxcvbn.min.js
melvinsembrano/cdnjs
(function(){var e,t,i,n,r,s,o,a,l,c,h,u,d,p,m,f,g,y,v,b,w;h=function(e){var t,i;i=[];for(t in e)i.push(t);return 0===i.length},d=function(e,t){return e.push.apply(e,t)},b=function(e,t){var i,n,r,s,o;for(s=e.split(""),o=[],n=0,r=s.length;r>n;n++)i=s[n],o.push(t[i]||i);return o.join("")},f=function(e){var t,i,n,r;for(i=[...
ajax/libs/material-ui/5.0.0-alpha.3/Hidden/Hidden.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 = void 0; var _extends2 = _interopRequireDefaul...
test/containers/CounterPage.spec.js
mitchconquer/erb-sqlite-example
import React from 'react'; import { mount } from 'enzyme'; import { Provider } from 'react-redux'; import { createBrowserHistory } from 'history'; import { ConnectedRouter } from 'react-router-redux'; import CounterPage from '../../app/containers/CounterPage'; import { configureStore } from '../../app/store/configureSt...
packages/react-error-overlay/src/components/Footer.js
appier/create-react-app
/** * Copyright (c) 2015-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. */ /* @flow */ import React from 'react'; import { darkGray } from '../styles'; const footerStyle = { fontFamily: 'sans-serif', color:...
__sites_/src/components/doc/en/events.js
Vanthink-UED/react-core-image-upload
import React from 'react'; import ReactCoreImageUpload from '../../../../../src/index'; import Highlight from 'react-highlight'; export default class Events extends React.Component { constructor(props) { super(props); this.state = { src: 'http://img1.vued.vanthink.cn/vued0a233185b6027244f9d43e653227439...
src/views/inlet/Login.js
anysome/objective
/** * Created by Layman <anysome@gmail.com> (http://github.com/anysome) on 2016/11/9. */ import React from 'react'; import {View, StyleSheet, Image, Text, Dimensions, TouchableOpacity, Keyboard, LayoutAnimation} from 'react-native'; import {analytics, styles, colors, airloy, api, toast, L, hang} from '../../app'; imp...
packages/cf-component-modal/src/ModalHeader.js
koddsson/cf-ui
import React from 'react'; import PropTypes from 'prop-types'; class ModalHeader extends React.Component { render() { return ( <header className="cf-modal__header"> {this.props.children} </header> ); } } ModalHeader.propTypes = { children: PropTypes.node }; export default ModalHead...
src/js/components/Tabs/stories/CustomThemed/Custom.js
grommet/grommet
import React from 'react'; import { css } from 'styled-components'; import { CircleInformation, Currency } from 'grommet-icons'; import { Box, Grommet, FormField, Tab, Tabs, Text, TextInput } from 'grommet'; import { grommet } from 'grommet/themes'; import { deepMerge } from 'grommet/utils'; const RichTabTitle = ({ i...
node_modules/react-icons/ti/key.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const TiKey = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m14.2 18.3c0 1.3 0.2 2.4 0.7 3.5l-6.6 6.5v2.5s1.5 2.5 3.4 2.5h3.3v-3.3h3.3v-3.3h4.2c4.6 0 8.3-3.8 8.3-8.4s-3.7-8.3-8.3-8.3-8.3 3.7-8.3 8.3z m8.3 3.4c-1.8 0-3.3-1.5-3.3-3....
test/SiteMain.spec.js
dramaking/planner
import React from 'react'; import { mount, shallow } from 'enzyme'; import {expect} from 'chai'; import SiteMain from '../lib/SiteMain'; import WorkoutBoard from '../lib/WorkoutBoard'; import WorkoutHeader from '../lib/WorkoutHeader'; describe('<SiteMain/>', function () { it('contains an <WorkoutHeader/> component'...
React Native/Demos/address_book/Views/home.js
AngryLi/note-iOS
/** * Created by Liyazhou on 16/8/28. */ import React from 'react'; import { View, Text, ScrollView, TouchableHighlight, StyleSheet } from 'react-native'; import ItemBlock from './home/itembook'; import Address from './home/address'; import Util from './util'; export default class Home extends ...
src/Spinner.js
mattBlackDesign/react-materialize
import React from 'react'; import PropTypes from 'prop-types'; import cx from 'classnames'; const Spinner = ({ color, only }) => { let spinnerClasses = { 'spinner-layer': true }; if (only) { spinnerClasses['spinner-' + color + '-only'] = true; } else { spinnerClasses['spinner-' + color] = true; }...
src/svg-icons/av/pause-circle-filled.js
w01fgang/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvPauseCircleFilled = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 14H9V8h2v8zm4 0h-2V8h2v8z"/> </SvgIcon> ); AvPauseCircleFilled = pure(AvP...
features/apimgt/org.wso2.carbon.apimgt.admin.feature/src/main/resources/admin/source/src/app/components/Base/Errors/PageNotfound.js
Minoli/carbon-apimgt
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
node_modules/react-router/es/Redirect.js
Snatch-M/fesCalendar
import React from 'react'; import invariant from 'invariant'; import { createRouteFromReactElement as _createRouteFromReactElement } from './RouteUtils'; import { formatPattern } from './PatternUtils'; import { falsy } from './InternalPropTypes'; var _React$PropTypes = React.PropTypes, string = _React$PropTypes.st...
js/form.js
PhompAng/OpenTLE-Glossary
import React from 'react' export default class Form extends React.Component { constructor(props) { super(props) } handleChange(e) { this.props.onUserInput(e.target.value) } clearValue() { this.props.onUserInput('') } render() { return <nav> <di...
node_modules/react-dropzone/src/index.js
EmersonAntonioDaSiilva/poc-dipol-nlc
/* eslint prefer-template: 0 */ import React from 'react'; import PropTypes from 'prop-types'; import accepts from 'attr-accept'; import getDataTransferItems from './getDataTransferItems'; const supportMultiple = (typeof document !== 'undefined' && document && document.createElement) ? 'multiple' in document.create...
src/components/app.js
GitLiamuk/weather-redux
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> <div className="row"> <SearchBar /> </div> <div className="row"> ...
src/svg-icons/image/flare.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFlare = (props) => ( <SvgIcon {...props}> <path d="M7 11H1v2h6v-2zm2.17-3.24L7.05 5.64 5.64 7.05l2.12 2.12 1.41-1.41zM13 1h-2v6h2V1zm5.36 6.05l-1.41-1.41-2.12 2.12 1.41 1.41 2.12-2.12zM17 11v2h6v-2h-6zm-5-...
src/Stepper/StepButton.spec.js
barakmitz/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import sinon from 'sinon'; import StepButton from './StepButton'; import getMuiTheme from '../styles/getMuiTheme'; describe('<StepButton />', () => { const muiTheme = getMuiTheme(); const themedShallow = ...
src/svg-icons/maps/add-location.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsAddLocation = (props) => ( <SvgIcon {...props}> <path d="M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7zm4 8h-3v3h-2v-3H8V8h3V5h2v3h3v2z"/> </SvgIcon> ); MapsAddLocation = pure(Map...
components/Slice.js
turntwogg/esports-aggregator
import React from 'react'; import classNames from 'classnames'; import { useTheme } from '@turntwo/react-ui'; const Slice = ({ children, name, noPadding, textAlign, ...rest }) => { const theme = useTheme(); return ( <div className={classNames('slice', { [`slice--${name}`]: name, 'slice--...
assets/jqwidgets/demos/react/app/splitter/horizontalsplitter/app.js
juannelisalde/holter
import React from 'react'; import ReactDOM from 'react-dom'; import JqxSplitter from '../../../jqwidgets-react/react_jqxsplitter.js'; class App extends React.Component { render() { return ( <JqxSplitter ref='mainSplitter' width={850} height={400} orientation={'h...
src/view/app.js
alexreardon/fullon-markdown
import 'normalize.css'; import React, { Component } from 'react'; import injectStyles from 'react-jss'; import config from '../../config'; import Details from './details'; import Header from './header'; import { colors, gutters } from './global-style'; import Menu from './menu'; import Social from './social'; const gl...
client/components/devices.js
akileh/fermtempctrl
import React from 'react' import Divider from 'material-ui/Divider' import Paper from 'material-ui/Paper' import { List, ListItem } from 'material-ui/List' import RaisedButton from 'material-ui/RaisedButton' import Loading from './loading' class Devices extends React.Component { constructor(props) { super(props)...
docs/app/Examples/modules/Sidebar/index.js
clemensw/stardust
import React from 'react' import Overlay from './Overlay' import Push from './Push' import ScaleDown from './ScaleDown' import SlideAlong from './SlideAlong' import SlideOut from './SlideOut' import Uncover from './Uncover' const SidebarExamples = () => ( <div> <Overlay /> <Push /> <ScaleDown /> <Sl...
lib/components/modifications-map/__tests__/hop-select-polygon.js
conveyal/scenario-editor
// @flow import React from 'react' import {Map} from 'react-leaflet' import renderer from 'react-test-renderer' import HopSelectPolygon from '../hop-select-polygon' describe('Project-Map > HopSelectPolygon', () => { it('renders correctly', () => { // mount component const tree = renderer .create( ...
src/pages/index.js
meerasahib/meerablog1
import React from 'react'; import Link from 'gatsby-link'; import Helmet from 'react-helmet'; import PostDate from '../components/Date'; import Preview from '../components/Preview'; import Tags from '../components/Tags'; const getParams = search => { return search.replace('?', '').split('&').reduce((params, keyValu...
ajax/libs/react-autosuggest/3.0.0-beta.1/autosuggest.min.js
extend1994/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.Autosuggest=t(require("React")):e.Autosuggest=t(e.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].e...
ajax/libs/webshim/1.14.4/dev/shims/moxie/js/moxie.js
tresni/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
installer/frontend/trail.js
kans/tectonic-installer
import _ from 'lodash'; import React from 'react'; import { Map as ImmutableMap, Set as ImmutableSet } from 'immutable'; import { commitPhases } from './actions'; import { PLATFORM_TYPE, DRY_RUN } from './cluster-config'; import { CertificateAuthority } from './components/certificate-authority'; import { ClusterType ...
packages/material-ui-icons/src/SyncTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M.01 0h24v24h-24V0z" /><g><path d="M12.01 4V1l-4 4 4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46c.78-1.23 1.24-2.69 1.24-4.26 0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2...
11、router/src/main.js
mqy1023/react-with-es6
import React from 'react'; import ReactDOM from 'react-dom'; import { Router, Route, Link, browserHistory, IndexRoute } from 'react-router' import App from './jsx/App.jsx'; import Home from './jsx/Home.jsx'; import About from './jsx/About.jsx'; import Contact from './jsx/Contact.jsx'; ReactDOM.render(( <Router h...
src/components/__specs__/TabBarButton.spec.js
MikeKoval/react-native-motivate-app
/*eslint-disable max-nested-callbacks*/ import sinon from 'sinon'; import React from 'react'; import {TouchableOpacity, Text} from 'react-native'; import {shallow} from 'enzyme'; import {describe, it} from 'mocha'; import {expect} from 'chai'; import {hasStyles} from '../../../test/assertions'; import TabBarButton fr...
ajax/libs/webshim/1.14.2/dev/shims/moxie/js/moxie.js
hibrahimsafak/cdnjs
/** * mOxie - multi-runtime File API & XMLHttpRequest L2 Polyfill * v1.2.1 * * Copyright 2013, Moxiecode Systems AB * Released under GPL License. * * License: http://www.plupload.com/license * Contributing: http://www.plupload.com/contributing * * Date: 2014-05-14 */ /** * Compiled inline version. (Library ...
app/ticket/push.js
Right-Men/Ironman
/** * Created by fandongyang on 2016/11/29. */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, Dimensions, ListView, Alert, TouchableHighlight } from 'react-native'; import { SwRefreshScrollView, SwRefreshListView, RefreshStatus, ...
ajax/libs/angular.js/1.1.2/angular-scenario.js
bspaulding/cdnjs
/*! * jQuery JavaScript Library v1.8.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Thu Sep 20 2012 21:13:05 GMT-0400 (Eastern Daylight Time) */ (function(...
packages/material-ui-icons/src/KeyboardReturnTwoTone.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="M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7h-2z" /></g></React.Fragment> , 'KeyboardReturnTwoTone');
src/settings/CustomFieldsSettings.js
folio-org/ui-users
import React from 'react'; import PropTypes from 'prop-types'; import { Switch, Route } from 'react-router-dom'; import { useStripes } from '@folio/stripes/core'; import { ViewCustomFieldsSettings, EditCustomFieldsSettings } from '@folio/stripes/smart-components'; const propTypes = { history: PropTypes.shape({ ...
app/containers/Root.js
bjyoungblood/chrome-github-toolkit
import React, { Component } from 'react'; import Options from './Options'; import Popup from './Popup'; import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react'; import { Provider } from 'react-redux'; import 'material-design-lite/material.css'; import 'material-design-lite/material.js'; import stor...
addons/info/src/components/markdown/code.js
jribeiro/storybook
import { Prism } from 'global'; import React from 'react'; import PropTypes from 'prop-types'; export class Code extends React.Component { componentDidMount() { this.highlight(); } componentDidUpdate() { this.highlight(); } highlight() { if (typeof Prism !== 'undefined') { Prism.highlight...
src/js/components/icons/base/Cli.js
odedre/grommet-final
/** * @description Cli SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @proper...
app/src/index.js
supernova-at/media-bias
/* * Imports. */ // NPM. import React from 'react'; import ReactDOM from 'react-dom'; // Local. import './index.css'; import App from './App'; import registerServiceWorker from './registerServiceWorker'; /* * Logic. */ ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
client/components/App/AppComponent.js
Extra-lightwill/gql-sequelize-ver01
import React from 'react'; import 'normalize.css/normalize.css'; import 'react-mdl/extra/css/material.cyan-red.min.css'; import Navbar from '../Navbar/NavbarComponent'; import Footer from '../Footer/FooterContainer'; import styles from './App.scss'; import yeoman from '../../assets/yeoman.png'; export default class Ap...
features/monitoring/org.wso2.carbon.as.monitoring.ui.feature/src/main/resources/monitoring/gadgets/stacked-line-chart/js/jquery.js
Pushpalanka/carbon-deployment
/*! * 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 * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ (function(...
examples/page-transitions/pages/_document.js
arunoda/next.js
import React from 'react' import Document, { Head, Main, NextScript } from 'next/document' // --------------------------------------------- export default class CustomDocument extends Document { render () { return (<html lang='en-US'> <Head> <meta name='viewport' content='width=device-width, initi...
components/Undertjenester.js
telemark/tilskudd-dashboard
import React from 'react' import Card from './Card' import ErrorCard from './ErrorCard' import Row from './Row' import getData from '../lib/get-data' function updateData (response) { const data = response.length > 0 ? response[0] : false return { queueDone: data !== false ? data.queue.done.count : 0, queue...
packages/material-ui-icons/src/AlarmRounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15.87 15.25l-3.37-2V8.72c0-.4-.32-.72-.72-.72h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l3.65 2.19c.34.2.78.1.98-.24.21-.35.1-.8-.25-1zm5.31-10.24L18.1 2.45c-.42-.35-1.05-.3-1.41.13-.35.42-.29 1...
springboot/GReact/src/main/resources/static/app/components/forms/editors/MarkdownEditor.js
ezsimple/java
import React from 'react' import 'script-loader!to-markdown/dist/to-markdown.js' import 'script-loader!markdown/lib/markdown.js' import 'script-loader!he/he.js' import 'script-loader!bootstrap-markdown/js/bootstrap-markdown.js' export default class MarkdownEditor extends React.Component { componentDidMount() { ...
RN/ListViewRefreshDemo/index.ios.js
puyanLiu/LPYFramework
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, ListView, } from 'react-native'; import PullRefreshScrollView from './PullRefreshScrollView'; import loadingImage from './images/ic...
packages/kalama/src/containers/Router.js
corporateanon/kalama
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import MainWindow from './MainWindow'; import PlayerScreen from './PlayerScreen'; import SearchScreen from './SearchScreen'; import HelpScreen from './HelpScreen'; import DownloadScreen from './D...
pootle/static/js/editor/components/SuggestionFeedbackForm.js
dwaynebailey/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 _ from 'underscore'; import React from 'react'; im...