path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/pages/index.js
travi-org/matt.travi.org
import React from 'react'; import {Profile} from '@travi/matt.travi.org-components'; import SiteLayout from '../components/layout'; export default function WrappedProfile() { return ( <SiteLayout> <Profile /> </SiteLayout> ); }
packages/node_modules/@webex/widget-space/src/components/activity-menu/index.js
ciscospark/react-ciscospark
import React from 'react'; import PropTypes from 'prop-types'; import ActivityMenu from '@webex/react-component-activity-menu'; const propTypes = { activityTypes: PropTypes.array.isRequired, onChange: PropTypes.func, onExit: PropTypes.func }; const defaultProps = { onChange: () => {}, onExit: () => {} }; ...
ajax/libs/forerunnerdb/1.3.699/fdb-core+persist.min.js
jonobr1/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...
app/javascript/mastodon/features/status/components/action_bar.js
Chronister/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import IconButton from '../../../components/icon_button'; import ImmutablePropTypes from 'react-immutable-proptypes'; import DropdownMenuContainer from '../../../containers/dropdown_menu_container'; import { defineMessages, injectIntl } from 'react-intl'; i...
src/svg-icons/action/watch-later.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionWatchLater = (props) => ( <SvgIcon {...props}> <path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"/> </SvgIcon> ); ActionWatchLater = pure(Ac...
ajax/libs/highmaps/1.0.3/highcharts.src.js
hasantayyar/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v4.0.3 (2014-07-03) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
lib/carbon-fields/vendor/htmlburger/carbon-fields/assets/js/containers/components/container/index.js
boquiabierto/wherever-content
/** * The external dependencies. */ import React from 'react'; import { branch, renderComponent } from 'recompose'; import { isObject } from 'lodash'; /** * The internal dependencies. */ import ContainerTabbed from 'containers/components/container/tabbed'; import ContainerPlain from 'containers/components/containe...
blueprints/smart/files/__root__/containers/__name__/__name__.js
verypossible/booster-kit-react
/* @flow */ import React from 'react' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' type Props = { } export class <%= pascalEntityName %> extends React.Component { props: Props; render () { return ( <div></div> ) } } const mapStateToProps = (state) => { retur...
src/svg-icons/action/note-add.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionNoteAdd = (props) => ( <SvgIcon {...props}> <path d="M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z"/> </SvgIcon> );...
app/components/distance.js
sirbrillig/voyageur-js-client
import React from 'react'; import { connect } from 'react-redux'; import classNames from 'classnames'; import { getAddressPairs, sumUnlessNull, getCachedDistanceForPair, getAddressesForTrip } from 'lib/helpers'; import { fetchDistanceBetween, changeUnits } from 'lib/actions/trip'; import DistanceNumber from 'components...
src/components/search-bar.component.android.js
dyesseyumba/git-point
import React from 'react'; import { StyleSheet } from 'react-native'; import MDSearchBar from 'react-native-material-design-searchbar'; type Props = { textColor?: string, textFieldBackgroundColor?: string, showsCancelButton?: boolean, placeholder?: string, onFocus: Function, onCancelButtonPress: Function, ...
app/javascript/mastodon/features/compose/components/upload_button.js
TheInventrix/mastodon
import React from 'react'; import IconButton from '../../../components/icon_button'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 're...
src/components/ui/Alerts.js
shojil/bifapp
/** * Alerts - Status/Success/Error Messages * <Alerts error={'Error hey'} success={'Hello Success'} status={'Something\'s happening...'} /> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React from 'react'; import PropTypes from 'prop-types'...
src/components/base/MutexRadioGroup.js
lethecoa/work-order-pc
import React from 'react'; import { Checkbox } from 'antd'; import { fun } from '../../common'; const CheckboxGroup = Checkbox.Group; export default class MutexRadioGroup extends React.Component { constructor( props ) { super( props ); this.state = { options: [], value: props.value || [] };...
3p/integration.js
nathangoulding/amphtml
/** * Copyright 2015 The AMP HTML Authors. All Rights Reserved. * * 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 require...
src/ProgressMessage.js
Copy-of-Kate/copy-of-kate.com
import React from 'react'; import './Progress.css'; import './ProgressMessage.css'; const ProgressMessage = props => { const chapterData = props.chapterData || {}; return ( <span className={'Progress-message Progress--' + chapterData.progress}> {chapterData.progressMessage} </span> ); }; export de...
src/isomorphic/modern/class/ReactComponent.js
chrisjallen/react
/** * Copyright 2013-2015, 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 ...
dist/index-browsermodern.es.js
alpjs/auk-react-redux
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { createStore, applyMiddleware, compose, combineReducers } from 'redux'; export { combineReducers } from 'redux'; import { connect } from 'react-redux'; export { connect } from 'react-redux'; import contentLoaded from 'content-loaded';...
assets/kcfinder/js/jquery.js
ShapeCMS/shapecms
/*! * jQuery JavaScript Library v1.6.1 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
features/common/components/dropdown/ddListItem.js
zymokey/mission-park
import React from 'react'; class DDListItem extends React.Component { constructor(props){ super(props); } render(){ const { item, selected, itemClick } = this.props; return ( <li> <a className="dd-list-item" href="javascript:void(0);" title={item.name || item} onClick={itemClick.bind(this, ite...
docs/tabcordions/4.1.1/tests/BT/assets/js/gui.js
WestpacCXTeam/GUI-source
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/client.js
oToUC/the-scratch
/** * THIS IS THE ENTRY POINT FOR THE CLIENT, JUST LIKE server.js IS THE ENTRY POINT FOR THE SERVER. */ import 'babel/polyfill'; import React from 'react'; import BrowserHistory from 'react-router/lib/BrowserHistory'; import Location from 'react-router/lib/Location'; import queryString from 'query-string'; import cre...
src/svg-icons/editor/title.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorTitle = (props) => ( <SvgIcon {...props}> <path d="M5 4v3h5.5v12h3V7H19V4z"/> </SvgIcon> ); EditorTitle = pure(EditorTitle); EditorTitle.displayName = 'EditorTitle'; EditorTitle.muiName = 'SvgIcon'; ex...
server/sonar-web/src/main/js/apps/project-admin/key/BulkUpdateResults.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact 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...
ajax/libs/js-data/1.5.0/js-data.js
skidding/cdnjs
/** * @author Jason Dobry <jason.dobry@gmail.com> * @file dist/js-data.js * @version 1.5.0 - Homepage <http://www.js-data.io/> * @copyright (c) 2014 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Data store. */ !function(e){if("object"==typeof exports&&"undefined"!=ty...
src/svg-icons/notification/sync.js
lawrence-yu/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...
app/components/HomePage/index.js
BeautifulTrouble/beautifulrising-client
/** * * HomePageComponents * */ import React from 'react'; import styled from 'styled-components'; import CommonLeftHeader from 'components/CommonComponents/CommonLeftHeader'; import SmallSectionHeader from 'components/SmallSectionHeader'; function HomePageComponents() { return ( <div> </div> ); } HomePa...
examples/custom-server-koa/pages/index.js
nikvm/next.js
import React from 'react' import Link from 'next/link' export default () => ( <ul> <li><Link href='/b' as='/a'><a>a</a></Link></li> <li><Link href='/a' as='/b'><a>b</a></Link></li> </ul> )
app/ZhihuItem.js
joyleon/react-zhihuitems
import React from 'react' import {render} from 'react-dom' import $ from 'jquery' export default class ZhihuItem extends React.Component{ constructor(){ super() this.editItem = this.editItem.bind(this) this.delateItem = this.delateItem.bind(this) } //编辑条目 editItem(e){ if(!$(this.refs.editbutton...
src/components/Common/FormFields/MarkedArea.js
MattMcFarland/tw-client
import React from 'react'; import marked from 'marked'; marked.setOptions({ highlight: function (code) { return require('highlight.js').highlightAuto(code).value; } }); export default class MarkedArea extends React.Component { constructor(props) { super(props); this.state = { isPreview: props.is...
client/components/profile.js
guyonroche/quaero
import React from 'react'; const Profile = props => ( <div className="question"> Checkout your account here </div> ); export default Profile;
packages/material-ui-icons/src/Done.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z" /></g> , 'Done');
src/plugin/iframe_root/modules/widgets/KBaseSets/SampleSet/components/SampleLinkedData.js
kbase/kbase-ui-plugin-dataview
define([ 'preact', 'htm', 'components/Empty', 'components/DataTable4' ], ( {Component, h}, htm, Empty, DataTable ) => { const html = htm.bind(h); const columns = [ { id: 'objectRef', label: 'Object Ref', sortable: true, sty...
src/pages/kandinsky.js
vitorbarbosa19/ziro-online
import React from 'react' import BrandGallery from '../components/BrandGallery' export default () => ( <BrandGallery brand='Kandinsky' /> )
src/components/NavLeft.js
353090398/big-demo
import React from 'react'; import { Link } from 'react-router'; class NavLeft extends React.Component { constructor(){ super(); title:'Home' } componentWillReceiveProps(){ this.setTitle(); } componentWillMount(){ this.setTitle(); } setTitle(){ this.setState({ title: this.contex...
src/svg-icons/maps/directions-bike.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsDirectionsBike = (props) => ( <SvgIcon {...props}> <path d="M15.5 5.5c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM5 12c-2.8 0-5 2.2-5 5s2.2 5 5 5 5-2.2 5-5-2.2-5-5-5zm0 8.5c-1.9 0-3.5-1.6-3.5-3.5s1.6-3.5 3....
src/parser/monk/mistweaver/modules/features/StatValues.js
ronaldpereira/WoWAnalyzer
import { Trans } from '@lingui/macro'; import React from 'react'; import BaseHealerStatValues from 'parser/shared/modules/features/BaseHealerStatValues'; import STAT from 'parser/shared/modules/features/STAT'; import StatTracker from 'parser/shared/modules/StatTracker'; import CritEffectBonus from 'parser/shared/modul...
src/js/components/icons/base/FormUpload.js
linde12/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
ajax/libs/jssip/0.6.7/jssip.js
boneskull/cdnjs
/* * JsSIP.js 0.6.7 * 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(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define....
ajax/libs/js-data/1.5.13/js-data-debug.js
fredericksilva/cdnjs
/*! * js-data * @version 1.5.13 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModu...
client/src/components/Header/components/Login.js
HKuz/FreeCodeCamp
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Button } from '@freecodecamp/react-bootstrap'; import { hardGoTo } from '../../../redux'; import { apiLocation } from '../../../../config/env.json'; import './login.css'; const mapStateToProps = () => ({});...
example/users.js
marmelab/admin-on-rest
/* eslint react/jsx-key: off */ import React from 'react'; import { Create, Datagrid, DisabledInput, Edit, EditButton, Filter, FormTab, List, Responsive, SaveButton, Show, ShowButton, SimpleForm, SimpleList, Tab, TabbedForm, TabbedShowLayout, TextF...
web/node_modules/babel-core/browser-polyfill.js
jphacks/TK_23
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
src/app/views/resources.js
benigeri/soapee-ui
import React from 'react/addons'; import DocMeta from 'react-doc-meta'; import FacebookComments from 'components/facebookComments'; export default React.createClass( { render() { document.title = 'Soapee - Resources'; return ( <div id="resources"> <DocMeta tags={ this...
code/workspaces/web-app/src/components/settings/UserPermissionsTable.spec.js
NERC-CEH/datalab
import React from 'react'; import { useDispatch } from 'react-redux'; import { render } from '@testing-library/react'; import { useProjectUsers } from '../../hooks/projectUsersHooks'; import { useCurrentProjectKey } from '../../hooks/currentProjectHooks'; import { useCurrentUserId } from '../../hooks/authHooks'; import...
docs/runtime/jquery-1.11.2.min.js
olydis/lambada
/*! jQuery v1.11.2 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
src/svg-icons/image/image-aspect-ratio.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageImageAspectRatio = (props) => ( <SvgIcon {...props}> <path d="M16 10h-2v2h2v-2zm0 4h-2v2h2v-2zm-8-4H6v2h2v-2zm4 0h-2v2h2v-2zm8-6H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H...
ajax/libs/js-data/2.0.0-rc.3/js-data-debug.min.js
paleozogt/cdnjs
/*! * js-data * @version 2.0.0-rc.3 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversal...
src/components/__tests__/ui/list-item-test.js
arayi/SLions
/** * Test to check if the component renders correctly */ /* global it expect */ import 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import ListItem from '@ui/ListItem'; it('ListItem renders correctly', () => { const tree = renderer.create( <ListItem title={'Hel...
packages/material-ui-icons/src/AddAlarmTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M12 6c-3.87 0-7 3.13-7 7s3.13 7 7 7 7-3.13 7-7-3.13-7-7-7zm4 8h-3v3h-2v-3H8v-2h3V9h2v3h3v2z" opacity=".3" /><path d="M12 4c-4.97 0-9 4.03-9 9...
src/client.js
jackhutu/jackblog-react-redux
import React from 'react' import { render } from 'react-dom' import { renderRoutes } from 'react-router-config' import { BrowserRouter } from 'react-router-dom' import { ConnectedRouter } from 'react-router-redux' import {Provider} from 'react-redux' import createHistory from 'history/createBrowserHistory' import confi...
src/index.js
TonyHYK/tonyhyk.github.io
import React from 'react'; import ReactDOM from 'react-dom'; import App from './components/App'; ReactDOM.render( <App />, document.getElementById('root'), );
docs/app/Examples/elements/Image/Types/index.js
aabustamante/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import { Message } from 'semantic-ui-react' const ImageTypesExamples = () => ( <ExampleSection title='Types'> <ComponentExample ...
src/components/ContactUs/index.js
redsheep-io/redsheep.io
import React from 'react'; import {REQUEST_QUOTE_URL} from '../../constants/settings'; import './styles.scss'; class ContactUs extends React.Component { render () { return ( <div className="contact-us"> <div className="input-group contact-us__primary-action"> <label>For Clients</label> ...
packages/mineral-ui-icons/src/IconHdrStrong.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 IconHdrStrong(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconProp...
packages/react-scripts/fixtures/kitchensink/src/features/syntax/Generators.js
matart15/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(limit) { let i = 1; while (i <= limit)...
frontend/src/components/yes-no-switch.js
1905410/Misago
import React from 'react'; export default class extends React.Component { getClassName() { if (this.props.value) { return "btn btn-yes-no btn-yes-no-on"; } else { return "btn btn-yes-no btn-yes-no-off"; } } getIcon() { if (this.props.value) { return this.props.iconOn || 'check_...
app/javascript/mastodon/features/report/comment.js
gol-cha/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { injectIntl, defineMessages, FormattedMessage } from 'react-intl'; import Button from 'mastodon/components/button'; import Toggle from 'react-toggle'; const messages = defineMessages({ placeholder: { id: 'report.placeholder', defaultMessage: 'Typ...
packages/material-ui-icons/src/BatteryAlert.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let BatteryAlert = props => <SvgIcon {...props}> <path d="M15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33v15.33C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V5.33C17 4.6 16.4 4 15.67 4zM13 18h-2v-2h2v2zm0-4h-...
src/InputContainer.js
landerton/react-bootstrap-submit
import React from 'react'; export default class InputContainer extends React.Component { componentWillMount() { this._inputs = {}; } componentWillUnmount() { } registerInput(input) { let type = input.props.type; let name = input.props.name; if (!name) { throw new Err...
ajax/libs/radium/0.17.0/radium.js
wout/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["Radium"] = factory(...
examples/redux/gatsby-browser.js
okcoker/gatsby
import React from 'react' import { BrowserRouter as Router } from 'react-router-dom' import { Provider } from 'react-redux' import createStore from './src/state/createStore' exports.replaceRouterComponent = ({ history }) => { const store = createStore() const ConnectedRouterWrapper = ({ children }) => ( ...
src/Components/Nav.js
kybetter/react-router-demo
/** * Created by ZhaoLiang on 2017/5/17. */ import React, { Component } from 'react'; import { Link } from 'react-router-dom' class Nav extends Component { render () { return ( <ul> <li><Link to="/">Home</Link></li> <li><Link to="/about">About</Link></li> ...
src/app/components/team/Similarity/SettingSwitch.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import Box from '@material-ui/core/Box'; import Switch from '@material-ui/core/Switch'; const SettingSwitch = ({ label, checked, disabled, explainer, onChange, }) => ( <Box mb={2}> <Box display="flex" alignItems="center"> <Switch ...
app/components/Dashboard/TestingSessions/Sessions.js
cdiezmoran/AlphaStage-2.0
import React from 'react'; import moment from 'moment'; import uuid from 'uuid/v4'; import { array, string, func } from 'prop-types'; import styles from './Sessions.scss'; import NSButton from './NSButton'; const Sessions = ({ createId, sessions, switchPage }) => { const handleSwitch = (index) => () => switchPage(2...
src/routes/Home/components/HomeView.js
michaellyons/michaellyons.github.io
import React from 'react' import PropTypes from 'prop-types' import './HomeView.scss' import { ParallaxWrap, LazyImage, Postcard, PortfolioInfo, PortfolioCard } from 'components/Display' import IconButton from 'material-ui/IconButton' import ClearIcon from 'material-ui/svg-icons/content/clear' import Header from 'compo...
ajax/libs/asciinema-player/2.2.0/asciinema-player.js
seogi1004/cdnjs
/** * asciinema-player v2.2.0 * * Copyright 2011-2016, Marcin Kulik * All rights reserved. * */ if(typeof Math.imul == "undefined" || (Math.imul(0xffffffff,5) == 0)) { Math.imul = function (a, b) { var ah = (a >>> 16) & 0xffff; var al = a & 0xffff; var bh = (b >>> 16) & 0xffff; ...
src/factories.js
TouchBistro/frig
import React from 'react' import Form from './components/form.js' import Input from './components/input.js' import UnboundInput from './components/unbound_input.js' import Submit from './components/submit.js' import FormErrorList from './components/form_error_list.js' import Fieldset from './components/fieldset.js' imp...
views/containers/ProductForm.js
gvaldambrini/madam
import React from 'react'; import moment from 'moment'; import { connect } from 'react-redux'; import { ProductFormUi } from '../components'; import { fetchProduct, saveProduct } from '../redux/modules/products'; // The product form container used in the products section. const ProductForm = React.createClass({...
src/BootstrapMixin.js
xiaoking/react-bootstrap
import React from 'react'; import styleMaps from './styleMaps'; import CustomPropTypes from './utils/CustomPropTypes'; const BootstrapMixin = { propTypes: { /** * bootstrap className * @private */ bsClass: CustomPropTypes.keyOf(styleMaps.CLASSES), /** * Style variants * @type {("...
tests/components/SearchForm.spec.js
voicebase/voicebase-end-user-experience
import React from 'react'; import { shallowRender } from '../../app/common/Test' import { SearchForm } from '../../app/components/SearchForm' import { initialState } from '../../app/redux/modules/search' import { FormControl } from 'react-bootstrap' import DatePicker from '../../app/components/DatePicker' import Dropd...
component/userShort.js
jstogether/jstogether
import React from 'react' import Component from './component'; import AppActions from '../action/app'; export default class UserShort extends Component { /** * */ constructor () { super(); this._bind('onClick'); } /** * */ render () { return ( <span className='userShort' onClick={this.onClick...
SalesforceReact/SalesforceReactApp/js/index.windows.js
ebragge/SalesforceReactWindows
/* * Copyright (c) 2015, salesforce.com, inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided * that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of conditi...
src/components/widgets/M_ScrollScreen/index.js
humaniq/humaniq-pwa-website
import React from 'react'; import * as T from "prop-types"; import './styles.scss'; import {cssClassName} from 'utils' const cn = cssClassName('M_ScrollScreen') const M_ScrollScreen = ({children, desabled}) =>{ return( <div> {children} {desabled || <div className={cn('screen')}/>} </div> ) } M...
public/App.js
Paybook/lite-python
!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){e.exports=n(1)},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var r=n(...
ajax/libs/react-highcharts/8.0.3/ReactHighmaps.src.js
sufuf3/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("highcharts/highmaps")); else if(typeof define === 'function' && define.amd) define(["react", "highcharts/highmaps"], factory); else if(type...
src/components/Header.js
innocentiv/vinnocenti
import React from 'react'; import GatsbyLink from 'gatsby-link'; import styles from '../css/header.module.css'; const Header = () => ( <header className={styles.header}> <GatsbyLink to="/" className={styles.link}> <h1 className={styles.title}>vinnocenti</h1> </GatsbyLink> </header> ); export defaul...
node_modules/react-router/es/StaticRouter.js
ChrisMichaelPerezSantiago/CodetrotterFinalProject
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; }; function _objectWithoutProperties(obj, keys) { var target = {...
examples/todo/js/components/TodoApp.js
IlyasM/relayWorking
/** * Copyright 2013-2015, 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. */ import AddTodoMut...
client/react/frontpage/components/AboutPage.js
uclaradio/uclaradio
// AboutPage.js import React from 'react'; import './AboutPage.scss'; /** Full page About content detailing UCLA Radio history and offering links to contact managers. Used as a tab's full content in frontpage. * */ const AboutPage = () => ( <div className="aboutPage"> <div id="wrapper"> <div className="th...
src/components/HeaderBar/CurrentMedia.js
welovekpop/uwave-web-welovekpop.club
import React from 'react'; import PropTypes from 'prop-types'; import { translate } from 'react-i18next'; import SongTitle from '../SongTitle'; const CurrentMedia = ({ t, className, media }) => ( <div className={className}> {media ? <SongTitle artist={media.artist} title={media.title} /> : t('booth.e...
server/sonar-web/src/main/js/app/components/nav/component/ComponentNavBreadcrumbs.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...
actor-apps/app-web/src/app/components/dialog/ComposeSection.react.js
Just-D/actor-platform
import _ from 'lodash'; import React from 'react'; import ReactMixin from 'react-mixin'; import addons from 'react/addons'; const {addons: { PureRenderMixin }} = addons; import ActorClient from 'utils/ActorClient'; import { Styles, FlatButton } from 'material-ui'; import { KeyCodes } from 'constants/ActorAppConstant...
hashstore/bakery/js/src/components/viewers/Markdown.js
walnutgeek/hashstore
import React from 'react'; import MarkdownIt from 'markdown-it'; const md = new MarkdownIt(); const Markdown = { accept_types: ["MD"], render({info, content}) { try { if(content){ const __html = md.render(content); return <div dangerouslySetInnerHTML={{__ht...
ajax/libs/yui/3.7.3/event-custom-base/event-custom-base-coverage.js
ZaValera/cdnjs
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = functio...
imports/client/render/index.js
mindhivenz/todos-basis-webapp
import React from 'react' import { render } from 'react-dom' import injectTapEventPlugin from 'react-tap-event-plugin' import { AppContainer as HotLoaderContainer } from 'react-hot-loader' import Root from './Root' const renderInHotLoaderContainer = Component => { render( <HotLoaderContainer> <Component ...
ajax/libs/ag-grid/9.0.4/lib/utils.js
sashberd/cdnjs
/** * ag-grid - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v9.0.3 * @link http://www.ag-grid.com/ * @license MIT */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var FUNCTION_STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/m...
ajax/libs/mobx-react/0.1.2/index.min.js
nolsherry/cdnjs
!function(){function e(e,t){function n(e){var n=t.findDOMNode(e);c.set(n,e),d.emit({event:"render",renderTime:e.__renderEnd-e.__renderStart,totalTime:Date.now()-e.__renderStart,component:e,node:n})}function o(e,t){var n=e[t],o=h[t];e[t]=function(){n&&n.apply(this,arguments),o.apply(this,arguments)}}function r(e){if(!e)...
packages/react-devtools-shared/src/__tests__/profilingCharts-test.js
ArunTesco/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 typeof TestRendererType from 'react-test-renderer'; import type Store from 'react-devtools-shared/src/devtools/...
wp-content/themes/charity/assets/js/jquery.min.js
kautzar/drpp4
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
ajax/libs/material-ui/4.11.3-deprecations.1/Chip/Chip.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.styles=void 0;var _extends2=_interopRequireDefault(require("@bab...
src/components/ManageSubscribers/ModifySubscriber/ModifyConnection.js
RegOpz/RegOpzWebApp
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; import { hashHistory } from 'react-router'; import { connect } from 'react-redux'; import { dispatch } from 'redux'; import { Field, reduxForm, formValueSelector } from 'redux-form'; import _ from 'lodash'; import { actionTestConnection } fro...
src/components/icons/ReactIcon.js
dtjv/dtjv.github.io
import React from 'react' export const ReactIcon = ({ className, ...props }) => ( <svg {...props} className={`text-react ${className}`} role="img" fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" > <title>React</title> <path d="M14.23 12.004a2.236 2.236 0 0...
frontend/app_v2/src/components/KidsNavBar/KidsNavBarContainer.js
First-Peoples-Cultural-Council/fv-web-ui
import React from 'react' import PropTypes from 'prop-types' // FPCC import KidsNavBarPresentation from 'components/KidsNavBar/KidsNavBarPresentation' import KidsNavBarData from 'components/KidsNavBar/KidsNavBarData' function KidsNavBarContainer({ home }) { const { links, logoUrl, sitename, siteTitle } = KidsNavBar...
ajax/libs/analytics.js/2.8.23/analytics.min.js
extend1994/cdnjs
(function umd(require){if("object"==typeof exports){module.exports=require("1")}else if("function"==typeof define&&define.amd){define(function(){return require("1")})}else{this["analytics"]=require("1")}})(function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[...
ajax/libs/react-native-web/0.0.0-bd62af4f4/hooks/usePressEvents/index.min.js
cdnjs/cdnjs
"use strict";import PressResponder from"./PressResponder";import{useDebugValue,useEffect,useRef}from"react";export default function usePressEvents(e,r){var u=useRef(null);null==u.current&&(u.current=new PressResponder(r));var s=u.current;return useEffect(function(){s.configure(r)},[r,s]),useEffect(function(){return fun...
node_modules/react-router/es6/RouterContext.js
mbestwick/medication-search
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; }; var _extends = Object.assign || function (target) { for (var i = 1; i < argum...
packages/mui-icons-material/lib/esm/ForkRightTwoTone.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M14.59 15.59 16 17l4-4-4-4-1.41 1.41L16.17 12c-1.51-.33-3.73.08-5.17 1.36V6.83l1.59 1.59L14 7l-4-4-4 4 1.41 1.41L9 6.83V21h2v-4c.73-2.58 3.07-3.47 5.17-3l-1...
ajax/libs/vuex/2.2.1/vuex.esm.js
ahocevar/cdnjs
/** * vuex v2.2.1 * (c) 2017 Evan You * @license MIT */ var applyMixin = function (Vue) { var version = Number(Vue.version.split('.')[0]); if (version >= 2) { var usesInit = Vue.config._lifecycleHooks.indexOf('init') > -1; Vue.mixin(usesInit ? { init: vuexInit } : { beforeCreate: vuexInit }); } else ...
files/rxjs/2.4.9/rx.all.compat.js
alexmojaki/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...