path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/components/NoMatch.js
manar007/react-event-calendar
import React from 'react' const NoMatch = ({ location }) => { return <div> <div className="col-3"></div> <div className="col-6"> <h1>404</h1> <br/><h3>Not found</h3></div> <div className="col-3"></div> </div> ; }; export default NoMatch
webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/TasksCardsGrid.js
ares/foreman-tasks
import React from 'react'; import PropTypes from 'prop-types'; import { CardGrid } from 'patternfly-react'; import { noop } from 'foremanReact/common/helpers'; import RunningTasksCard from './Components/RunningTasksCard/RunningTasksCard'; import PausedTasksCard from './Components/PausedTasksCard/PausedTasksCard'; impo...
packages/reactor-kitchensink/src/examples/Msg/Msg.js
markbrocato/extjs-reactor
import React, { Component } from 'react'; import { Container, Button } from '@extjs/ext-react'; Ext.require('Ext.MessageBox'); export default class MsgExample extends Component { onConfirmResult(buttonId, value, opt) { Ext.toast(`User clicked ${buttonId} button.`); } onPromptResult(buttonId, val...
jest-setup-wordpress-globals.js
pods-framework/pods
/* global global */ import lodash from 'lodash'; import React from 'react'; import Backbone from 'backbone'; import * as Mn from 'backbone.marionette'; import underscore from 'underscore'; import { combineReducers, registerStore, select, dispatch, withSelect, withDispatch, } from '@wordpress/data'; global.Rea...
src/components/Bottom/Bottom.js
Zoomdata/nhtsa-dashboard
import React from 'react'; import image from '../../images/slot-bottom.png'; const Bottom = () => { return <img alt="" className="bottom" width="120" height="3.5" src={image} />; }; export default Bottom;
ajax/libs/falcor/0.0.12/falcor.browser.js
honestree/cdnjs
/*! * Copyright 2014 Netflix, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
packages/react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/index.js
jzmq/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import React, {Fragment, useContext, useMemo} from 'react'; import {StoreContext} from 'react-devtools-shared/src/devt...
examples/universal/client/index.js
dalinaum/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import configureStore from '../common/store/configureStore'; import App from '../common/containers/App'; const initialState = window.__INITIAL_STATE__; const store = configureStore(initialState); const rootElement = do...
examples/universal/src/client.js
4Catalyzer/found
import createInitialBrowserRouter from 'found/createInitialBrowserRouter'; import React from 'react'; import ReactDOM from 'react-dom'; import render from './render'; import routeConfig from './routeConfig'; (async () => { const BrowserRouter = await createInitialBrowserRouter({ routeConfig, render, }); ...
step-capstone/src/components/TravelObjects/Flight.js
googleinterns/step98-2020
import React from 'react'; import '../../styles/TimeLine.css'; import {Typography} from '@material-ui/core'; /* Takes data in this form: { finalized: true, type: "flight", departureAirport: "BOS", arrivalAirport: "SFO", startDate: "4:00pm EST", endDate: "7:...
wrappers/toml.js
caryfuk/architektka
import React from 'react' import toml from 'toml-js' import { Link } from 'react-router' import { prefixLink } from 'gatsby-helpers' import Helmet from 'react-helmet' import { config } from 'config' import { findDOMNode } from 'react-dom'; let Lightbox module.exports = React.createClass({ propTypes () { return {...
app/src/js/component/chart-account/SearchAccount.js
enoa7/chart-account
import React from 'react'; export default class SearchAccount extends React.Component{ render() { return ( <div className="search-box"> <i className="fa fa-search"></i> <input type="text" className="" placeholder="Search.." /> </div> ) } }
modules/field_ui/field_ui.js
stevepolitodesign/lucidia
/** * @file * Attaches the behaviors for the Field UI module. */ (function($) { Drupal.behaviors.fieldUIFieldOverview = { attach: function (context, settings) { $('table#field-overview', context).once('field-overview', function () { Drupal.fieldUIFieldOverview.attachUpdateSelects(this, settings); ...
src/components/header.js
RaneWallin/FCCLeaderboard
import React from 'react'; const SiteHeader = () => { return ( <header> <h1>FreeCodeCamp Leaderboard</h1> <h2>Designed and Coded by Rane</h2> <h4>View source on <a href="https://github.com/RaneWallin/FCCLeaderboard/tree/gh-pages">GitHub</a></h4> </header> ); } export default SiteHeader;
src/components/PasswordInput/PasswordInput.js
miker169/ps-react-miker169
import React from 'react'; import PropTypes from 'prop-types'; import ProgressBar from '../ProgressBar'; import EyeIcon from '../EyeIcon'; import TextInput from '../TextInput'; /** Password input with integrated label, quality tips, and show password toggle. */ class PasswordInput extends React.Component { construct...
app/components/Products.js
Ketevann/graceshopper
import React from 'react' import { Link } from 'react-router' import { BarLoader } from 'react-spinners'; import { deleteProduct, findProduct, search, filterRemove, updatePath } from '../reducers/products' import store from '../store' import Search from './Search' import { cancelSearch, searchProduct } from '../r...
src/svg-icons/action/translate.js
ichiohta/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionTranslate = (props) => ( <SvgIcon {...props}> <path d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.7...
lib/components/Markdown/index.js
welovekpop/uwave-web-welovekpop.club
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _jsx2 = _interopRequireDefault(require("@babel/runtime/helpers/builtin/jsx")); var _react = _interopRequireDefault(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _rea...
ajax/libs/forerunnerdb/1.3.40/fdb-core+persist.min.js
boneskull/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...
ajax/libs/flocks.js/0.16.18/flocks.min.js
rigdern/cdnjs
if("undefined"===typeof React)var React=require("react"); (function(){function f(a){return"[object Array]"===Object.prototype.toString.call(a)}function k(a){return"undefined"===typeof a}function u(a){return"object"!==typeof a||"[object Array]"===Object.prototype.toString.call(a)?!1:!0}function c(a,b){if("string"===type...
src/page/CommentPage.js
jerryshew/react-uikits
import React, { Component } from 'react'; import {CN, TitleBlock} from '../util/tools'; import {NS, COLORS} from '../constant'; import CodeView from './CodeView'; export class CommentPage extends Component { render() { return ( <div> {TitleBlock('评论')} <ul> ...
frontend/src/components/organizationProfile/common/profileConfirmation.js
unicef/un-partner-portal
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { compose } from 'ramda'; import { withStyles } from 'material-ui/styles'; import Typography from 'material-ui/Typography'; import Checkbox from 'material-ui/Checkbox'; import ProfileViewLink from './profileView...
ajax/libs/video.js/4.8.2/video.dev.js
mohitbhatia1994/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
imports/ui/components/MultipleStepJournal/MultipleStepJournal.js
jamiebones/Journal_Publication
import React from 'react'; import PropTypes from 'prop-types'; import { Row, Col, FormGroup, HelpBlock , Label , ControlLabel, Button , Well , FormControl } from 'react-bootstrap'; import { Meteor } from 'meteor/meteor'; import { createContainer } from 'meteor/react-meteor-data'; import { ReactiveVar } from 'meteo...
classic/src/scenes/traypopout/src/Scenes/UnreadScene/UnreadMailboxList/UnreadMailboxListItem.js
wavebox/waveboxapp
import React from 'react' import PropTypes from 'prop-types' import { accountStore } from 'stores/account' import { ListItem } from '@material-ui/core' import MailboxBadge from 'wbui/MailboxBadge' import ACAvatarCircle2 from 'wbui/ACAvatarCircle2' import KeyboardArrowRightIcon from '@material-ui/icons/KeyboardArrowRigh...
ajax/libs/jquery/1.4.1/jquery.min.js
kodypeterson/cdnjs
/*! * jQuery JavaScript Library v1.4.1 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
client/extensions/woocommerce/app/products/product-header.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { localize } from 'i18n-calypso'; import Gridicon from 'gridicons'; import { isObject } from 'lodash'; /** * Internal dependencies */ import ActionHeader from 'woocommerce/components/action-header'...
src/svg-icons/notification/sync.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationSync = (props) => ( <SvgIcon {...props}> <path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25...
components/catalog/statistics.js
sgmap/inspire
import React from 'react' import PropTypes from 'prop-types' import {translate} from 'react-i18next' import {get} from 'lodash' import Counter from '../counter' import Percent from '../percent' import Pie from './pie' const Statistics = ({metrics, t}) => { const openness = get(metrics, 'datasets.partitions.opennes...
Examples/UIExplorer/ListViewGridLayoutExample.js
dvcrn/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, ...
webpack.config.development.js
aidatorajiro/Ultimate-Development
/* eslint-disable max-len */ /** * Build config for development process that uses Hot-Module-Replacement * https://webpack.js.org/concepts/hot-module-replacement/ */ import path from 'path'; import webpack from 'webpack'; import merge from 'webpack-merge'; import { spawn } from 'child_process'; import baseConfig fro...
docs/src/pages/components/transitions/SimpleSlide.js
lgollut/material-ui
import React from 'react'; import Switch from '@material-ui/core/Switch'; import Paper from '@material-ui/core/Paper'; import Slide from '@material-ui/core/Slide'; import FormControlLabel from '@material-ui/core/FormControlLabel'; import { makeStyles } from '@material-ui/core/styles'; const useStyles = makeStyles((the...
definitions/npm/react-toastify_v3.2.x/test_react-toastify_v3.2.x.js
orlandoc01/flow-typed
import React from 'react' import { ToastContainer, toast, style } from 'react-toastify' const toastContent = <div>Toast!</div> // $ExpectError toast(toastContent, { type: toast.TYPE.SUCCES }) toast(toastContent, { type: toast.TYPE.SUCCESS }) // $ExpectError toast.success(toastContent, { onOpen: false }) toast.succes...
files/rxjs/2.3.22/rx.compat.js
ntd/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
app/react-icons/fa/opera.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaOpera extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m33.3 5.1q-3.7-2.5-8-2.5-3.4 0-6.5 1.7t-5.4 4.4q-1.7 2.1-2.7 4.9t-1 5.9v1q0.1 ...
server/node_modules/react-dom/lib/ReactCompositeComponent.js
Atanasov86/Car-System
/** * 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...
src/App.js
Dmidify/mlblog
import React, { Component } from 'react'; import { Link } from 'react-router'; import { postsData } from './sample-data'; import './App.css'; import Navbar from './components/navbar'; import HomeHeader from './components/home-header'; import PostsList from './components/posts-list'; import Footer from './components/foo...
react/features/video-menu/components/web/MuteEveryoneElsesVideoButton.js
gpolitis/jitsi-meet
// @flow import React from 'react'; import ContextMenuItem from '../../../base/components/context-menu/ContextMenuItem'; import { translate } from '../../../base/i18n'; import { IconMuteVideoEveryoneElse } from '../../../base/icons'; import { connect } from '../../../base/redux'; import AbstractMuteEveryoneElsesVideo...
ajax/libs/react-bootstrap-typeahead/0.1.5/react-bootstrap-typeahead.min.js
sashberd/cdnjs
!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].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){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{...
src/js/Main/components/App.js
fr3nchN/proactive
import React from 'react' import Values from './Values' import Features from './Features' import LatestNews from './LatestNews' import ProActiveProject from './ProActiveProject' import { Link } from 'react-router-dom' import links from "./../links" const App = () => ( <div> <div className="background-imag...
packages/material-ui-icons/src/ShowChart.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z" /> , 'ShowChart');
src/components/Quote.js
sergey-shulyak/simple-quote
import React from 'react'; import PropTypes from 'prop-types'; import { NavLink as Link } from 'react-router-dom'; const Quote = ({ text, favourite = false, book }) => ( <div className="ui piled segment"> <blockquote>{text}</blockquote> {book && <Link to={`/${book.id}`} className="ui bottom right attac...
src/server.js
stephenhandley/concertcalendar
import Express from 'express'; import React from 'react'; import Location from 'react-router/lib/Location'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './redux/create'; im...
app/screens/Settings/SettingsScreenView.js
JSSolutions/Perfi
import React from 'react'; import T from 'prop-types'; import { Text, View } from 'react-native'; import { Subtitle, Select, ScreenWrapper, Icon, Button } from '../../components'; import currencies from '../../constants/currencies'; import s from './styles'; import { dimensions, colors } from '../../styles'; const ...
__tests__/index.ios.js
ravicpn/ReactNativeAppStoreClient
import 'react-native'; import React from 'react'; import Index from '../index.ios.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
manabi/static/js/draft-js-furigana-plugin/MentionSuggestions/Entry/Avatar/index.js
aehlke/manabi
import React from 'react'; const Avatar = ({ mention, theme = {} }) => { if (mention.has('avatar')) { return ( <img src={mention.get('avatar')} className={theme.mentionSuggestionsEntryAvatar} role="presentation" /> ); } return null; }; export default Avatar;
src/pages/projects.js
bretafinley/site
import React from 'react'; import Link from 'gatsby-link'; import ProjectCard from '../components/cards/project-card'; const Projects = ({data}) => { const projects = data.allMarkdownRemark.edges.map((d, i) => { const excerpt = d.node.excerpt; const front = d.node.frontmatter; return <ProjectCard key={...
packages/material-ui-icons/lib/ImportContactsSharp.js
mbrookes/material-ui
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon")); var _jsxRuntime = require("react/jsx-runtime")...
ajax/libs/forerunnerdb/1.3.60/fdb-all.min.js
dakshshah96/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...
client/src/react/financial/AccountContainer.js
charlesj/Apollo
import React from 'react' import PropTypes from 'prop-types' import { connect, } from 'react-redux' import Flexbox from 'flexbox-react' import { Container, TextButton, } from '../_controls' import AccountForm from './AccountForm' import AccountDisplay from './AccountDisplay' import { financialSelectors, } from '../...
src/routes/index.js
raineroviir/SUWProject
import React from 'react' import { Route, IndexRoute, Redirect } from 'react-router' // NOTE: here we're making use of the `resolve.root` configuration // option in webpack, which allows us to specify import paths as if // they were from the root of the ~/src directory. This makes it // very easy to navigate to files ...
src/svg-icons/places/fitness-center.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesFitnessCenter = (props) => ( <SvgIcon {...props}> <path d="M20.57 14.86L22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57 ...
src/js/components/pages/ErrorPage.js
at-ishikawa/paintlive
import React from 'react'; class ErrorPage extends React.Component { render() { return ( <div> <div style={{ "background-color": "white", "font-size": "2rem", "padding": "32px", "text-align": "center" }}> Sorry, the requested page was not fo...
src/frontend/components/forms/GCPhoneField.js
al3x/ground-control
import React from 'react'; import {TextField} from 'material-ui'; import {BernieText} from '../styles/bernie-css'; import GCFormField from './GCFormField'; export default class GCPhoneField extends GCFormField { render() { let phone = this.props.value let formattedValue = `(${phone.slice(0, 3)}) ${phone.sli...
app/js/views/Section.js
refugeetech/project_interactivemap
import React from 'react' import { compose, mapProps } from 'recompose' import { Link } from 'react-router' import NavBar from './NavBar' const enhance = compose( mapProps(({ sections, params, ...props }) => ({ section: sections[params.sectionId], ...props })), mapProps(({ section, readPosts, ...props })...
node_modules/perseus/node_modules/react-tools/src/core/ReactElementValidator.js
laurennicolaisen/laurennicolaisen.github.io
/** * Copyright 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. * * @providesModule React...
react/src/sui/NavBarComponent.js
ineffablep/simple-ui
import React from 'react'; import { Link, IndexLink } from 'react-router'; import uuidV4 from 'uuid/v4'; class NavBar extends React.Component { constructor(props) { super(props); this.routeList = []; this.handleMobileMenuClick = this.handleMobileMenuClick.bind(this); this.state = { s...
packages/material-ui-icons/src/Drafts.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Drafts = props => <SvgIcon {...props}> <path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z" /> <...
src/components/Spinner/index.js
ultimagriever/manager
import React from 'react'; import { View, ActivityIndicator } from 'react-native'; import styles from './styles'; const Spinner = props => ( <View style={styles.container}> <ActivityIndicator {...props} /> </View> ); Spinner.defaultProps = { color: 'white', size: 'large' }; export default Spinner;
.storybook/includes/file-import.js
KissKissBankBank/kitten
import React from 'react' import { Subheading } from '@storybook/addon-docs' export const FileImport = ({ importString }) => ( <> <Subheading>Import</Subheading> <pre className="k-u-margin-top-singleHalf k-u-margin-bottom-quadruple"> import {`{ ${importString} }`} from '@kisskissbankbank/kitten' </...
src/icons/ModeCommentIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class ModeCommentIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M43.98 8c0-2.21-1.77-4-3.98-4H8C5.79 4 4 5.79 4 8v24c0 2.21 1.79 4 4 4h28l8 8-.02-36z"/></svg>;} };
src/meta/CategoryList.js
guanzhou-zhao/calculate-cabinet-plan
import React, { Component } from 'react'; import _ from 'lodash'; import Category from '../model/Category'; import defaultState from './config'; import CalculatePlanList from './CalculatePlanList' export default class CategoryList extends Component { constructor(props) { super(props); this.getCategoryList = ...
src/routes.js
Alastor4918/Heckmeck
import React from 'react'; import {IndexRoute, Route} from 'react-router'; import { isLoaded as isAuthLoaded, load as loadAuth } from 'redux/modules/auth'; import { App, Login, LoginSuccess, NotFound, LandingPage, Rules, Game, Register, Lobby, LobbyRoom } from 'containers'; ex...
app/javascript/mastodon/features/ui/components/column_subheading.js
verniy6462/mastodon
import React from 'react'; import PropTypes from 'prop-types'; const ColumnSubheading = ({ text }) => { return ( <div className='column-subheading'> {text} </div> ); }; ColumnSubheading.propTypes = { text: PropTypes.string.isRequired, }; export default ColumnSubheading;
src/components/Speakers/Speakers.js
ksevezich/DayOfBlueprint
import React from 'react' import classes from './Speakers.scss' import SpeakersSection from 'components/SpeakersSection' import alex from 'static/Alex.png' import stephen from 'static/Stephen.png' import jason from 'static/Jason.png' import dan from 'static/Dan.png' export const Speakers = () => ( <div> <div cla...
assets/javascripts/kitten/components/layout/dashboard-layout/flow/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' import styled from 'styled-components' import classNames from 'classnames' import COLORS from '../../../../constants/colors-config' import { mq } from '../../../../constants/screen-config' import { pxToRem } from '../../../../helpers/utils/typography' import...
ajax/libs/jssip/0.6.29/jssip.js
LeaYeh/cdnjs
/* * JsSIP v0.6.29 * the Javascript SIP library * Copyright: 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan) * Homepage: http://jssip.net * License: MIT */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&de...
actor-apps/app-web/src/app/components/ToolbarSection.react.js
VikingDen/actor-platform
import React from 'react'; import ReactMixin from 'react-mixin'; import { IntlMixin } from 'react-intl'; import classnames from 'classnames'; import ActivityActionCreators from 'actions/ActivityActionCreators'; import DialogStore from 'stores/DialogStore'; import ActivityStore from 'stores/ActivityStore'; //import A...
client/tests/commonComponents/dashboard.spec.js
FlevianK/cp2-document-management-system
import expect from 'expect'; import React from 'react'; import App from '../../src/components/common/Dashboard'; import { shallow, mount } from 'enzyme'; describe('Dashboard component', () => { it('renders div', () => { const wrapper = shallow(<App />); expect(wrapper.find('div').length).toBe(1); }); });
server/sonar-web/src/main/js/apps/users/components/__tests__/UsersSelectSearchOption-test.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/Jumbotron.js
westonplatter/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import CustomPropTypes from './utils/CustomPropTypes'; const Jumbotron = React.createClass({ propTypes: { /** * You can use a custom element for this component */ componentClass: CustomPropTypes.elementType }, getDefaultProps() { ...
packages/material-ui-icons/src/TheatersSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M18 3v2h-2V3H8v2H6V3H4v18h2v-2h2v2h8v-2h2v2h2V3h-2zM8 17H6v-2h2v2zm0-4H6v-2h2v2zm0-4H6V7h2v2zm10 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V7h2v2z" /> , 'TheatersSharp');
src/components/views/Organization/ReceiveGoodsForm.js
jennywin/donate-for-good
import React, { Component } from 'react'; export default class ReceiveGoodsForm extends Component { render() { return ( <div id="receive_goods_form" className="page"> <div className="page__header"> <h2 className="page__heading">I would like to receive</h2> </div> <div cl...
app/components/modules/code.module/index.js
omeryagmurlu/algoriv
import React from 'react'; import PropTypes from 'prop-types'; import { themedStyle, ifModuleEnabled } from 'app/utils'; import style from './style.scss'; const css = themedStyle(style); const Code = props => { const lineTags = Array(props.code.length).fill(''); props.highlights.forEach((idx => (lineTags[idx] = cs...
ajax/libs/forerunnerdb/1.3.641/fdb-core+views.js
dlueth/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...
packages/material-ui-icons/src/HotelRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M7 13c1.66 0 3-1.34 3-3S8.66 7 7 7s-3 1.34-3 3 1.34 3 3 3zm12-6h-6c-1.1 0-2 .9-2 2v5H3V6c0-.55-.45-1-1-1s-1 .45-1 1v13c0 .55.45 1 1 1s1-.45 1-1v...
app/containers/tutorial/sixth.js
DeividasK/my-future-ai
import React from 'react' import SimpleList from 'components/lists/simple' import { updateStep, updateHeading, updateActions } from '../../actions/TutorialActions' import { FormattedMessage, defineMessages, injectIntl } from 'react-intl' const content = defineMessages({ title: { id: 'app.tutorial.step6.title', defaul...
analysis/paladinretribution/src/CHANGELOG.js
anom0ly/WoWAnalyzer
import { change, date } from 'common/changelog'; import SPELLS from 'common/SPELLS'; import { Adoraci, Juko8, Skeletor, Zeboot, Hordehobbs } from 'CONTRIBUTORS'; import { SpellLink } from 'interface'; import React from 'react'; export default [ change(date(2021, 4, 10), <>Added <SpellLink id={SPELLS.FINAL_VERDICT.id...
packages/material-ui-icons/src/FirstPage.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z" /><path fill="none" d="M24 24H0V0h24v24z" /></React.Fragment> , 'FirstPage');
js/components/radio/index.js
YeisonGomez/RNAmanda
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, List, ListItem, Radio, Text,Left,Right,Body } from 'native-base'; import { openDrawer } from '../../actions/drawer'; import styles from './styles'; class NHRadio extends Componen...
src/svg-icons/action/info-outline.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionInfoOutline = (props) => ( <SvgIcon {...props}> <path d="M11 17h2v-6h-2v6zm1-15C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zM11 9h...
src/js/components/icons/status/Label.js
primozs/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import CSSClassnames from '../../../utils/CSSClassnames'; const STATUS_ICON = CSSClassnames.STATUS_ICON; export default class Label extends Component { render() { var className = `${STATUS_ICON} ${STA...
examples/draft-0-10-0/tex/js/components/TeXBlock.js
dirkholsopple/draft-js
/** * Copyright (c) 2013-present, Facebook, Inc. All rights reserved. * * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCL...
examples/animated-framer-motion/src/App.js
tannerlinsley/react-table
import React from 'react' import styled from 'styled-components' import { useTable, useSortBy, useFilters, useColumnOrder } from 'react-table' import { motion, AnimatePresence } from 'framer-motion' import matchSorter from 'match-sorter' import makeData from './makeData' const Styles = styled.div` padding: 1rem; ...
src/entry.js
bj75326/react-slider
//entry.js import React from 'react'; import {render} from 'react-dom'; import Test from './component/Test.js'; import initReactFastClick from 'react-fastclick'; initReactFastClick(); render(<Test/>, document.querySelector('#App'));
app/javascript/mastodon/components/load_more.js
glitch-soc/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; export default class LoadMore extends React.PureComponent { static propTypes = { onClick: PropTypes.func, disabled: PropTypes.bool, visible: PropTypes.bool, } static defaultProps = { vi...
src/group-finder/NoResults.js
NewSpring/Apollos
import React from 'react'; import Card, { CardContent } from '@ui/Card'; import { BodyText } from '@ui/typography'; import { ButtonLink } from '@ui/Button'; import styled from '@ui/styled'; import PaddedView from '@ui/PaddedView'; import WebBrowser from '@ui/WebBrowser'; const StyledBodyText = styled({ textAlign: 'cen...
public/js/components/Instructions.js
richardison/audition-project
import React from 'react'; export default class Instructions extends React.Component { render() { return ( <div className="instructions"> <p> Pretty simple app that uses React and NodeJS. The front end communicates to the server by REST AP...
src/components/common/Icon.js
jinqiupeter/mtsr
import React from 'react'; import {StyleSheet, Platform, View, Text, TouchableOpacity} from 'react-native'; import {Actions} from 'react-native-router-flux'; import Icon from 'react-native-vector-icons/FontAwesome'; import {COLOR, SCREEN_WIDTH, SCREEN_HEIGHT} from '../../config'; export default ({name, transparent=fa...
app/src/components/List.js
wtfil/google-music-unofficial-client
import React from 'react'; import cx from 'classnames'; import {Link} from 'react-router'; import formatTime from '../utils/formatTime'; class Item extends React.Component { render(props) { const {small, current, album, albumId, artist, title, duration, trackId, onSelect, artistId, index} = this.props; const isCu...
src/components/_common/List.js
visarts/dotorg
import React from 'react' import _ from 'lodash' import { Typography, Image } from 'common' import styled, { css } from 'styled-components' import { Link } from 'react-router-dom' const StyledListItem = styled.li` border-radius: 5px; ` const StyledListItemLink = styled(Link)` ${props => css` display: ${props....
js/components/button/outline.js
YeisonGomez/RNAmanda
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, Left, Right, Body, Text, H3 } from 'native-base'; import { Actions } from 'react-native-router-flux'; import { actions } from 'react-native-navigation-redux-helpers'; import { ope...
ajax/libs/reactive-coffee/1.2.0/reactive-coffee.min.js
qrohlf/cdnjs
(function(){var a,b=[].slice,c={}.hasOwnProperty,d=function(a,b){function d(){this.constructor=a}for(var e in b)c.call(b,e)&&(a[e]=b[e]);return d.prototype=b.prototype,a.prototype=new d,a.__super__=b.prototype,a};a=function(a,c){var e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V...
src/components/Loading/Loading.js
wfp/ui
/** * Copyright IBM Corp. 2016, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import PropTypes from 'prop-types'; import React from 'react'; import classNames from 'classnames'; import settings from '../../globals/js/se...
pootle/static/js/admin/components/AdminController.js
evernote/zing
/* * 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 Backbone from 'backbone'; import $ from 'jquery'; i...
build/javascripts/vendor/jquery-1.8.0.min-5ee64c85.js
euruko2013/site
/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ (function(e,t){function n(e){var t=dt[e]={};return Y.each(e.split(tt),function(e,n){t[n]=!0}),t}function r(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(mt,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:...
app/main.js
ellheat/exercise-6-redux
/** * app.js * * This is the entry file for the application, only setup and boilerplate * code. */ import React from 'react'; import ReactDOM from 'react-dom'; // Needed for redux-saga es6 generator support import 'babel-polyfill'; // Import all the third party stuff import { AppContainer } from 'react-hot-load...
ajax/libs/6to5/3.6.1/browser-polyfill.js
pvnr0082t/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/forerunnerdb/1.3.674/fdb-core.js
seogi1004/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...
packages/mineral-ui-icons/src/IconRssFeed.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 IconRssFeed(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProps}...