path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
examples/react-router/src/components/WelcomeComponent.js
stylesuxx/generator-react-webpack-redux
'use strict'; import React from 'react'; require('styles//Welcome.css'); class WelcomeComponent extends React.Component { render() { let welcome = 'Sorry, not logge in.'; if(this.props.login) { welcome = 'You are logged in'; } return ( <div className="welcome-component"> {welcom...
src/DateTimePickerDate.js
francisPlaymore/react-bootstrap-datetimepicker
import React, { Component, PropTypes } from "react"; import DateTimePickerDays from "./DateTimePickerDays"; import DateTimePickerMonths from "./DateTimePickerMonths"; import DateTimePickerYears from "./DateTimePickerYears"; export default class DateTimePickerDate extends Component { static propTypes = { subtract...
actor-apps/app-web/src/app/components/modals/create-group/Form.react.js
suxinde2009/actor-platform
import _ from 'lodash'; import Immutable from 'immutable'; import keymirror from 'keymirror'; import React from 'react'; import { Styles, TextField, FlatButton } from 'material-ui'; import CreateGroupActionCreators from 'actions/CreateGroupActionCreators'; import ContactStore from 'stores/ContactStore'; import Cont...
src/routes/topicPage/index.js
xugy0926/shuoriyu
import React from 'react'; import TopicPage from './TopicPage'; import fetch from '../../core/fetch'; import { host } from '../../config'; import * as topicService from '../../services/topicService'; export default { path: '/topic/:tid', async action(context, {tid}) { return <TopicPage topicId={tid}/>; }, ...
ajax/libs/shariff/1.4.7/shariff.complete.js
magoni/cdnjs
/* * shariff - v1.4.5 - 02.12.2014 * https://github.com/heiseonline/shariff * Copyright (c) 2014 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli * Licensed under the MIT <http://www.opensource.org/licenses/mit-license.php> license */ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){...
examples/with-url-object-routing/pages/about.js
nelak/next.js
import React from 'react' import Link from 'next/link' import Router from 'next/router' const href = { pathname: '/about', query: { name: 'zeit' } } const as = { pathname: '/about/zeit', hash: 'title-1' } const handleClick = () => Router.push(href, as) export default (props) => ( <div> <h1>About {prop...
packages/dom-event-testing-library/touchStore.js
ericyang321/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. * * @emails react-core */ 'use strict'; /** * Touch events state machine. * * Keeps track of the active pointers and allows the...
app/javascript/mastodon/components/extended_video_player.js
mimumemo/mastodon
import React from 'react'; import PropTypes from 'prop-types'; export default class ExtendedVideoPlayer extends React.PureComponent { static propTypes = { src: PropTypes.string.isRequired, alt: PropTypes.string, width: PropTypes.number, height: PropTypes.number, time: PropTypes.number, contr...
resources/assets/bower_components/rxjs/dist/rx.compat.js
docit/core
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'function': true, 'object': true }; var freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && expo...
src/components/container/ProductPage/ProductPage.js
AurimasSk/DemoStore
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import * as productActions from "../../../actions/productActions"; import ProductDetails from '../../presentational/ProductDetails/ProductDetails'; class ProductPage extends...
app/containers/HomePage/content.js
ledminh/css-pages
import styled from 'styled-components'; import React from 'react'; const Style = styled.div` width: 70%; min-width: 400px; margin: auto; margin-top: 25px; border: 2px solid black; border-radius: 10px; padding: 10px; `; const Content = styled.div` border: 1px solid black; padding: 10px; width: 100%...
src/js/components/icons/base/Plan.js
odedre/grommet-final
/** * @description Plan SVG Icon. * @property {string} a11yTitle - Accessibility Title. If not set uses the default title of the status icon. * @property {string} colorIndex - The color identifier to use for the stroke color. * If not specified, this component will default to muiTheme.palette.textColor. * @prope...
__tests__/index.android.js
HossamSamir/instagramClone
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
pootle/static/js/browser/components/NumberPill.js
iafan/zing
/* * Copyright (C) Zing contributors. * * This file is a part of the Zing 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 React from 'react'; import { toLocaleString } from 'ut...
src/index.js
filtudo/eebook
import './index.css' import React from 'react' import {render} from 'react-dom' import App from './App' render(<App/>, document.querySelector('#app'))
packages/material-ui-icons/src/Receipt.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1...
app/javascript/flavours/glitch/features/compose/components/character_counter.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { length } from 'stringz'; export default class CharacterCounter extends React.PureComponent { static propTypes = { text: PropTypes.string.isRequired, max: PropTypes.number.isRequired, }; checkRemainingText (diff) { if (diff < 0)...
app/javascript/mastodon/features/community_timeline/components/column_settings.js
d6rkaiz/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { injectIntl, FormattedMessage } from 'react-intl'; import SettingToggle from '../../notifications/components/setting_toggle'; export default @injectIntl class ColumnSettings extends React....
docs/src/app/components/Carbon.js
manchesergit/material-ui
import React from 'react'; require('./Carbon.css'); class Carbon extends React.Component { componentDidMount() { if (process.env.NODE_ENV !== 'production') { return; } const script = document.createElement('script'); script.setAttribute('async', ''); script.src = '//cdn.carbonads.co...
src/main/webapp/resources/modules/table/MyCards.js
cwoolner/flex-poker
import React from 'react' import CardData from './CardData' export default ({myLeftCardId, myRightCardId}) => { return ( <div> <img className={"my-cards"} src={CardData[myLeftCardId]} /> <img className={"my-cards"} src={CardData[myRightCardId]} /> </div> ) }
public/js/cat_source/es6/components/outsource/OpenJobBox.js
matecat/MateCat
import React from 'react' class OpenJobBox extends React.Component { constructor(props) { super(props) } openJob() { return this.props.url } getUrl() { return ( window.location.protocol + '//' + window.location.host + this.props.url ) } render() { return ( <div classNam...
src/components/PluginContainer.js
metasfresh/metasfresh-webui-frontend
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import { push } from 'react-router-redux'; import Container from '../components/Container'; const pluginWrapper = function pluginWrapper(WrappedComponent, Chi...
tech_stack/index.ios.js
DaveWJ/LearningReact
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class tech_stack extends Component { render() { return ( <View style={styles.containe...
packages/reactor-kitchensink/src/examples/FormFields/ToggleField/ToggleField.js
dbuhrman/extjs-reactor
import React from 'react'; import { FormPanel, ToggleField } from '@extjs/ext-react'; export default function ToggleFieldExample() { return ( <FormPanel shadow defaults={{ padding: '0 10'}} padding="20"> <ToggleField boxLabel="On" value={true}/> <ToggleField boxLabel="Off" value={fa...
test/fixtures-es6-react-project/public/app.js
herdemir/systemjs-hot-reloader
import React from 'react' import ReactDOM from 'react-dom/server' import injectTapEventPlugin from 'react-tap-event-plugin' import Home from './routes/home' // Needed for onTouchTap // Can go away when react 1.0 release // Check this repo: // https://github.com/zilverline/react-tap-event-plugin injectTapEventPlugin() ...
Examples/UIExplorer/AlertIOSExample.js
daveenguyen/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, ...
client/acp/src/view/display/section-loading.js
NicolasSiver/nodebb-plugin-ns-awards
import React from 'react'; export default class SectionLoading extends React.Component { render() { return ( <div className="section-loading"> <div className="section-loading__animation"> <svg viewBox="0 0 100 100"> <circle cx="50" cy...
ajax/libs/onsen/2.0.0-alpha.14/js/onsenui.min.js
hanbyul-here/cdnjs
/*! onsenui v2.0.0-alpha.14 - 2015-11-10 */ function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a fun...
docs/src/app/components/pages/components/Card/Page.js
ichiohta/material-ui
import React from 'react'; import Title from 'react-title-component'; import CodeExample from '../../../CodeExample'; import PropTypeDescription from '../../../PropTypeDescription'; import MarkdownElement from '../../../MarkdownElement'; import cardReadmeText from './README'; import cardExampleWithAvatarCode from '!r...
molgenis-core-ui/src/main/javascript/modules/react-components/jobs/JobContainer.js
joerivandervelde/molgenis
/** * The JobContainer retrieves progress for a single Job execution and renders it * using the Job component. * * @module JobContainer * * @exports JobContainer factory */ import React from 'react'; import RestClient from "rest-client/RestClientV2"; import { Spinner } from '../Spinner' import $ from 'jquery'; ...
presentation/game/components/GridContainer.js
haampie/2048-react-slides
import React, { Component } from 'react'; export default class GridContainer extends Component { render() { return ( <div className="grid-container"> <div className="grid-row"> <div className="grid-cell"></div> <div className="grid-cell"></div> <div className="grid-cel...
ajax/libs/forerunnerdb/1.3.659/fdb-all.min.js
keicheng/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...
packages/react-error-overlay/src/components/CodeBlock.js
johnslay/create-react-app
/** * Copyright (c) 2015-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /* @flow */ import React from 'react'; import { redTransparent, yellowTransparent } from '../styles'; const _preStyle = { display: 'b...
src/svg-icons/communication/live-help.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationLiveHelp = (props) => ( <SvgIcon {...props}> <path d="M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 16h-2v-2h2v2zm2.07-7.75l-.9.92C13.45 11.9 13 12.5 13...
src/withSSR.js
i18next/react-i18next
import React from 'react'; import { useSSR } from './useSSR'; import { composeInitialProps } from './context'; import { getDisplayName } from './utils'; export function withSSR() { return function Extend(WrappedComponent) { function I18nextWithSSR({ initialI18nStore, initialLanguage, ...rest }) { useSSR(in...
packages/cf-component-dropdown/src/Dropdown.js
mdno/mdno.github.io
import React from 'react'; import PropTypes from 'prop-types'; import { canUseDOM } from 'exenv'; import { createComponent } from 'cf-style-container'; import DropdownRegistry from './DropdownRegistry'; const styles = ({ theme, align }) => ({ position: 'absolute', zIndex: 1, minWidth: '10.66667rem', margin: '...
src/svg-icons/maps/rate-review.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsRateReview = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 14v-2.47l6.88-6.88c.2-.2.51-.2.71 0l1.77 1.77c.2.2.2.51 0 .71L8.47 14H6zm1...
ajax/libs/forerunnerdb/1.3.34/fdb-core.js
froala/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...
src/ui/@state/@region/list/CountyList.component.js
andest01/trout-maps
import React from 'react' import classes from './List.scss' import { isEmpty } from 'lodash' // import BubbleComponent from './Bubble.component' // import StreamItemContainer from './streamItem/StreamItem.container' import StreamListComponent from './StreamList.component' const CountyListComponent = React.createClass({...
src/files/info-boxes/InfoBoxes.js
ipfs/webui
import React from 'react' import PropTypes from 'prop-types' import CompanionInfo from './companion-info/CompanionInfo' import AddFilesInfo from './add-files-info/AddFilesInfo' const InfoBoxes = ({ isRoot, isCompanion, filesExist }) => ( <div> { isRoot && isCompanion && <CompanionInfo /> } { isRoot && !files...
src/components/BookFilter.js
scottag99/dreamlibrary
import React from 'react'; import { observer } from 'mobx-react'; import { Checkbox, FormControl, ControlLabel, Row, Col, Radio, FormGroup } from 'react-bootstrap'; export default observer(({store}) => ( <Row> <h3>Find Books</h3> <Col sm={4} lg={3}> <ControlLabel>Filter by Grade Level</ControlLabel> ...
src/svg-icons/action/http.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionHttp = (props) => ( <SvgIcon {...props}> <path d="M4.5 11h-2V9H1v6h1.5v-2.5h2V15H6V9H4.5v2zm2.5-.5h1.5V15H10v-4.5h1.5V9H7v1.5zm5.5 0H14V15h1.5v-4.5H17V9h-4.5v1.5zm9-1.5H18v6h1.5v-2h2c.8 0 1.5-.7 1.5-1.5v-...
ajax/libs/reactable/0.11.2/reactable.js
voronianski/cdnjs
window.React["default"] = window.React; (function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports"], factory); } else if (typeof exports !== "undefined") { factory(exports); } else { var mod = { exports: {} }; factory...
manager/__tests__/index.android.js
dunkvalio/ReactNative
import 'react-native'; import React from 'react'; import Index from '../index.android.js'; // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer'; it('renders correctly', () => { const tree = renderer.create( <Index /> ); });
app/components/specificComponents/CommentaryCard/index.js
romainquellec/cuistot
import React from 'react'; import Rating from 'components/genericComponents/Rating'; import BlockComment from './blockcomment'; import Container from './container'; import SectionHeader from './sectionHeader'; import CommentaryForm from 'components/specificComponents/CommentaryForm'; import AddComment from 'components...
frontend/src/TermDates.js
googleinterns/step78-2020
import React from 'react'; import TextField from '@material-ui/core/TextField'; import {CardContent} from '@material-ui/core'; class TermDates extends React.Component { constructor(props) { super(props); this.handleStartDateChange = this.handleStartDateChange.bind(this); this.handleEndDateChange = this....
src/components/common/svg-icons/action/accessibility.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccessibility = (props) => ( <SvgIcon {...props}> <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"/> </SvgIcon> ); ActionAccessibility = pure(ActionAccessib...
src/components/Interactive/ToolTip/index.js
ndlib/usurper
import React from 'react' import PropTypes from 'prop-types' import { makeId } from 'constants/HelperFunctions' import styles from './style.module.css' const ToolTip = (props) => { const id = makeId(15) return ( <div aria-labelledby={id} className={styles.tooltip}>{props.value} <span role='tooltip' id={...
src/AutoComplete/AutoComplete.spec.js
pomerantsev/material-ui
/* eslint-env mocha */ import React from 'react'; import {assert} from 'chai'; import AutoComplete from './AutoComplete'; import {shallow} from 'enzyme'; import getMuiTheme from '../styles/getMuiTheme'; describe('<AutoComplete />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node) => shallo...
ajax/libs/ember-data.js/1.0.0-beta.15/ember-data.js
dhenson02/cdnjs
(function() { "use strict"; /** @module ember-data */ var ember$data$lib$system$adapter$$get = Ember.get; var ember$data$lib$system$adapter$$errorProps = [ 'description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack' ]; /** ...
src/views/app.js
r-park/soundcloud-redux
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Route, withRouter } from 'react-router-dom'; import { createSelector } from 'reselect'; import { getSearch, searchActions } from 'src/core/search/index'; import AppHeader from './components/app-header'; impor...
packager/react-packager/src/Server/index.js
milieu/react-native
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ 'use strict...
packages/material-ui-icons/legacy/Battery90Outlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fillOpacity=".3" d="M17 5.33C17 4.6 16.4 4 15.67 4H14V2h-4v2H8.33C7.6 4 7 4.6 7 5.33V8h10V5.33z" /><path d="M7 8v12.67C7 21.4 7.6 22 8.33 22h7.33c.74 0 1.34-.6 1.34-1.33V8H7z" /></React.F...
packages/material-ui-icons/src/ThumbDownOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v2c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm0 12l-4.34 4.34L12...
client2/src/components/whiteboard/painting.js
gdomorski/CodeOut
import React, { Component } from 'react'; import ReactDOM from 'react-dom' export default class Painting extends Component { componentDidMount () { let canvas = ReactDOM.findDOMNode(this); let context = canvas.getContext("2d"); let savedImage = new Image(); savedImage.src=this.props.url; context...
Scripts/jquery.mobile-1.3.2.js
afandylamusu/storeO
/*! * jQuery Mobile 1.3.2 * Git HEAD hash: 528cf0e96940644ea644096bfeb913ed920ffaef <> Date: Fri Jul 19 2013 22:17:57 UTC * http://jquerymobile.com * * Copyright 2010, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license. * http://jquery.org/license * */ (function ( root, doc, factory ...
examples/huge-apps/routes/Course/routes/Assignments/components/Sidebar.js
davertron/react-router
import React from 'react'; import { Link } from 'react-router'; class Sidebar extends React.Component { render () { var assignments = COURSES[this.props.params.courseId].assignments return ( <div> <h3>Sidebar Assignments</h3> <ul> {assignments.map(assignment => ( ...
pootle/static/js/auth/components/SignInForm.js
mail-apps/pootle
/* * Copyright (C) Pootle contributors. * * This file is a part of the Pootle project. It is distributed under the GPL3 * or later license. See the LICENSE file for a copy of the license and the * AUTHORS file for copyright and authorship information. */ 'use strict'; import assign from 'object-assign'; import ...
src/View/windows/index.js
gabrielbull/react-desktop
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import Width, { widthPropTypes } from '../../style/width'; import Margin, { marginPropTypes } from '../../style/margin'; import Padding, { paddingPropTypes } from '../../style/padding'; import Alignment, { alignmentPropTypes } from '../../sty...
Ejemplos/react-redux-plantilla-reducida/src/index.js
TheSuperJez/ReactWebAppsCourse
import '../less/main.less'; import _ from 'underscore'; import React from 'react'; import { render } from 'react-dom'; import configureStore from './store'; import {Provider} from 'react-redux'; import { Router, hashHistory } from 'react-router'; import routes from './routes'; window._ = _; const store = configureSt...
app/views/my-achievements/achievements-texts.js
GuenoleK/portfolio
import React from 'react'; class AchievementsTextsRender { renderItSchoolArticleContent() { return( <div className="it-school"> Au sein des écoles, les institutrices sont souvent confrontées à des problèmes logistiques tels que l’utilisation conséquente de papier e...
spec/components/chip.js
VACO-GitHub/vaco-components-library
import React from 'react'; import Avatar from '../../components/avatar'; import Chip from '../../components/chip'; import style from '../style'; class ChipTest extends React.Component { state = { deleted: false }; handleDeleteClick = () => { this.setState({ deleted: true }); }; render () ...
src/app/core/atoms/icon/icons/drydock.js
blowsys/reservo
import React from 'react'; const Drydock = (props) => <svg {...props} viewBox="0 0 24 24"><g><g><polygon points="17 10 17 6 14 6 13 3 11 3 10 6 7 6 7 10"/><path d="M22,20 L2,20 L2,16 L4,16 L4,18 L6.65365619,18 C6.59928001,17.9057703 6.55210536,17.8062365 6.513,17.702 L4,11 L10,11 L12,14 L14,11 L13,11 L20,11 L17.487,17....
app/Components/AuthSlack.js
DaftMonk/sweet-sound-client
import React from 'react'; import qs from 'qs'; const clientId = process.env.NODE_ENV === 'production' ? '2376554812.23846206866': '2376554812.23645499953'; const clientSecret = process.env.NODE_ENV === 'production' ? '0aafceac20b11bf475e1ca5118390811' : 'a8fc14196984beee9faa03c827d90dc0'; var getQueryString ...
src/client/components/svg/svg.container.js
DBCDK/tanterne
/* eslint-disable */ import React from 'react'; export const Arrow = ({className = ''}) => { return ( <svg className={`arrow ${className}`} height="32px" viewBox="0 0 32 32" width="32px"> <path d="M24.285,11.284L16,19.571l-8.285-8.288c-0.395-0.395-1.034-0.395-1.429,0 c-0.394,0.395-0.394,1.035,0,1...
Ranta.ReactjsDemo/Scripts/react/react-dom-server.js
ranta-demo/Ranta.ReactJsDemo
/** * ReactDOMServer v0.14.7 * * 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 dire...
ajax/libs/vue/2.0.5/vue.runtime.js
kennynaoh/cdnjs
/*! * Vue.js v2.0.5 * (c) 2014-2016 Evan You * Released under the MIT License. */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.Vue = factory()); }(this, (function...
src/main.js
bhuvanmalik007/bhuvanmalik
import React from 'react' import ReactDOM from 'react-dom' import createStore from './store/createStore' import CoreProvider from './core/coreprovider' import '../node_modules/grommet/grommet-hpinc.min.css' import './main.css' // ======================================================== // Store Instantiation // =======...
src/components/CheckboxFilter.js
NuCivic/react-dashboard
import React, { Component } from 'react'; import Registry from '../utils/Registry'; import BaseFilter from './BaseFilter'; import ReactSelect from './ReactSelect'; export default class CheckboxFilter extends BaseFilter { constructor(props) { super(props); this.state.checked = this.state.checked || false; ...
docs/src/pages/customization/themes/DarkTheme.js
Kagami/material-ui
import React from 'react'; import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import WithTheme from './WithTheme'; const theme = createMuiTheme({ palette: { type: 'dark', // Switching the dark mode on is a single property value change. }, typography: { useNextVariants: true }, }); ...
src/client/components/JumbotronMetaAreaWidget/JumbotronMetaAreaWidget.js
vidaaudrey/trippian
import log from '../../log' import React from 'react' import { Link } from 'react-router' import { ContactButtonWidget, StarRatingWidget } from '../index' import { photos as appConfig } from '../../config/appConfig' import { UserLinkWidget } from '../index' // use for trip page, pass below: isTripPage = true,...
src/components/ui/Card.js
yursky/recommend
/** * Cards * <Card></Card> * * React Native Starter App * https://github.com/mcnamee/react-native-starter-app */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Card } from 'react-native-elements'; // Consts and Libs import { AppSizes, AppColors, AppStyles } from '@th...
src/routes/User/Register.js
ascrutae/sky-walking-ui
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
src/svg-icons/av/radio.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvRadio = (props) => ( <SvgIcon {...props}> <path d="M3.24 6.15C2.51 6.43 2 7.17 2 8v12c0 1.1.89 2 2 2h16c1.11 0 2-.9 2-2V8c0-1.11-.89-2-2-2H8.3l8.26-3.34L15.88 1 3.24 6.15zM7 20c-1.66 0-3-1.34-3-3s1.34-3 3-3 3...
modules/IndexRoute.js
egobrightan/react-router
import React from 'react' import invariant from 'invariant' import warning from 'warning' import { createRouteFromReactElement } from './RouteUtils' import { component, components, falsy } from './PropTypes' const { bool, func } = React.PropTypes /** * An <IndexRoute> is used to specify its parent's <Route indexRout...
ajax/libs/reactive-coffee/0.0.5/reactive-coffee.min.js
tmorin/cdnjs
!function(){var a,b,c,d,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={}.hasOwnProperty,U=function(a,b){function c(){this.constructor=a}for(var d in b)T.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},V=[].slice,W=this;"undefined"=...
ajax/libs/react-redux-form/1.2.2/ReactReduxForm.js
BenjaminVanRyseghem/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("redux"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","redux","react-dom"],t):"object"==typeof exports?exports.ReactReduxForm=t(require("react"),require("redux"),require("react-dom")...
src/app/components/media/MediaFactCheck.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import Relay from 'react-relay/classic'; import { graphql, commitMutation } from 'react-relay/compat'; import { FormattedMessage } from 'react-intl'; import Box from '@material-ui/core/Box'; import Button from '@material-ui/core/Button'; import IconReport f...
ajax/libs/react-bootstrap-table/3.1.5/react-bootstrap-table.js
pvnr0082t/cdnjs
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-dom")); else if(typeof define === 'function' && define.amd) define(["react", "react-dom"], factory); else if(typeof exports === 'obje...
reaction/src/index.js
onespeed-workshops/the-vue-reaction
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './App.css' ReactDOM.render(<App />, document.getElementById('root'));
third_party/polymer/v1_0/components-chromium/iron-behaviors/iron-button-state-extracted.js
endlessm/chromium-browser
/** * @demo demo/index.html * @polymerBehavior Polymer.IronButtonState */ Polymer.IronButtonStateImpl = { properties: { /** * If true, the user is currently holding down the button. */ pressed: { type: Boolean, readOnly: true, value: false, refl...
modules/plugins/shared/__tests__/FigCaption-test.js
devrieda/arc-reactor
import React from 'react'; import TestUtils from 'react-addons-test-utils'; import FigCaption from '../FigCaption'; const findByClass = TestUtils.findRenderedDOMComponentWithClass; const render = TestUtils.renderIntoDocument; describe('FigCaption', () => { it('should render', () => { const text = ''; const...
blueprints/route/files/src/routes/__name__/components/__name__.js
IndyXTechFellowship/Cultural-Trail-Web
import React from 'react' import classes from './<%= pascalEntityName %>.scss' export const <%= pascalEntityName %> = () => ( <div className={classes['<%= pascalEntityName %>']}> <h4><%= pascalEntityName %></h4> </div> ) export default <%= pascalEntityName %>
sites/all/libraries/superfish/sfsmallscreen.js
testevez/wolters-kluwer
/* * sf-Smallscreen v1.0b - Provides small-screen compatibility for the jQuery Superfish plugin. * * Developer's note: * Built as a part of the Superfish project for Drupal (http://drupal.org/project/superfish) * Found any bug? have any cool ideas? contact me right away! http://drupal.org/user/619294/contact * *...
ajax/libs/react/0.11.0-rc1/react.min.js
kartikrao31/cdnjs
/** * React v0.11.0-rc1 * * Copyright 2013-2014 Facebook, 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...
src/Fabric/Type/DateType.js
reactmob/dos-filter
import React from 'react'; import { DatePicker, DayOfWeek } from 'office-ui-fabric-react/lib/DatePicker'; import BaseDateType from '../../Type/DateType'; import AbstractRenderer from './AbstractRenderer'; const DayPickerStrings = { months: [ 'January', 'February', 'March', 'April', ...
2018/cati/react/app/src/App.js
LorhanSohaky/UFSCar
import React, { Component } from 'react'; import PubSub from "pubsub-js"; import Axios from "axios"; import { BrowserRouter, Switch, Route } from "react-router-dom"; import logo from './logo.svg'; import './App.css'; import HomePage from './HomePage'; import AddPage from './AddPage'; class App extends Component { ...
javascript/youtube-search/src/components/video_list_item.js
sandislonjsak/react-learning-projects
import React from 'react'; const VideoListItem = ({ video, onVideoSelect }) => { const snippet = video.snippet; const imageUrl = snippet.thumbnails.default.url; return ( <li onClick={() => onVideoSelect(video)} className="list-group-item"> <div className="video-list media"> <div className="med...
src/components/chart/charts/Bar.js
EKlevrai/courantderacines
import React, { Component } from 'react'; import './Bar.css'; import '../utils/toolTip/ToolTip.css'; import { BarChartData } from '../data/Data'; import { ToolTip } from '../utils/toolTip/ToolTip'; // TODO : cant import it correctly const d3 = require('d3'); class Bar extends Component { componentDidMount() { ...
src/containers/AddShoppingItem.js
kishigo/recipes-react-redux
/** * Created by Kelvin Ishigo on 10/3/17. * * Copyright (c) 2017 Kelvin Ishigo * Licensed under the MIT License. See LICENSE file in the project root for full license information. */ import React from 'react' import {connect} from 'react-redux' import {addShoppingItem} from '../actions' let labelStyle = { displ...
ajax/libs/angular-google-maps/2.0.21/angular-google-maps.js
voronianski/cdnjs
/*! angular-google-maps 2.0.21 2015-06-04 * 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, ...
src/components/GoalList.js
stewest/react-sprint-graph
import React, { Component } from 'react'; import GoalItem from './GoalItem'; import GoalInput from './GoalInput'; import styled from 'styled-components'; const GoalListSection = styled.div` display: block; height: auto; text-align: left; width: 100%; ul { clear: both; display: flex; flex-wrap: w...
lib/wrappers/local-state-connect.js
aliaksandr-master/react-redux-self
import React, { Component } from 'react'; import { isFunction, reduce } from '../utils'; import { assertRedundantProps } from '../assert'; let globalCounter = 0; export default ({ selfID, reducer, selectorFactory, // connect mapDispatchToProps = null, mergeProps = null, connectOptions = {}, ...ot...
node_modules/react-bootstrap/es/utils/ValidComponentChildren.js
joekay/awebb
// TODO: This module should be ElementChildren, and should use named exports. import React from 'react'; /** * Iterates through children that are typically specified as `props.children`, * but only maps over children that are "valid components". * * The mapFunction provided index will be normalised to the compone...
src/svg-icons/image/timer-off.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageTimerOff = (props) => ( <SvgIcon {...props}> <path d="M19.04 4.55l-1.42 1.42C16.07 4.74 14.12 4 12 4c-1.83 0-3.53.55-4.95 1.48l1.46 1.46C9.53 6.35 10.73 6 12 6c3.87 0 7 3.13 7 7 0 1.27-.35 2.47-.94 3.49l1....
src/svg-icons/image/camera-alt.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCameraAlt = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="12" r="3.2"/><path d="M9 2L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-3.17L15 2H9zm3 15c-2.76 0-5-2.24-5...
framework/react-native/meituan/src/RootScene.js
huajianmao/learning
import React, { Component } from 'react'; import { StyleSheet, Text, View, StatusBar } from 'react-native'; import { Router, Scene, Actions } from 'react-native-router-flux'; import HomeScene from './scene/home/index' import NearbyScene from './scene/nearby/index' import DiscoverScene from './scene/discover/index' im...
1l_React_ET_Lynda/Ex_Files_React_EssT/Ch06/06_03/start/src/index.js
yevheniyc/Autodidact
import React from 'react' import { render } from 'react-dom' import './stylesheets/ui.scss' import { App } from './components/App' import { Whoops404 } from './components/Whoops404' import { Router, Route, hashHistory } from 'react-router' window.React = React render( <Router history={hashHistory}> <Route path="/"...
src/MenuItem/MenuItem.spec.js
w01fgang/material-ui
/* eslint-env mocha */ import React from 'react'; import {assert} from 'chai'; import {shallow} from 'enzyme'; import getMuiTheme from 'src/styles/getMuiTheme'; import MenuItem from './MenuItem'; import ListItem from '../List/ListItem'; describe('<MenuItem />', () => { const muiTheme = getMuiTheme(); const shallo...
src/components/Resume/Experience.js
ishwarsawale/ishwarsawale.github.io
import React from 'react'; import PropTypes from 'prop-types'; import Job from './Experience/Job'; const Experience = ({ data }) => ( <div className="experience"> <div className="link-to" id="experience" /> <div className="title"> <h3>Experience</h3> </div> {data.map((job) => ( <Job ...