path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
node_modules/react/lib/ReactServerRendering.js | cortesa/LevelUp-ReactBase | /**
* 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.
*
* @providesModu... |
js/App/Components/PreLoginScreens/RegisterScreen.js | telldus/telldus-live-mobile-v3 | /**
* Copyright 2016-present Telldus Technologies AB.
*
* This file is part of the Telldus Live! app.
*
* Telldus Live! app is free : you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
*... |
.storybook/config.js | latotty/meteor-sweeper | import React from 'react';
import { configure, addDecorator } from '@kadira/storybook';
import { withKnobs } from '@kadira/storybook-addon-knobs';
import { setStubbingMode } from 'react-komposer';
import { ThemeProvider } from 'styled-components';
import { MemoryRouter } from 'react-router'
import Alert from 'react-s-a... |
docs/src/components/FrontCard.js | oyvindhermansen/easy-state | import React from 'react';
import styled from 'styled-components';
import PropTypes from 'prop-types';
import { BaseLink } from './Common';
const StyledFrontCard = styled.div``;
const StyledTitle = styled.h2`
border-bottom: 1px solid #eaeaea;
padding-bottom: 0.25rem;
font-size: 1.25rem;
`;
const StyledBody = s... |
src/svg-icons/notification/no-encryption.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationNoEncryption = (props) => (
<SvgIcon {...props}>
<path d="M21 21.78L4.22 5 3 6.22l2.04 2.04C4.42 8.6 4 9.25 4 10v10c0 1.1.9 2 2 2h12c.23 0 .45-.05.66-.12L19.78 23 21 21.78zM8.9 6c0-1.71 1.39-3.1 3.1... |
packages/mui-icons-material/lib/MovieFilterSharp.js | oliviertassinari/material-ui | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
Libraries/Image/Image.ios.js | sixtomay/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.
*
* @provides... |
src/svg-icons/action/note-add.js | kasra-co/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>
);... |
node_modules/material-ui/svg-icons/action/feedback.js | Rabbit884/reactapp | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
packages/app/app/components/TrackRow/index.js | nukeop/nuclear | import React from 'react';
import _ from 'lodash';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import PropTypes from 'prop-types';
import numeral from 'numeral';
import { Icon } from 'semantic-ui-react';
import { formatDuration, getTrackArtist, getTrackTitle } from '@nuclear/ui';
... |
src/svg-icons/action/g-translate.js | rscnt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionGTranslate = (props) => (
<SvgIcon {...props}>
<path d="M20 5h-9.12L10 2H4c-1.1 0-2 .9-2 2v13c0 1.1.9 2 2 2h7l1 3h8c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zM7.17 14.59c-2.25 0-4.09-1.83-4.09-4.09s1.83-4.09 4.09-4... |
src/components/Link.js | myanbin/myeditor | import React from 'react';
const Link = (props) => {
const entity = props.contentState.getEntity(props.entityKey);
const { src } = entity.getData();
return (
<a href={src} style={{color: '#0086b3', textDecoration: 'none', borderBottom: '1px solid'}}>
{props.children}
</a>
);
}
export default Lin... |
packages/material-ui-icons/src/Filter8TwoTone.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M7 17h14V3H7v14zm4-5.5c0-.83.67-1.5 1.5-1.5-.83 0-1.5-.67-1.5-1.5V7c0-1.11.9-2 2-2h2c1.1 0 2 .89 2 2v1.5c0 .83-.67 1.5-1.5 1.5.83 0 1.5.67 1.5 1.5V13c0 1.11-.9 2-2 2h-2c-1.1 0-2-.89-2-... |
src/components/home.js | camboio/yooneau | import React from 'react';
import { connect } from 'react-redux';
import * as actions from '../actions';
import LogoIcon from './logo_icon';
class Home extends React.Component{
constructor(props){
super(props);
this.state = { username: '' };
}
handleSubmit(e){
// if(!localStorage.getItem(... |
stories/BrowserLayout/HeaderMetrics.js | medialab/hyphe-browser | import React from 'react'
const HeaderMetrics = () => (
<ul className="header-metrics-container">
<li className="hint--bottom" aria-label="12 webentities included in the corpus"><i className="metrics-icon ti-layout-column3-alt in" /> <span className="metrics">12009 <label>IN</label></span></li>
<li className... |
src/parser/deathknight/blood/CHANGELOG.js | sMteX/WoWAnalyzer | import React from 'react';
import { joshinator, Yajinni } from 'CONTRIBUTORS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
export default [
{
date: new Date('2019-02-14'),
changes: <>Updated <SpellLink id={SPELLS.BONE_SHIELD.id} />-suggestion to account for different types ... |
node_modules/reactify/node_modules/react-tools/src/utils/__tests__/Transaction-test.js | mjibson/moggio | /**
* 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.
*
* @emails react-co... |
packages/react-scripts/fixtures/kitchensink/src/features/webpack/ImageInclusion.js | g3r4n/create-esri-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 from 'react';
import tiniestCat from './assets/tiniest-cat.jpg';
export default () => (
<img id="feature-image-inclusion... |
node_modules/material-ui/svg-icons/action/class.js | meetdheeraj/NewsAggregator | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
src/svg-icons/editor/insert-photo.js | jacklam718/react-svg-iconx | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorInsertPhoto = (props) => (
<SvgIcon {...props}>
<path d="M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"/>
</SvgIcon>
);
EditorI... |
core/modules/quickedit/js/views/AppView.js | B00PE/goodplangames | /**
* @file
* A Backbone View that controls the overall "in-place editing application".
*
* @see Drupal.quickedit.AppModel
*/
(function ($, _, Backbone, Drupal) {
'use strict';
// Indicates whether the page should be reloaded after in-place editing has
// shut down. A page reload is necessary to re-instat... |
JDTools/ext/classic/classic/src/layout/container/Box.js | juxiangwu/SimpleSales | /**
* Base Class for HBoxLayout and VBoxLayout Classes. Generally it should not need to be used directly.
*/
Ext.define('Ext.layout.container.Box', {
extend: 'Ext.layout.container.Container',
alias: 'layout.box',
alternateClassName: 'Ext.layout.BoxLayout',
requires: [
'Ext.layout.container.... |
src/views/Another.js | bfollington/react-redux-isomorphic-boilerplate | import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as CounterActions from 'actions/CounterActions';
import Counter from 'components/Counter';
export default class Another extends React.Component {
/**
* Runs on server and client.
*/
componen... |
src/components/projects/show/Section.js | tehfailsafe/portfolio | import React from 'react';
const Section = React.createClass({
render(){
return(
<div className="section" style={{backgroundColor: this.props.bg}}>
{ this.props.title &&
<div className="copy">
<h4>{this.props.title}</h4>
</div>
}
{this.props.... |
app/javascript/mastodon/features/ui/components/column_loading.js | d6rkaiz/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import Column from '../../../components/column';
import ColumnHeader from '../../../components/column_header';
import ImmutablePureComponent from 'react-immutable-pure-component';
export default class ColumnLoading extends ImmutablePureComponent {
stat... |
src/components/ChatLoader.js | rhodiumlabs/rhodium-website | import React from 'react';
export default function ChatLoader() {
return (<div className="loading">
<div className="loading-dots">
<div></div><div></div><div></div>
</div>
</div>)
}
|
src/Main/App.js | enragednuke/WoWAnalyzer | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import ReactTooltip from 'react-tooltip';
import { push as pushAction } from 'react-router-redux';
import { Link } from 'react-router-dom';
import { ApiDownError, LogNotFoundError, CorruptResponseError,... |
tests/components/CandlestickTest.js | ericgio/r-d3 | import {expect} from 'chai';
import * as d3 from 'd3';
import {shallow} from 'enzyme';
import React from 'react';
import {Candlestick} from '../../src';
const data = [{
close: 101,
date: new Date(),
high: 105,
low: 95,
open: 100,
}];
const x = d3.scaleTime()
.domain(d3.extent(data, (d) => d.date))
.ran... |
src/components/NoteListItem/NoteListItem.spec.js | andywillis/fmp | // Dependencies
import React from 'react';
import ReactDOM from 'react-dom';
// React
import NoteListItem from './index';
it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(
<div>
<NoteListItem id="1" title="Title" text="Text" />
</div>
, div);
});
|
src/app/components/team/SmoochBot/SmoochBotMainMenuSection.js | meedan/check-web | import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import { makeStyles } from '@material-ui/core/styles';
import Typography from '@material-ui/core/Typography';
import Box from '@material-ui/core/Box';
import Divider from '@material-ui/core/Divider';
import Tex... |
src/utils/helper.js | mahimaag/react-web-boilerplate | import React, { Component } from 'react';
import {Route, Switch, Redirect} from 'react-router-dom';
import routesDacorator from './routesDacorator';
const RouteWithSubRoutes = (route) => {
const isLogin = true;
if (!route.auth || (route.auth && route.auth.access && isLogin)) {
// for login user
... |
components/Index.js | spirityy/dashboard | import React from 'react'
class Index extends React.Component {
render() {
return (
<main>
<div className="main-wrapper">
<h2>welcome</h2>
</div>
</main>
)
}
}
module.exports = Index
|
src/parser/shaman/elemental/modules/talents/LiquidMagmaTotem.js | sMteX/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import { formatNumber, formatPercentage } from 'common/format';
import Analyzer from 'parser/core/Analyzer';
import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox';
class LiquidMagmaTotem ... |
sites/all/modules/contrib/jquery_update/replace/jquery/1.7/jquery.js | dewen/responsive | /*!
* jQuery JavaScript Library v1.7.2
* 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.
... |
www/pages/components/home/AdminInterface.js | danielmahon/keystone | import React, { Component } from 'react';
import Container from '../../../components/Container';
import theme from '../../../theme';
import { compose } from 'glamor';
import adminView from '../../../images/keystone_admin.png';
export default class ValueProps extends Component {
render () {
return (
<div classNa... |
docs/app/Examples/collections/Grid/Variations/GridExampleColoredRow.js | shengnian/shengnian-ui-react | import _ from 'lodash'
import React from 'react'
import { Grid } from 'shengnian-ui-react'
const colors = [
'red', 'orange', 'yellow', 'olive', 'green', 'teal', 'blue',
'violet', 'purple', 'pink', 'brown', 'grey', 'black',
]
const GridColoredRowExample = () => (
<Grid padded>
{colors.map(color => (
<G... |
internals/templates/app.js | BartoszBazanski/react-100-pushup-challenge | /**
* app.js
*
* This is the entry file for the application, only setup and boilerplate
* code.
*/
// Needed for redux-saga es6 generator support
import 'babel-polyfill';
// Import all the third party stuff
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
impor... |
react/features/calendar-sync/components/CalendarList.native.js | jitsi/jitsi-meet | // @flow
import React from 'react';
import {
Text,
TouchableOpacity,
View
} from 'react-native';
import { translate } from '../../base/i18n';
import { AbstractPage } from '../../base/react';
import { connect } from '../../base/redux';
import { openSettings } from '../../mobile/permissions';
import { refre... |
packages/material-ui-icons/lib/esm/GMobiledataTwoTone.js | mbrookes/material-ui | import createSvgIcon from './utils/createSvgIcon';
import { jsx as _jsx } from "react/jsx-runtime";
export default createSvgIcon( /*#__PURE__*/_jsx("path", {
d: "M12 11v2h2v2H9V9h7c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v6c0 1.1.9 2 2 2h5c1.1 0 2-.9 2-2v-4h-4z"
}), 'GMobiledataTwoTone'); |
ajax/libs/mediaelement/2.14.2/jquery.js | iwdmb/cdnjs | /*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-4
*/
(function( window, undefined ) {
// Can't do t... |
test/FactoriesSpec.js | andrew-d/react-bootstrap | import React from 'react';
import components from '../tools/public-components';
let props = {
ButtonInput: {value: 'button'},
Glyphicon: {glyph: 'star'},
Modal: {onHide() {}},
ModalTrigger: {modal: React.DOM.div(null)},
OverlayTrigger: {overlay: React.DOM.div(null)}
};
function createTest(component) {
let... |
ajax/libs/react/0.5.0/react.js | laffer1/cdnjs | /**
* React v0.5.0
*/
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.React=e():"undefined"!=typeof global?global.React=e():"undefined"!=typeof self&&(self.React=e())}(function(){var define,module,exports;
return (function e(t,... |
ajax/libs/jquery-handsontable/0.10.2/jquery.handsontable.full.min.js | rlugojr/cdnjs | /**
* Handsontable 0.10.2
* Handsontable is a simple jQuery plugin for editable tables with basic copy-paste compatibility with Excel and Google Docs
*
* Copyright 2012, Marcin Warpechowski
* Licensed under the MIT license.
* http://handsontable.com/
*
* Date: Thu Jan 23 2014 23:06:23 GMT+0100 (CET)
*//*jslint... |
ajax/libs/yui/3.13.0/datatable-body/datatable-body.js | fastest963/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 = ... |
indico/web/client/js/jquery/widgets/jinja/time_widget.js | pferreir/indico | // This file is part of Indico.
// Copyright (C) 2002 - 2021 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.
import React from 'react';
import ReactDOM from 'react-dom';
import {WTFTimeField} from 'indico/reac... |
fields/types/url/UrlColumn.js | naustudio/keystone | import React from 'react';
import ItemsTableCell from '../../components/ItemsTableCell';
import ItemsTableValue from '../../components/ItemsTableValue';
var UrlColumn = React.createClass({
displayName: 'UrlColumn',
propTypes: {
col: React.PropTypes.object,
data: React.PropTypes.object,
},
renderValue () {
va... |
src/ClearFix/ClearFix.js | salars/react-sui | import React from 'react';
export default (props) => {
return (<div>
{props.children}
<div style={{clear: "both"}}/>
</div>);
} |
pages/table.js | ieugen/reactjs-universal-demo | "use strict";
import React from 'react'
import Layout from './layout'
class ComunityList extends React.Component {
renderRows(data) {
return data.map((row, index) => {
return (
<tr key={index}>
<td>{index + 1}</td>
<td className="show-for... |
files/yasr/2.4.13/yasr.bundled.min.js | oller/jsdelivr | !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.YASR=t()}}(function(){var t;return function e(t,n,r){... |
docs/app/Examples/elements/Button/Variations/ButtonExampleVerticallyAttachedGroup.js | koenvg/Semantic-UI-React | import React from 'react'
import { Button, Segment } from 'semantic-ui-react'
const ButtonExampleVerticallyAttachedGroup = () => (
<div>
<Button.Group attached='top'>
<Button>One</Button>
<Button>Two</Button>
</Button.Group>
<Segment attached>
<img src='http://semantic-ui.com/images/wir... |
ajax/libs/jquery-mobile/1.3.1/jquery.mobile.js | hanbyul-here/cdnjs | /*
* jQuery Mobile 1.3.1
* Git HEAD hash: 74b4bec049fd93e4fe40205e6157de16eb64eb46 <> Date: Wed Apr 10 2013 21:57:23 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 )... |
modules/dreamview/frontend/src/components/Header/HMISelectors.js | startcode/apollo | import React from "react";
import Selector from "components/Header/Selector";
import WS from "store/websocket";
export default class HMISelectors extends React.Component {
render() {
const { modes, currentMode,
maps, currentMap,
vehicles, currentVehicle } = this.props;
... |
src/components/AppRouter.js | saas-plat/saas-plat-native | import React from 'react';
//import { Platform } from 'react-native';
import {autobind} from 'core-decorators';
// import nprogress from 'nprogress'; import matchPath from
// 'react-router/matchPath'; import Bundle from '../core/Bundle';
import {connectStore} from '../core/Store';
import Router from '../core/Router';
i... |
src/helpers/__tests__/connectData-test.js | gregsabo/beanstalk-movie-critic | import { expect } from 'chai';
import React from 'react';
import { div } from 'react-dom';
import connectData from '../connectData';
describe('connectData', () => {
let fetchData;
let fetchDataDeferred;
let WrappedComponent;
let DataComponent;
beforeEach(() => {
fetchData = 'fetchDataFunction';
fetc... |
src/svg-icons/action/touch-app.js | ichiohta/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionTouchApp = (props) => (
<SvgIcon {...props}>
<path d="M9 11.24V7.5C9 6.12 10.12 5 11.5 5S14 6.12 14 7.5v3.74c1.21-.81 2-2.18 2-3.74C16 5.01 13.99 3 11.5 3S7 5.01 7 7.5c0 1.56.79 2.93 2 3.74zm9.84 4.63l-4.... |
src/svg-icons/av/surround-sound.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvSurroundSound = (props) => (
<SvgIcon {...props}>
<path d="M20 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-2zM7.76 16.24l-1.41 1.41C4.78 16.1 4 14.05 4 12c0-2.05.78-4.1 2.34-5.66l1.4... |
app/js/components/content/PageComponent.js | lukemarsh/tab-hq-react | 'use strict';
import React from 'react';
import TextComponent from './TextComponent';
import ListComponent from './ListComponent';
import ImageComponent from './ImageComponent';
import NewSectionComponent from './NewSectionComponent';
import Api from '../../utils/Api';
import ComponentStore from '../../stores/Componen... |
src/svg-icons/maps/local-grocery-store.js | andrejunges/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalGroceryStore = (props) => (
<SvgIcon {...props}>
<path d="M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-... |
results/scripts/ui-lib/answers.js | kouryuu/react-questionnaire | import React from 'react'
export default class Answers extends React.Component{
render(){
let answer_key = 0;
return(
<tr>
{this.props.answers.map(function(answer){
return (<Answer key={answer_key++} isArray={(answer instanceof Array)} answer={answer} />);
})}
</tr>
... |
screens/SolutionCategoriesScreen/Price.js | nattatorn-dev/expo-with-realworld | import React from 'react'
import { Text, StyleSheet, View } from 'react-native'
import PropTypes from 'prop-types'
import { string } from 'utilities'
import styles from './PriceStyle'
const Price = ( { minPrice, minPriceLable, maxPrice, maxPriceLable } ) => {
return (
<View style={styles.containerStyle}>
... |
ajax/libs/material-ui/4.9.3/esm/DialogActions/DialogActions.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
export var styles = {
/* Styles a... |
ajax/libs/thorax/2.0.0rc1/thorax.js | ahw/cdnjs | /*!
* jQuery JavaScript Library v1.9.0
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-1-14
*/
(function( window, undefined ) {
"use strict";... |
tests/Rules-isInt-spec.js | lei-clearsky/temp | import React from 'react';
import TestUtils from 'react-addons-test-utils';
import Formsy from './..';
import { InputFactory } from './utils/TestInput';
const TestInput = InputFactory({
render() {
return <input value={this.getValue()} readOnly/>;
}
});
const TestForm = React.createClass({
render() {
re... |
server/sonar-web/src/main/js/components/ui/CodeSmellIcon.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... |
src/layouts/PageLayout/PageLayout.js | OlivierWinsemius/circleci_test | import React from 'react'
import { IndexLink, Link } from 'react-router'
import PropTypes from 'prop-types'
import './PageLayout.scss'
export const PageLayout = ({ children }) => (
<div className='container text-center'>
<h1>React Redux Starter Kit</h1>
<IndexLink to='/' activeClassName='page-layout__nav-ite... |
app/components/team/Edit.js | buildkite/frontend | import React from 'react';
import PropTypes from 'prop-types';
import Relay from 'react-relay/classic';
import Panel from 'app/components/shared/Panel';
import TeamForm from './Form';
import TeamDelete from './TeamDelete';
import TeamUpdateMutation from 'app/mutations/TeamUpdate';
import GraphQLErrors from 'app/cons... |
src/svg-icons/image/gradient.js | IsenrichO/mui-with-arrows | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageGradient = (props) => (
<SvgIcon {...props}>
<path d="M11 9h2v2h-2zm-2 2h2v2H9zm4 0h2v2h-2zm2-2h2v2h-2zM7 9h2v2H7zm12-6H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 18H7v-2h2v2z... |
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store_new/source/src/app/components/Base/Footer/Footer.js | lakmali/carbon-apimgt | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
src/TabbedArea.js | AlexKVal/react-bootstrap | import React from 'react';
import Tabs from './Tabs';
import TabPane from './TabPane';
import ValidComponentChildren from './utils/ValidComponentChildren';
import deprecationWarning from './utils/deprecationWarning';
const TabbedArea = React.createClass({
componentWillMount() {
deprecationWarning(
'TabbedA... |
actor-apps/app-web/src/app/components/sidebar/RecentSection.react.js | Dreezydraig/actor-platform | import _ from 'lodash';
import React from 'react';
import { Styles, RaisedButton } from 'material-ui';
import ActorTheme from 'constants/ActorTheme';
import DialogActionCreators from 'actions/DialogActionCreators';
import DialogStore from 'stores/DialogStore';
import CreateGroupActionCreators from 'actions/CreateGro... |
src/components/NewsCommentAdd.js | vladpolonskiy/news-feed-react-redux | import React from 'react';
export default class NewsCommentAdd extends React.Component {
constructor(props) {
super(props);
this.addComment = this.addComment.bind(this);
}
addComment(e) {
e.preventDefault();
this.props.handleClick(this.refs.comment_content.value);
this.refs.comment_content.value = '';
}... |
src/What.js | hryanjones/kyakarun | // import CantButton from './CantButton';
import minutesToHumanString from './minutesToHumanString';
import idealTimesToTimes from './idealTimesToTimes';
import React from 'react';
import marked from 'marked';
class What extends React.Component {
constructor() {
super();
this.state = {
rejected: {}, //... |
server/sonar-web/src/main/js/apps/organizations/components/OrganizationEdit.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... |
marathon-manage/marathon-manage-web/src/main/webapp/old_resource/comm/jquery-1.10.2.min.js | xiaocui123/marathon | /*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery-1.10.2.min.map
*/
(function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b... |
ajax/libs/recompose/0.20.0/Recompose.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["Recompose"] = facto... |
node_modules/browser-sync/node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js | eidietrich/bzn-walk-map | import React from 'react';
// It's important to not define HelloWorld component right in this file
// because in that case it will do full page reload on change
import HelloWorld from './HelloWorld.jsx';
React.render(<HelloWorld />, document.getElementById('react-root'));
|
local-cli/templates/HelloNavigation/views/welcome/WelcomeScreen.js | clozr/react-native | 'use strict';
import React, { Component } from 'react';
import {
Image,
Platform,
StyleSheet,
} from 'react-native';
import ListItem from '../../components/ListItem';
import WelcomeText from './WelcomeText';
export default class WelcomeScreen extends Component {
static navigationOptions = {
title: 'Welc... |
src/components/pinning-manager/pinning-manager-service-modal/PinningManagerServiceModal.js | ipfs/webui | import React from 'react'
import classNames from 'classnames'
import PropTypes from 'prop-types'
import { connect } from 'redux-bundler-react'
import { withTranslation, Trans } from 'react-i18next'
import { useForm } from 'react-hook-form'
// Components
import { Modal, ModalBody, ModalActions } from '../../modal/Modal... |
webapp/components/widgets/PlayerWidget.js | marinvvasilev/homeinfotainment | /* eslint-disable import/default */
import React from 'react';
import { render } from 'react-dom';
import '../styles/player-widget.scss';
const io = require('socket.io-client');
const socket = io();
export default class PlayerWidget extends React.Component {
constructor(props) {
super(props);
}
... |
src/routes.js | badT/twitchBot | import React from 'react';
import { Route, IndexRoute } from 'react-router';
/* containers */
import { App } from './components/App';
import { Home } from './components/Home';
import { About } from './components/About';
import { ChatChannelDisplay } from './components/ChatChannelDisplay';
// import { List } from 'cont... |
src/index.js | z81/music-player | import React from 'react';
//import mui, { ContentInbox, Avatar, ListDivider, List, ListItem, AppBar, Toolbar, ToolbarGroup } from 'material-ui';
import './index.less';
window.React = React;
/*let ThemeManager = new mui.Styles.ThemeManager();
ThemeManager.setTheme(ThemeManager.types.LIGHT);
ThemeManager.setPalette({... |
js/components/App.js | Aweary/relay-starter-kit | import React from 'react';
import Relay from 'react-relay';
class App extends React.Component {
render() {
return (
<div>
<h1>Widget list</h1>
<ul>
{this.props.viewer.widgets.edges.map(edge =>
<li key={edge.node.id}>{edge.node.name} (ID: {edge.node.id})</li>
... |
spec/HOCInput_default-value.spec.js | gndplayground/react-hoc-form-validatable | import React from 'react';
import { mount } from 'enzyme';
import defaultRules from '../src/defaultRules';
import Form from './components/Form';
import Input from './components/Input';
class DefaultValueTest extends React.Component {
constructor(props) {
super(props);
this.state = {
value: [0],
};... |
blueocean-material-icons/src/js/components/svg-icons/image/filter-4.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ImageFilter4 = (props) => (
<SvgIcon {...props}>
<path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm12 10h2V5h-2v4h-2V5h-2v6h4v4zm6-14H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14z"/>
</SvgIcon>
);
ImageFilt... |
src/svg-icons/action/swap-vertical-circle.js | rscnt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionSwapVerticalCircle = (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 2zM6.5 9L10 5.5 13.5 9H11v4H9V9H6.5zm11 6L14 18.5 10.5 15H13v-4h2v4h2.5z"/>
... |
app/views/App.js | bboysathish/react-cooked | import React, { Component } from 'react';
import { connect } from 'react-redux';
import Spinner from '../widgets/Spinner';
class App extends Component {
render() {
const { children, loadingStore: { isLoading } } = this.props;
return (
<div>
{ `Navigation Bar` }
<Spinner isLoading={ isL... |
node_modules/react-dom/lib/checkReactTypeSpec.js | EmersonAntonioDaSiilva/poc-dipol-nlc | /**
* Copyright 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
'use strict... |
client/vendor/scripts/backbone-1.0.0.js | jsilvestre/cozy-irc-botmanager | // Backbone.js 1.0.0
// (c) 2010-2013 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(){
// Initial Setup
// -------------
// Save a reference to the global object (`wi... |
ajax/libs/forerunnerdb/1.3.783/fdb-core.js | sashberd/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... |
Libraries/Image/GlobalImageStub.js | shinate/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.
*
* @provides... |
src/mobile/components/DrawerMenu/index.js | welovekpop/uwave-web-welovekpop.club | import React from 'react';
import PropTypes from 'prop-types';
import { translate } from 'react-i18next';
import compose from 'recompose/compose';
import withHandlers from 'recompose/withHandlers';
import Drawer from '@material-ui/core/Drawer';
import MenuList from '@material-ui/core/MenuList';
import MenuItem from '@m... |
static/bbqberry/node_modules/core-js/library/modules/es6.promise.js | declanshanaghy/bbqberry | 'use strict';
var LIBRARY = require('./_library')
, global = require('./_global')
, ctx = require('./_ctx')
, classof = require('./_classof')
, $export = require('./_export')
, isObject = require('./_is-object')
, aFunction = req... |
client/src/components/Header/components/UniversalNav.js | BhaveshSGupta/FreeCodeCamp | import React from 'react';
import PropTypes from 'prop-types';
import { Link } from '../../helpers';
import NavLogo from './NavLogo';
import SearchBar from '../../search/searchBar/SearchBar';
import MenuButton from './MenuButton';
import NavLinks from './NavLinks';
import './universalNav.css';
export const UniversalN... |
ajax/libs/react/0.11.0/react-with-addons.min.js | dada0423/cdnjs | /**
* React (with addons) v0.11.0
*
* 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 r... |
src/Parser/DeathKnight/Unholy/Modules/Items/ColdHeartEfficiency.js | hasseboulen/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellIcon from 'common/SpellIcon';
import SpellLink from 'common/SpellLink';
import ITEMS from 'common/ITEMS';
import { formatPercentage } from 'common/format';
import Wrapper from 'common/Wrapper';
import Analyzer from 'Parser/Core/Analyzer';
impo... |
clients/packages/admin-client/src/components/post-donation/finish-post-donation.js | nossas/bonde-client | import React from 'react'
import PropTypes from 'prop-types'
import { FinishPostDonation } from 'bonde-webpage/lib/plugins/donation/components'
const imageUrl = require('exenv').canUseDOM ? require('../share/check-mark-image.png') : null
const FinishPostDonationComponent = ({
mobilization,
widget,
}) => {
retur... |
src/routes/savoringYourChildModule/savoringYourChildModule.js | goldylucks/adamgoldman.me | // @flow
import React from 'react'
import withStyles from 'isomorphic-style-loader/lib/withStyles'
import { scrollToTopOfNode } from '../../utils'
import BreadCrumbs from '../../components/BreadCrumbs'
import Benefits from '../../components/Benefits'
import MessageMe from '../../components/MessageMe'
import Testimoni... |
example/src/index.js | zaininfo/react-tooltip | 'use strict';
import React from "react";
import ReactTooltip from "./react-tooltip.js";
const Test = React.createClass({
getInitialState() {
return {
place: "top",
type: "dark",
effect: "float",
condition: false,
}
},
changePlace(place) {
this.setState({
place: place
... |
src/components/utils/controllers/LinkControls.js | tsaiDavid/react-rich-text-editor | import React from 'react';
import StyleButton from '../StyleButton';
import { getSelectedLink } from '../decorators/LinkDecorator';
import { RichUtils, Entity } from 'draft-js';
import { Popover, OverlayTrigger, FormGroup, FormControl, InputGroup, Button } from 'react-bootstrap';
const LINK = (
<span className="Te... |
app/javascript/mastodon/features/lists/index.js | Chronister/mastodon | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import LoadingIndicator from '../../components/loading_indicator';
import Column from '../ui/components/column';
import ColumnBackButtonSlim from '../../compo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.