path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
client/components/Layout/Layout.js
hcngo/craft-exercise-intuit
/** * ASP.NET Core Starter Kit (https://dotnetreact.com) * * Copyright © 2014-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; import Header from './Header';...
src/svg-icons/action/perm-camera-mic.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPermCameraMic = (props) => ( <SvgIcon {...props}> <path d="M20 5h-3.17L15 3H9L7.17 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h7v-2.09c-2.83-.48-5-2.94-5-5.91h2c0 2.21 1.79 4 4 4s4-1.79 4-4h2c0 2.97-2.17 5.43-5 ...
app/src/modules/User/components/TestComp/TestComp.js
betofigueiredo/homelibraries.org
import React from 'react'; // CSS import CSSModules from 'react-css-modules'; import styles from './style.module.sass'; const TestComp = () => ( <div className="grid-container full" data-test="mybooks-render"> <div className="grid-x"> <div className="medium-12 cell"> <div styleName="top-bar">TestComp</div> ...
ajax/libs/flocks.js/0.16.16/flocks.min.js
extend1994/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...
js/jquery-1.8.3.min.js
rdlh/typeanywhere
/*! jQuery v1.8.3 jquery.com | jquery.org/license */ (function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==...
packages/accounts-base/accounts_client.js
esteedqueen/meteor
// @summary Constructor for AccountsClient instances. Available only on // the client for now, though server code might also want to // create a client connection to an accounts server. // @locus Client // @param options {Object} an object with fields: // - connection {Object} Optional DDP connection ...
ajax/libs/forerunnerdb/1.3.928/fdb-legacy.min.js
joeyparrish/cdnjs
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex...
src/svg-icons/device/wallpaper.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceWallpaper = (props) => ( <SvgIcon {...props}> <path d="M4 4h7V2H4c-1.1 0-2 .9-2 2v7h2V4zm6 9l-4 5h12l-3-4-2.03 2.71L10 13zm7-4.5c0-.83-.67-1.5-1.5-1.5S14 7.67 14 8.5s.67 1.5 1.5 1.5S17 9.33 17 8.5zM20 2h-...
ajax/libs/forerunnerdb/1.3.773/fdb-core+views.js
extend1994/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
examples/todomvc/containers/Root.js
tschaub/redux
import React, { Component } from 'react'; import TodoApp from './TodoApp'; import { createStore, combineReducers } from 'redux'; import { Provider } from 'react-redux'; import rootReducer from '../reducers'; const store = createStore(rootReducer); export default class Root extends Component { render() { return ...
test/integration/Table/ArrayHeaderTable.spec.js
ichiohta/material-ui
/* eslint-env mocha */ import React from 'react'; import PropTypes from 'prop-types'; import {mount} from 'enzyme'; import {assert} from 'chai'; import getMuiTheme from 'src/styles/getMuiTheme'; import ArrayHeaderTable from './ArrayHeaderTable'; function getHeaderContent(wrapper) { const headers = wrapper.find('Tabl...
elements/G.js
udfalkso/react-native-svg
import React from 'react'; import createReactNativeComponentClass from 'react-native/Libraries/Renderer/src/renderers/native/createReactNativeComponentClass'; import Shape from './Shape'; import {pathProps} from '../lib/props'; import {GroupAttributes} from '../lib/attributes'; import extractProps from '../lib/extract/...
src/svg-icons/communication/vpn-key.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationVpnKey = (props) => ( <SvgIcon {...props}> <path d="M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 ...
app/Resources/js/components/layout.js
Kishlin/Ehub
import React from 'react'; class Layout extends React.Component { render() { return ( <div>Hello world !</div> ); } } export default Layout;
server/sonar-web/src/main/js/apps/permission-templates/components/PermissionCell.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/components/NotFound/NotFound.js
TestKitt/TestKittUI
import React from 'react' import InterstitialMessage from 'components/InterstitialMessage' let NotFound = (props) => ( <InterstitialMessage message="Oh dear! That page doesn't exist" image="/not_found.png" /> ) export default NotFound
lib/ModalFooter/stories/ModalFooterExample.js
folio-org/stripes-components
/** * Modal: With ModalFooter component */ import React from 'react'; import { action } from '@storybook/addon-actions'; import ModalFooter from '../ModalFooter'; import Modal from '../../Modal'; import Button from '../../Button'; export default () => { const footer = ( <ModalFooter> <Button but...
packages/material-ui-icons/src/FileCopyRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M15 1H4c-1.1 0-2 .9-2 2v13c0 .55.45 1 1 1s1-.45 1-1V4c0-.55.45-1 1-1h10c.55 0 1-.45 1-1s-.45-1-1-1zm.59 4.59l4.83 4.83c.37.37.58.88.58 1.41V21c0...
ajax/libs/primereact/7.0.0-rc.1/card/card.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { ObjectUtils, classNames } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _defineProperties(target, props) { for (var ...
src/components/header/index.js
VictorQD/react-pdf-viewer
import React from 'react'; import { Link } from 'react-router'; import NavLink from './main_link'; const Header = () => ( <div className='page-header raised frn aic jcs w-max'> <div className='logo-wrapper fn m_r-20'> <Link to='/'> <div className='main-logo'> <img className='img-fit' al...
files/angular.google-maps/2.4.0/angular-google-maps.js
abishekrsrikaanth/jsdelivr
/*! angular-google-maps 2.4.0 2016-09-19 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, _, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby granted...
html/jquery.js
anneomcl/ChessLibrary
/*! * jQuery JavaScript Library v1.7.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. ...
packages/@lyra/default-layout/src/components/NotFound.js
VegaPublish/vega-studio
import React from 'react' import {StateLink} from 'part:@lyra/base/router' export default function NotFound(props) { return ( <div> <h2>Page not found</h2> {props.children} <StateLink toIndex>Go to index</StateLink> </div> ) }
src/svg-icons/editor/monetization-on.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorMonetizationOn = (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 2zm1.41 16.09V20h-2.67v-1.93c-1.71-.36-3.16-1.46-3.27-3.4h1.96c.1 1.05.82 1.87 2...
docs/src/sections/BadgeSection.js
SSLcom/Bootsharp
import React from 'react'; import Anchor from '../Anchor'; import PropTable from '../PropTable'; import ReactPlayground from '../ReactPlayground'; import Samples from '../Samples'; export default function BadgeSection() { return ( <div className="bs-docs-section"> <h2 className="page-header"> <Anc...
src/components/products/products-add.js
Xabadu/VendOS
import React, { Component } from 'react'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import { reduxForm } from 'redux-form'; import Select from 'react-select'; import { createProduct, getSuppliers, getCategories, uploadProductImages, uploadProductCategoryImage } from '../../actions/prod...
src/svg-icons/action/euro-symbol.js
lawrence-yu/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionEuroSymbol = (props) => ( <SvgIcon {...props}> <path d="M15 18.5c-2.51 0-4.68-1.42-5.76-3.5H15v-2H8.58c-.05-.33-.08-.66-.08-1s.03-.67.08-1H15V9H9.24C10.32 6.92 12.5 5.5 15 5.5c1.61 0 3.09.59 4.23 1.57L21 ...
js/components/icon/index.js
yasster/Divide-react-native
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Container, Header, Title, Content, Button, Icon, View } from 'native-base'; import { openDrawer } from '../../actions/drawer'; import styles from './styles'; class NHForm extends Component { // eslint-disable-line static pr...
imports/ui/home/components/committees.js
dououFullstack/atomic
import React from 'react'; import {browserHistory} from 'react-router'; import Loading from '/imports/ui/loading'; import Form from './committee_form'; import Alert from 'react-s-alert'; class ExpertList extends React.Component { constructor(props) { super(props); this.state = { title: '《中国核电》理事会', ...
ajax/libs/forerunnerdb/1.4.61/fdb-core.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...
latest/src/components/ContextMenu.js
nathan-k/GamePainter
import React from 'react'; import {connect} from 'react-redux'; import {removeObject, showContextMenu, showEventManager} from '../actions'; /** Renders a context menu */ export default class ContextMenu extends React.Component{ static propTypes = { objectId: React.PropTypes.string.isRequired, x: ...
until_201803/react/bigin/money_book/src/index.js
shofujimoto/examples
import React from 'react' import ReactDOM from 'react-dom' //コンポーネントに渡す引数をチェックするモジュール import PropTypes from 'prop-types' import './index.css' const MoneyBook = () => { const books = [ {date: "1/1", item: "お年玉", amount: 8000}, {date: "1/3", item: "ケーキ", amount: -500}, {date: "2/1", item: "小遣い", amount: 3...
ajax/libs/vega/3.0.0-beta.31/vega.min.js
jonobr1/cdnjs
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.vega=t.vega||{})}(this,function(t){"use strict";function e(t){var e,n,r,i,a,o,u,s,f=t.maxbins||20,c=t.base||10,l=Math.log(c),h=t.divide||[5,2],d=t.extent[0],p=t.extent[1],g=p-d;...
test/social-icons.spec.js
AVVS/react-social-icons
/* global describe, it, beforeEach */ import 'should'; import React from 'react'; import Mask from '../src/mask'; import SocialIcon from '../src/social-icon'; import SocialIcons from '../src/social-icons'; import { mount } from 'enzyme'; describe('< SocialIcons />', () => { const urls = ['http://pinterest.com', 'ht...
src/svg-icons/places/fitness-center.js
frnk94/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 ...
app/jsx/files/FolderTree.js
venturehive/canvas-lms
/* * Copyright (C) 2015 - 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...
docs/app/Examples/elements/Label/Variations/LabelExampleSize.js
ben174/Semantic-UI-React
import _ from 'lodash' import React from 'react' import { Label } from 'semantic-ui-react' const sizes = ['mini', 'tiny', 'small', 'medium', 'large', 'big', 'huge', 'massive'] const LabelExampleSize = () => ( <div> {sizes.map(size => ( <Label key={size} size={size}> {_.capitalize(size)} </La...
src/index.js
washoff/washoff.se
import Aphrodite from 'aphrodite' import FooterFactory from './components/footer/renderer' import HoristontalListFactory from './components/horisontal-list/renderer' import HoristontalListItemFactory from './components/horisontal-list-item/renderer' import LinkFactory from './components/link/renderer' /* NOTE: ...
app/javascript/src/components/dashboard/card.js
michelson/chaskiq
import React from 'react' export default function Card ({ title, children }) { return <div> { title && <p className="text-lg leading-6 font-medium text-gray-900 dark:text-gray-100 truncate"> {title} </p> } <p>{children}</p> </div> }
src/components/HeaderGeneric.js
asunny72/IdeaNation
import React from 'react' const HeaderGeneric = (props) => ( <header id="header"> <h1>Notes</h1> {/* <p>My ideas</p> */} </header> ) export default HeaderGeneric
packages/strapi-admin/files/public/app/components/NotificationsContainer/index.js
lucusteen/strap
/** * * NotificationsContainer * */ import React from 'react'; import ReactCSSTransitionGroup from 'react/lib/ReactCSSTransitionGroup'; import Notification from 'components/Notification'; import styles from './styles.scss'; class NotificationsContainer extends React.Component { // eslint-disable-line react/prefer-st...
packages/material-ui-icons/src/LocalAirport.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M21 16v-2l-8-5V3.5c0-.83-.67-1.5-1.5-1.5S10 2.67 10 3.5V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z" /><path fill="none" d="M0 0h24v24H0z" /></React.Fragment> , 'Loc...
app/features/settings/RangeField.js
Kaniwani/KW-Frontend
import React from 'react'; import PropTypes from 'prop-types'; import { Block, Label, Note } from './styles'; const RangeField = ({ input, min, max, step, label, note, display }) => ( <Block> <Label htmlFor={input.name}> <span>{label || input.name}</span> <input id={input.name} type="range" {...inpu...
docs/src/Anchor.js
brentertz/react-bootstrap
import React from 'react'; const Anchor = React.createClass({ propTypes: { id: React.PropTypes.string }, render() { return ( <a id={this.props.id} href={'#' + this.props.id} className='anchor'> <span className='anchor-icon'>#</span> {this.props.children} </a> ); } }); e...
packages/material-ui-icons/src/AccessibilitySharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 2c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 7h-6v13h-2v-6h-2v6H9V9H3V7h18v2z" /> , 'AccessibilitySharp');
docs/app/Examples/elements/Icon/Variations/IconExampleLink.js
mohammed88/Semantic-UI-React
import React from 'react' import { Icon } from 'semantic-ui-react' const IconExampleLink = () => ( <div> <Icon link name='close' /> <Icon link name='help' /> </div> ) export default IconExampleLink
src/react-ultimate-pagination.js
ultimate-pagination/react-ultimate-pagination
import React from 'react'; import PropTypes from 'prop-types' import {getPaginationModel, ITEM_TYPES} from 'ultimate-pagination'; const renderItemComponentFunctionFactory = (itemTypeToComponent, currentPage, onChange) => { const onItemClickFunctionFactory = ({ value, isDisabled }) => { return () => { if (!...
ajax/libs/forerunnerdb/1.3.424/fdb-core.js
Amomo/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...
jenkins-design-language/src/js/components/material-ui/svg-icons/communication/contact-phone.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const CommunicationContactPhone = (props) => ( <SvgIcon {...props}> <path d="M22 3H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1....
node_modules/react-native/packager/react-packager/src/Bundler/index.js
ddiaz914/easynoms
/** * 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/index.js
sxyhappy/mi-srv-fe
import React from 'react'; import ReactDOM from 'react-dom'; import { RootRouter as App } from './router'; import './styles/core.scss'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render(<App />, document.getElementById('root')); registerServiceWorker();
docs/app/animations/index.js
Sandreu/react-mf-modal
import React from 'react'; import ModalService from 'react-mf-modal'; import AnimatedContainer from './animated-container'; import AnimatedDialog from './animated-dialog'; import AnimatedSidebar from '!babel!../webpack/demo-loader!./animated-sidebar'; import AnimatedBackdrop from './animated-backdrop'; import animatio...
js/components/pages/NotFound.react.js
wuyuanyi135/react-template
import React, { Component } from 'react'; import { Link } from 'react-router'; class NotFound extends Component { render() { return ( <article> <h1>Page not found..</h1> <Link to="/" className="btn">Home</Link> </article> ); } } export default NotFound;
gatsby-markdown-personal-website/src/components/Testimonials/index.js
lrsnider/lrsnider.github.io
import React from 'react'; import { useStaticQuery, graphql } from 'gatsby'; import Img from 'gatsby-image'; import Loadable from '@loadable/component'; import Container from 'components/ui/Container'; import TitleSection from 'components/ui/TitleSection'; import FormatHtml from 'components/utils/FormatHtml'; import ...
src/containers/video/VideoPlayer.js
elarasu/roverz-chat
import React, { Component } from 'react'; import { // StatusBar, View, TouchableOpacity, StyleSheet, // Dimensions, ActivityIndicator, } from 'react-native'; import { Actions } from 'react-native-router-flux'; import { Icon } from 'react-native-elements'; import Video from 'react-native-video-player'; impor...
node_modules/jstransform/visitors/__tests__/react-display-name-test.js
NickingMeSpace/questionnaire
/** * 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. * * @emails react...
packages/@lyra/vision/src/components/VisionGui.js
VegaPublish/vega-studio
import React from 'react' import PropTypes from 'prop-types' import queryString from 'query-string' import {storeState, getState} from '../util/localState' import parseApiQueryString from '../util/parseApiQueryString' import tryParseParams from '../util/tryParseParams' import DelayedSpinner from './DelayedSpinner' impo...
src/docs/components/samples/LazyTable.js
grommet/grommet-docs
// (C) Copyright 2014-2017 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import Table from 'grommet/components/Table'; import TableRow from 'grommet/components/TableRow'; const DATA = [ {uid: 1, name: 'Alan', mood: 'happy'}, {uid: 2, name: 'Chris', mood: 'cool'}, {uid: 3, n...
src/assets/js/react/components/Template/TemplateActivateButton.js
GravityPDF/gravity-forms-pdf-extended
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { selectTemplate } from '../../actions/templates' import { withRouter } from 'react-router-dom' /** * Renders the button used to trigger the current active PDF template * On click it triggers our Redux action. ...
ajax/libs/yui/3.10.0/datatable-body/datatable-body-debug.js
SpencerCDixon/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
src/Media.js
mmarcant/react-bootstrap
import classNames from 'classnames'; import React from 'react'; import elementType from 'react-prop-types/lib/elementType'; import MediaBody from './MediaBody'; import MediaHeading from './MediaHeading'; import MediaLeft from './MediaLeft'; import MediaList from './MediaList'; import MediaListItem from './MediaListIte...
public/js/components/chat/ChatPrevious.react.js
rajikaimal/Coupley
import React from 'react'; import List from 'material-ui/lib/lists/list'; import ListItem from 'material-ui/lib/lists/list-item'; import Divider from 'material-ui/lib/divider'; import Avatar from 'material-ui/lib/avatar'; import Colors from 'material-ui/lib/styles/colors'; import IconButton from 'material-ui/lib/icon-b...
src/Menus/MainAppBar.js
kevinleclair1/pitch_fx_visualizer
import React from 'react'; import MenuIcon from 'material-ui/svg-icons/navigation/menu'; import { Toolbar, ToolbarGroup, ToolbarSeparator, ToolbarTitle } from 'material-ui/Toolbar'; import { createSelector } from 'reselect'; import createContainer from '../containers/GenericContainer.js'; import { actions as sidebar...
ajax/libs/clappr/0.0.74/clappr.js
pvnr0082t/cdnjs
require=(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)...
src/components/Arrow/index.js
tombatossals/energy
import React from 'react' import arrow from './arrow.svg' import './styles.css' const Arrow = () => <div className='Arrow'> <img role='presentation' src={arrow} /> </div> export default Arrow
app/src/containers/Home/index.js
kshvmdn/github-list
import React, { Component } from 'react'; import './index.css' import Form from './../../components/Form'; class Home extends Component { render() { return ( <div className="app--body"> {/* <PageHead> <h1>Welcome.</h1> <h3>Begin by entering a repository.</h3> </PageHead...
examples/with-jsconfig-paths/src/App.js
jaredpalmer/razzle
import './App.css'; import React from 'react'; import Extra from 'extra/extra'; const App = () => <div>Welcome to Razzle.<Extra /></div>; export default App;
ajax/libs/yui/3.1.0pr2/event-custom/event-custom-base-debug.js
menuka94/cdnjs
YUI.add('event-custom-base', function(Y) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module e...
src/docs/examples/ProgressBar/Example70Percent.js
Manouli/styleguide
import React from 'react'; import ProgressBar from 'ps-react/ProgressBar'; /** 70% progress */ export default function Example70Percent() { return <ProgressBar percent={70} width={150} /> }
resources/src/js/components/Sidebar/components/RecentlyPlayed.js
aberon10/thermomusic.com
'use strict'; // Dependencies import React from 'react'; // Components import NavListItems from './NavListItems'; class RecentlyPlayed extends React.Component { constructor(props) { super(props); this.status = { links: [] }; } componentDidMount() { return; } render() { return ( <div className=...
fiddles/react/template/index.js
bradyhouse/house
import 'bootstrap/dist/css/bootstrap.min.css'; import $ from 'jquery'; import Popper from 'popper.js'; import 'bootstrap/dist/js/bootstrap.bundle.min'; import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import App from './App'; import reportWebVitals from './reportWebVitals'; ReactDOM.r...
ui/core/src/docs/CodeBlock.js
iporaitech/pwr2-docker
// file: docs/CodeBlock.js import React from 'react'; import hljs from 'highlight.js' class CodeBlock extends React.Component{ componentDidMount() { this.highlightCode(); } componentDidUpdate() { this.highlightCode(); } highlightCode() { hljs.highlightBlock(this.refs.code); } render() { ...
packages/material-ui-icons/src/AccessAlarmsSharp.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="M22 5.7l-4.6-3.9-1.3 1.5 4.6 3.9L22 5.7zM7.9 3.4L6.6 1.9 2 5.7l1.3 1.5 4.6-3.8zM12.5 8H11v6l4.7 2.9.8-1.2-4-2.4V8zM12 4c-5 0-9 4-9 9s4 9 9 9 ...
apps/marketplace/components/Opportunity/OpportunityInfoCard.js
AusDTO/dto-digitalmarketplace-frontend
import React from 'react' import { Link } from 'react-router-dom' import PropTypes from 'prop-types' import { isBefore, parse } from 'date-fns' import ClosedDate from 'shared/ClosedDate' import { rootPath } from 'marketplace/routes' import styles from './OpportunityInfoCard.scss' const OpportunityInfoCard = props => {...
src/components/UIShell/__tests__/SideNavSwitcher-test.js
carbon-design-system/carbon-components-react
/** * 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 React from 'react'; import { mount } from 'enzyme'; import SideNavSwitcher from '../SideNavSwitcher'; describe('SideNavSwitcher', () ...
node_modules/redux-devtools-log-monitor/src/LogMonitorEntryAction.js
mjchamoures/personalPortfolio
import React, { Component } from 'react'; import JSONTree from 'react-json-tree'; const styles = { actionBar: { paddingTop: 8, paddingBottom: 7, paddingLeft: 16 }, payload: { margin: 0, paddingLeft: 16, overflow: 'auto' } }; export default class LogMonitorAction extends Component { c...
packages/mui-material/src/StepConnector/StepConnector.js
oliviertassinari/material-ui
import * as React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import { unstable_composeClasses as composeClasses } from '@mui/base'; import capitalize from '../utils/capitalize'; import styled from '../styles/styled'; import useThemeProps from '../styles/useThemeProps'; import StepperCont...
templates/spec/Component.js
willmendesneto/generator-reactor
'use strict'; import <%= classedName %> from 'components/<%= classedFileName %>'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; describe('<%= classedName %>', () => { let renderedComponent; beforeEach(() => { let node = document.createElement('...
ajax/libs/yasqe/1.5.2/yasqe.bundled.min.js
jasonpang/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASQE=e()}}(function(){var e;return function t(e,i,r)...
1.YouTube-API-Search/src/components/search-bar.js
Branimir123/Learning-React
import React, { Component } from 'react'; class SearchBar extends Component { constructor(props){ super(props); this.state = { term: 'Search here' }; } render() { return ( <div className="search-bar"> <input value={this.state.term} onCh...
src/components/layout/paper.js
ThrivingKings/circle-ui
import React from 'react' import { css } from 'glamor' const Paper = ({ children, ...props }) => ( <div {...styles.paper} {...props}> { children } </div> ) const styles = { paper: css({ backgroundColor: 'white', padding: 15 }) } export default Paper
ajax/libs/material-ui/5.0.0-alpha.14/TableCell/TableCell.min.js
cdnjs/cdnjs
import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import _extends from"@babel/runtime/helpers/esm/extends";import*as React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";import capitalize from"../utils/ca...
examples/cabler/src/js/components/Configuration.js
rstuven/grommet
// (C) Copyright 2014-2015 Hewlett-Packard Development Company, L.P. var React = require('react'); var Article = require('grommet/components/Article'); var Header = require('grommet/components/Header'); var Title = require('grommet/components/Title'); var Footer = require('grommet/components/Footer'); var Form = requi...
client/components/charts/category-charts.js
ZeHiro/kresus
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import c3 from 'c3'; import { assert, round2, translate as $t } from '../../helpers'; import { get } from '../../store'; import ChartComponent from './chart-base'; import DiscoveryMessage from '../ui/discovery-messa...
components/FollowList.js
stevenctl/tweebot-ui
import React from 'react'; import HashtagList from './HashtagList'; export default class FollowList extends React.Component{ componentWillMount(){ } render(){ let heartIcon = <i className="glyphicon glyphicon-heart"/>; let heading = <div>{heartIcon} Follow ...
src/registerServiceWorker.js
michaelghinrichs/school-working-days-calculator
// In production, we register a service worker to serve assets from local cache. // This lets the app load faster on subsequent visits in production, and gives // it offline capabilities. However, it also means that developers (and users) // will only see deployed updates on the "N+1" visit to a page, since previously...
node_modules/react-bootstrap/es/InputGroupAddon.js
geng890518/editor-ui
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
react-boilerplate/internals/templates/containers/HomePage/messages.js
Sakuyakun/Yorha-Experiment
/* * HomePage Messages * * This contains all the text for the HomePage component. */ import { defineMessages } from 'react-intl'; export default defineMessages({ header: { id: 'app.components.HomePage.header', defaultMessage: 'This is HomePage component!', }, });
src/components/TopContainer.js
cindyqian/BoardGames
import React from 'react'; /** * */ export default class TopContainer extends React.Component{ /** * render * @return {ReactElement} markup */ render(){ return ( <div> <div id="top"> {this.props.children} </div> </div> ) } }
packages/fela-identifier/src/__tests__/identifier-test.js
risetechnologies/fela
import React from 'react' import { combineRules, createRenderer } from 'fela' import { renderToString } from 'fela-tools' import { connect } from 'react-fela' import monolithic from 'fela-monolithic' import { createSnapshot } from 'jest-react-fela' import createIdentifier from '../index' describe('Fela identifier e...
ajax/libs/radium/0.13.4/radium.min.js
redmunds/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.Radium=t(require("react")):e.Radium=t(e.React)}(this,function(e){return function(e){function t(n){if(r[n])return r[n].exports;var...
stories/datatable.stories.js
VulcanJS/Vulcan
import React from 'react'; import { storiesOf } from '@storybook/react'; import { Components } from 'meteor/vulcan:core'; import 'meteor/vulcan:core'; import { withKnobs, text, boolean, select, number, object } from '@storybook/addon-knobs'; import { action } from '@storybook/addon-actions'; const DatatableContentsS...
actor-apps/app-web/src/app/components/ActivitySection.react.js
Dreezydraig/actor-platform
import React from 'react'; import classNames from 'classnames'; import { ActivityTypes } from 'constants/ActorAppConstants'; import ActivityStore from 'stores/ActivityStore'; import UserProfile from 'components/activity/UserProfile.react'; import GroupProfile from 'components/activity/GroupProfile.react'; const getS...
app/javascript/mastodon/components/dropdown_menu.js
abcang/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import IconButton from './icon_button'; import Overlay from 'react-overlays/lib/Overlay'; import Motion from '../features/ui/util/optional_motion'; import spring from 'react-motion/lib/spring'; imp...
ajax/libs/primereact/7.0.0/splitbutton/splitbutton.esm.min.js
cdnjs/cdnjs
import e,{Component as t}from"react";import{Button as n}from"primereact/button";import{classNames as r,ObjectUtils as i,ZIndexUtils as o,DomHandler as l,ConnectedOverlayScrollHandler as s,UniqueComponentId as a}from"primereact/utils";import{CSSTransition as u}from"primereact/csstransition";import{Portal as c}from"prime...
jenkins-design-language/src/js/components/material-ui/svg-icons/navigation/first-page.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const NavigationFirstPage = (props) => ( <SvgIcon {...props}> <path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"/> </SvgIcon> ); NavigationFirstPage.displayName = 'NavigationFirstPage'; NavigationFirstPage.muiName = 'SvgIcon'; e...
ajax/libs/forerunnerdb/1.3.385/fdb-core.js
sreym/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
js/setup.js
fahrulrizall/projectuts
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import App from './App'; import configureStore from './configureStore'; function setup():React.Component { class Root extends Component { constructor() { super(); this.state = { isLoading: false, store...
packages/mui-icons-material/lib/esm/HdrPlusRounded.js
oliviertassinari/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon([/*#__PURE__*/_jsx("path", { d: "M8.5 14.5h2v1h-2zm6-7H16v3h-1.5z" }, "0"), /*#__PURE__*/_jsx("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 13.5c0 .6-...
ajax/libs/F2/1.2.1/f2.no-easyXDM.min.js
JGallardo/cdnjs
/*! F2 - v1.2.2 - 08-22-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...