path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/javascript/mastodon/features/compose/components/character_counter.js
TheInventrix/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)...
src/components/Checkbox/Checkbox-story.js
joshblack/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 { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; import { withKnob...
components/jsx/ListOfCheckboxes.js
Reynslan/moggo
var React = require('react'); var CheckboxWithLabel = require('./CheckboxWithLabel.js'); var Site = require('./Site.js'); module.exports = React.createClass({ render: function () { var items = {}; var i = 0; for (var category in this.props.retrievedCategoriesSettings) { ...
app/components/SearchEngine.js
JobCompare/jc-ui
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import Action from '../../utils/wrappers/redux/Action'; import actionTypes from '../../utils/definitions/action_types/SearchEngineActionTypes'; import OverlayController from '../../utils/OverlayController'; import Ov...
ajax/libs/d3fc/10.0.0/d3fc.bundle.js
emmy41124/cdnjs
!function() { var d3 = { version: "3.5.17" }; var d3_arraySlice = [].slice, d3_array = function(list) { return d3_arraySlice.call(list); }; var d3_document = this.document; function d3_documentElement(node) { return node && (node.ownerDocument || node.document || node).documentElement; } fun...
app/react-icons/fa/heart-o.js
scampersand/sonos-front
import React from 'react'; import IconBase from 'react-icon-base'; export default class FaHeartO extends React.Component { render() { return ( <IconBase viewBox="0 0 40 40" {...this.props}> <g><path d="m37.1 13.3q0-1.8-0.4-3.2t-1.3-2.2-1.8-1.3-2.1-0.7-2.2-0.2-2.5 0.6-2.4 1.4-2 1...
ajax/libs/rxjs/2.3.1/rx.all.compat.js
tharakauka/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/main/app/scripts/components/Siderbar.js
ondrejhudek/hudy-app
import React from 'react' import { LeftNav } from 'material-ui' import FontAwesome from 'react-fontawesome' import Menu from '../components/Menu' class Sidebar extends React.Component { constructor(props) { super(props) this.state = { open: true } } render() { ...
src/svg-icons/action/backup.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionBackup = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96z...
packages/material-ui-icons/src/Drafts.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M21.99 8c0-.72-.37-1.35-.94-1.7L12 1 2.95 6.3C2.38 6.65 2 7.28 2 8v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2l-.01-10zM12 13L3.74 7.84 12 3l8.26 4.84L12 13z" /><path fill="none" d="M0 0h24v24H...
packages/mui-icons-material/lib/DnsOutlined.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")...
codes/chapter05/react-router-official/demo03/app/index.js
atlantis1024/react-step-by-step
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; ReactDOM.render(<App/>, document.getElementById("root"));
packages/strapi-admin/files/public/app/containers/Content/index.js
skelpook/strapi
/* * * Content * */ import React from 'react'; import { connect } from 'react-redux'; import styles from './styles.scss'; import { createSelector } from 'reselect'; import { selectPlugins } from 'containers/App/selectors'; export class Content extends React.Component { // eslint-disable-line react/prefer-stateles...
js/jquery-1.11.1.js
digitalbliss/sameheightplugin
/*! * jQuery JavaScript Library v1.11.1 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2014-05-01T17:42Z */ (function( global, factory ) { if ...
packages/material-ui-icons/src/Brightness5Rounded.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M20 15.31l2.6-2.6c.39-.39.39-1.02 0-1.41L20 8.69V5c0-.55-.45-1-1-1h-3.69l-2.6-2.6a.9959.9959 0 00-1.41 0L8.69 4H5c-.55 0-1 .45-1 1v3.69l-2.6 2.6c-.39.39-.39 1.02 0 1.41L4 15.3V19c0 .55.45 1 1 1h3.69l2...
ajax/libs/highstock/2.1.3/highstock.src.js
KyleMit/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highstock JS v2.1.3 (2015-02-27) * * (c) 2009-2014 Torstein Honsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, HighchartsAdapter, document, window, navigator, setInterval, clearInterval, clearT...
dist/1.10.0/jquery-ajax-css-effects.min.js
eric-seekas/jquery-builder
/*! jQuery v1.10.0 -css,-ajax,-ajax/script,-ajax/jsonp,-ajax/xhr,-effects,-offset,-dimensions | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.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=[],d="1.10.0 -css,-aj...
src/List/ListItemIcon.js
dsslimshaddy/material-ui
// @flow import React from 'react'; import type { Element } from 'react'; import classNames from 'classnames'; import withStyles from '../styles/withStyles'; export const styles = (theme: Object) => ({ root: { height: 24, marginRight: theme.spacing.unit * 2, width: 24, color: theme.palette.action.ac...
src/svg-icons/image/grain.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageGrain = (props) => ( <SvgIcon {...props}> <path d="M10 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM6 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12-8c1....
src/app/Layout/Components/LoginField.js
aayush-k/airAssist
import React from 'react'; import ReactDom from "react-dom"; import TextField from 'material-ui/TextField'; import RaisedButton from 'material-ui/RaisedButton'; export default class LoginField extends React.Component { constructor() { super(); } render() { return ( <div> <h...
src/Parser/DemonHunter/Vengeance/Modules/Tier/Tier20/Tier20-2P.js
enragednuke/WoWAnalyzer
import React from 'react'; import Combatants from 'Parser/Core/Modules/Combatants'; import Enemies from 'Parser/Core/Modules/Enemies'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import Analyzer from 'Parser/Core/Analyzer'; import { formatPe...
src/svg-icons/action/receipt.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionReceipt = (props) => ( <SvgIcon {...props}> <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-...
actor-apps/app-web/src/app/components/modals/invite-user/ContactItem.react.js
shenhzou654321/actor-platform
import React from 'react'; import { PureRenderMixin } from 'react/addons'; import AvatarItem from 'components/common/AvatarItem.react'; var ContactItem = React.createClass({ displayName: 'ContactItem', propTypes: { contact: React.PropTypes.object, onSelect: React.PropTypes.func }, mixins: [PureRende...
__scripts__/__tests__/builds/should_build_for_web_target_->_{name}.js_+_{name}.min.js/.eslintrc.js
artisin/js-library-setup-guide
module.exports = { "parser": "babel-eslint", "extends": [ // A configuration file can extend the set of enabled rules from base configurations. "eslint:recommended", "plugin:node/recommended", "plugin:lodash/recommended", ], "plugins": [ // third-par...
src/lib/animation.js
jameskraus/react-vis
import React from 'react'; import {interpolate} from 'd3-interpolate'; import {spring, Motion} from 'react-motion'; import PureRenderComponent from './pure-render-component'; const propTypes = { animatedProps: React.PropTypes.arrayOf(React.PropTypes.string).isRequired, onStart: React.PropTypes.func, onEnd: React...
src/routes/indexMyCustom.js
daxiangaikafei/QBGoods
import React from 'react' import { Route, IndexRoute, Router } from 'dva/router' import CoreLayout from '../containers/layout' import Hotgoods from 'views/Hotgoods/page' import MyCustom from 'views/MyCustom/page' import SelfSupport from 'views/SelfSupport/page' import GatherGoods from 'views/GatherGoods/page' import Ga...
frontend/src/Settings/AdvancedSettingsButton.js
geogolem/Radarr
import classNames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import Icon from 'Components/Icon'; import Link from 'Components/Link/Link'; import { icons } from 'Helpers/Props'; import translate from 'Utilities/String/translate'; import styles from './AdvancedSettingsButton.css'; ...
src/components/PersonView/PersonView.js
rlesniak/tind3r.com
// @flow import React, { Component } from 'react'; import { reaction, observable } from 'mobx'; import get from 'lodash/get'; import uniqueId from 'lodash/uniqueId'; import { observer, inject } from 'mobx-react'; import ReactTooltip from 'react-tooltip'; import Gallery from 'components/Gallery'; import ActionButtons ...
ajax/libs/yui/3.0.0beta1m3/yui/yui.js
xymostech/cdnjs
/** * YUI core * @module yui */ (function() { var _instances = {}, _startTime = new Date().getTime(), p, i, add = function () { if (window.addEventListener) { return function(el, type, fn, capture) { el.addEventListener(type, fn, (!!capture)); ...
tests/layouts/CoreLayout.spec.js
kubism/kubism.github.io
import React from 'react' import TestUtils from 'react-addons-test-utils' import CoreLayout from 'layouts/CoreLayout' function shallowRender (component) { const renderer = TestUtils.createRenderer() renderer.render(component) return renderer.getRenderOutput() } function shallowRenderWithProps (props = {}) { ...
src/svg-icons/editor/pie-chart.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorPieChart = (props) => ( <SvgIcon {...props}> <path d="M11 2v20c-5.07-.5-9-4.79-9-10s3.93-9.5 9-10zm2.03 0v8.99H22c-.47-4.74-4.24-8.52-8.97-8.99zm0 11.01V22c4.74-.47 8.5-4.25 8.97-8.99h-8.97z"/> </SvgIco...
src/notebook/components/transforms/text.js
0u812/nteract
/* @flow */ import React from 'react'; import Ansi from 'ansi-to-react'; type Props = { data: string, } export default class TextDisplay extends React.Component { props: Props; shouldComponentUpdate(): boolean { return true; } render(): ?React.Element<any> { return <Ansi>{this.props.data}</Ansi>;...
ajax/libs/react-bootstrap-table/0.5.4/react-bootstrap-table.min.js
sashberd/cdnjs
!function e(t,o,n){function r(s,l){if(!o[s]){if(!t[s]){var i="function"==typeof require&&require;if(!l&&i)return i(s,!0);if(a)return a(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=o[s]={exports:{}};t[s][0].call(u.exports,function(e){var o=t[s][1][e];return r(o?o:e)},u,u.ex...
files/rxjs/2.2.24/rx.lite.js
dpellier/jsdelivr
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; v...
test/PaginationSpec.js
dozoisch/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Pagination from '../src/Pagination'; describe('<Pagination>', () => { it('should have class', () => { const instance = ReactTestUtils.renderIntoDocument( <Pagination>Item content</Pagination> ); assert.ok(Reac...
src/svg-icons/image/collections.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageCollections = (props) => ( <SvgIcon {...props}> <path d="M22 16V4c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2zm-11-4l2.03 2.71L16 11l4 5H8l3-4zM2 6v14c0 1.1.9 2 2 2h14v-2H4V6H2z"/> ...
node_modules/react-native-pull/PullList.js
odapplications/WebView-with-Lower-Tab-Menu
'use strict'; import React, { Component } from 'react'; import { ListView } from 'react-native'; import Pullable from './Pullable'; /** 支持android&ios可以下拉刷新的PullList组件 Demo: import {PullList} from 'react-native-pullview'; <PullList onPulling={} onPullOk={} onPullRelease={} isPullEnd={true} topIndicatorRender={({pul...
src/components/icons/ExploreIcon.js
InsideSalesOfficial/insidesales-components
import React from 'react'; const ExploreIcon = props => ( <svg {...props.size || { width: '24px', height: '24px' }} {...props} viewBox="1 1 22 22"> {props.title && <title>{props.title}</title>} <path d="M12 10.9c-.61 0-1.1.49-1.1 1.1s.49 1.1 1.1 1.1c.61 0 1.1-.49 1.1-1.1s-.49-1.1-1.1-1.1zM12 2C6.48...
src/docs/Props.js
choudlet/ps-react-choudlet
import React from 'react'; import PropTypes from 'prop-types'; const Props = ({props}) => { return ( <table className="props"> <thead> <tr> <th>Name</th> <th>Description</th> <th>Type</th> <th>Default</th> <th>Required</th> </tr> </the...
sites/default/files/js/js_ij8BGR2xDDdV0pEt5h7JnhdHVNKd-xYZjJzFaqFjOmQ.js
TheCraftyCanvas/inklings
/** * hoverIntent r6 // 2011.02.26 // jQuery 1.5.1+ * <http://cherne.net/brian/resources/jquery.hoverIntent.html> * * @param f onMouseOver function || An object with configuration options * @param g onMouseOut function || Nothing (use configuration options object) * @author Brian Cherne brian(at)cherne(dot)net...
src/app/ui/Routes/PublicRouteWeb.js
arikanmstf/mylibrary
// @flow import React from 'react'; import type { ComponentType } from 'react'; import { HOME } from 'constants/routes/routeNames'; import { connect } from 'react-redux'; import { Route, Redirect } from 'react-router-dom'; import { mapStateToProps } from './actions'; const PublicRouteWeb = ( { component: Compone...
src/components/common/LeftNav.js
noahjohn9259/carcareapp
import React from 'react'; import Paper from 'material-ui/Paper'; import Menu from 'material-ui/Menu'; import MenuItem from 'material-ui/MenuItem'; const LeftNav = () => ( <div> <Paper> <Menu> <MenuItem primaryText="Maps" /> <MenuItem primaryText="Books" /> <MenuItem primaryText="Fl...
docs/src/examples/elements/Header/Content/HeaderExampleIconProp.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Header } from 'semantic-ui-react' const HeaderExampleIconProp = () => ( <Header as='h2' icon='plug' content='Uptime Guarantee' /> ) export default HeaderExampleIconProp
src/components/InfoBar/InfoBar.js
prakash-u/react-redux
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { load } from 'redux/modules/info'; @connect(state => ({ info: state.info.data }), { load }) export default class InfoBar extends Component { static propTypes = { info: PropTypes.shape({ ...
src/common/components/Posts.js
k2052/journal.k2052.me
import React from 'react' import { Link } from 'react-router' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' import { changePost } from 'actions//posts' function mapStateToProps(state) { return { posts: state.posts } } function mapDispatchToProps(dispatch) { return bindActi...
src/parser/hunter/shared/modules/features/CancelledCasts.js
sMteX/WoWAnalyzer
import React from 'react'; import CoreCancelledCasts from 'parser/shared/modules/CancelledCasts'; import SPELLS from 'common/SPELLS'; import { formatPercentage } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'; import Icon from 'common/Icon'; /** * Tracks the amou...
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...
assets/javascripts/kitten/components/structure/cards/simple-card/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' import classNames from 'classnames' import styled from 'styled-components' import { Image } from './components/image' import { Title } from './components/title' import { Subtitle } from './components/subtitle' import { Paragraph } from './components/paragraph...
examples/PrefillingTextInput.js
react-materialize/react-materialize
import React from 'react'; import Input from '../src/Input'; import Row from '../src/Row'; export default <Row> <Input s={6} label="First Name" validate defaultValue='Alvin' /> </Row>;
ajax/libs/onsen/2.0.0-beta.2/js/onsenui.min.js
vetruvet/cdnjs
/*! onsenui v2.0.0-beta.2 - 2015-12-01 */ 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 funct...
src/parser/rogue/subtlety/modules/talents/FindWeakness.js
sMteX/WoWAnalyzer
import React from 'react'; import Analyzer from 'parser/core/Analyzer'; import SPELLS from 'common/SPELLS'; import SpellLink from 'common/SpellLink'; import SpellIcon from 'common/SpellIcon'; import { formatPercentage } from 'common/format'; import StatisticBox, { STATISTIC_ORDER } from 'interface/others/StatisticBox'...
examples/decorators/form/index.js
stackscz/re-app
import React from 'react'; import WildForm from './ExampleForm'; import Example from 're-app-examples/Example'; const codeFiles = [ { name: 'ExampleForm.js', content: require('!!raw!./ExampleForm.js'), description: 'ExampleForm', }, { name: './PaperOrientationInput.js', content: require('!!raw!./PaperOri...
src/components/overview/impress.js
abbr/ShowPreper
import React from 'react' import './impress.less' import AutoScale from 'components/mixins/autoScale' import Draggable from 'components/mixins/draggable' import Scalable from 'components/mixins/scalable' import Selectable from 'components/mixins/selectable' import Rotatable from 'components/mixins/rotatable' import Kil...
src/components/filter.js
menthena/project-a
import React from 'react'; const Filter = ({ labelText, placeholder, handleOnChange, value }) => ( <div className="filter"> <label>{labelText}</label> <input type="text" onChange={(event) => { handleOnChange(event.target.value); }} placeholder={placeholder} value={value}...
src/Components/Modal/index.js
gabriel-lopez-lopez/gll-billin-code-challenge
/** * Componente que crea ventana modales apoyandose en Bootstrap y jQuery * :( Not like * */ /*global $*/ import React, { Component } from 'react'; import { PropTypes } from 'prop-types'; // Estilos personalizados import './modal.less'; class Modal extends Component { constructor(props){ super(pro...
app/components/Footer/index.js
j921216063/chenya
import React from 'react'; import Wrapper from './Wrapper'; import Icons from './Icons'; import Copyright from './Copyright'; function Footer() { return ( <Wrapper> <Icons /> <Copyright /> </Wrapper> ); } export default Footer;
extensions/amp-inline-gallery/1.0/base-element.js
nexxtv/amphtml
/** * Copyright 2021 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
gulpfile.js
satococoa/react-firebase-chat
/** * * Web Starter Kit * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
docs/src/app/components/pages/components/List/ExampleNested.js
kittyjumbalaya/material-components-web
import React from 'react'; import MobileTearSheet from '../../../MobileTearSheet'; import {List, ListItem} from 'material-ui/List'; import ActionGrade from 'material-ui/svg-icons/action/grade'; import ContentInbox from 'material-ui/svg-icons/content/inbox'; import ContentDrafts from 'material-ui/svg-icons/content/draft...
packages/material-ui-icons/src/LocationOnSharp.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12...
src/slide.js
zymokey/react-carousel
import React from 'react'; export default class Slide extends React.Component { getSlideStyle(){ if(this.props.fade){ return this.props.curStyle ? 'caros-slide-fade curSlide-fade' : 'caros-slide-fade'; } else { return 'caros-slide'; } } render(){ return( <div className={this.getSlideStyle()}> ...
src/svg-icons/notification/phone-bluetooth-speaker.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationPhoneBluetoothSpeaker = (props) => ( <SvgIcon {...props}> <path d="M14.71 9.5L17 7.21V11h.5l2.85-2.85L18.21 6l2.15-2.15L17.5 1H17v3.79L14.71 2.5l-.71.71L16.79 6 14 8.79l.71.71zM18 2.91l.94.94-.94.94...
src/components/ContextMenuPopupTrigger.js
dahel/react-context-menu-popup
import React from 'react'; class ContextMenuPopupTrigger extends React.Component { render() { return ( <div className={this.getClassName()} onClick={this.handleClick.bind(this)} style={this.props.style} >{this.props.children}</div> ) } getClassName() { return this.props.className || 'contex...
src/main/resources/test/components/saiku/Wrapper.spec.js
OSBI/meteorite-core-ui
/** * Copyright 2016 OSBI Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
app/components/Header/index.js
kossel/react-boilerplate
import React from 'react'; import { FormattedMessage } from 'react-intl'; import A from './A'; import Img from './Img'; import NavBar from './NavBar'; import HeaderLink from './HeaderLink'; import Banner from './banner.jpg'; import messages from './messages'; class Header extends React.Component { // eslint-disable-l...
ui/src/js/password/forgotPassword/SendRequest.js
Dica-Developer/weplantaforest
import axios from 'axios'; import counterpart from 'counterpart'; import React, { Component } from 'react'; import IconButton from '../../common/components/IconButton'; import InputText from '../../common/components/InputText'; import Notification from '../../common/components/Notification'; export default class SendR...
docs/app/Examples/modules/Checkbox/Types/index.js
Rohanhacker/Semantic-UI-React
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import { Message } from 'semantic-ui-react' const CheckboxTypesExamples = () => ( <ExampleSection title='Types'> <Message info> ...
examples/universal/client/index.js
zanjs/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import configureStore from '../common/store/configureStore'; import App from '../common/containers/App'; const initialState = window.__INITIAL_STATE__; const store = configureStore(initialState); const rootElement = do...
__tests__/index.android.js
TASnomad/Fallon-react-native-app
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 /> ); });
packages/material-ui-icons/src/Filter1.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm11 10h2V5h-4v2h2v8zm7-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...
bitpig/__tests__/index.android.js
kuncloud/bitcoinHelper
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/app/containers/App.js
jonmak08/github-pulls
import React, {Component, PropTypes} from 'react'; import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; import * as pageActions from '../actions/page'; import * as updateActions from '../actions/update'; import {setLastUpdateCheck} from '../actions/config'; import UpdateMsg from '../components...
ajax/libs/handsontable/0.10.3/jquery.handsontable.full.js
hasantayyar/cdnjs
/** * Handsontable 0.10.3 * 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: Mon Feb 10 2014 14:15:11 GMT+0100 (CET) */ /*jslin...
ajax/libs/js-data/1.5.11/js-data-debug.js
nolsherry/cdnjs
/*! * js-data * @version 1.5.11 - Homepage <http://www.js-data.io/> * @author Jason Dobry <jason.dobry@gmail.com> * @copyright (c) 2014-2015 Jason Dobry * @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE> * * @overview Robust framework-agnostic data store. */ (function webpackUniversalModu...
src/routes/app/routes/tables/routes/static/components/StaticTables.js
ahthamrin/kbri-admin2
import React from 'react'; import QueueAnim from 'rc-queue-anim'; const MaterialTable = () => ( <article className="article"> <h2 className="article-title">Material Table</h2> <div className="box box-default table-box mdl-shadow--2dp"> <table className="mdl-data-table"> <thead> <tr> ...
src/index.js
rnbez/bluetooth-chrome
import React from 'react' import ReactDOM from 'react-dom' import App from './App' import './index.css' ReactDOM.render(<App />, document.getElementById('root'))
resources/apps/frontend/src/pages/attendance/actions.js
johndavedecano/PHPLaravelGymManagementSystem
import React from 'react'; import {Row, Col} from 'reactstrap'; import get from 'lodash/get'; import {TableFilters} from 'components/Table'; import MemberSelect from 'components/Form/Select/MemberSelect'; import queryFilters from 'utils/query-filters'; import Search from 'components/Form/Input/Search'; import withFilt...
ajax/libs/yasr/2.0.2/yasr.bundled.min.js
chrisdavies/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.YASR=e()}}(function(){var e;return function t(e,n,r){...
ajax/libs/rxjs/2.4.9/rx.all.compat.js
bsquochoaidownloadfolders/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false }; ...
ajax/libs/analytics.js/1.3.7/analytics.js
nesk/cdnjs
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
__tests__/components/LoginForm-test.js
linde12/grommet
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React from 'react'; import renderer from 'react-test-renderer'; import LoginForm from '../../src/js/components/LoginForm'; // needed because this: // https://github.com/facebook/jest/issues/1353 jest.mock('react-dom'); describe('LoginForm',...
ajax/libs/6to5/2.3.0/browser.js
froala/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return...
app/components/Right/About/AboutPaper.js
SpotifiyOrganization/spotifyHack
import React from 'react'; import { Row } from 'react-materialize'; const AboutPaper = () => { return ( <Row style={{height: '95vh', marginBottom: '0'}}> <Row style={{paddingTop: '20px', paddingLeft: '20px', paddingRight: '20px'}}> <Row><h5>About Us</h5></Row> <Row><a href="https://www.linkedin.com/in/ry...
ajax/libs/aui/5.6.7/aui/js/aui-dependencies.js
narikei/cdnjs
!function(){"use strict";function a(c,d){p||(p=new o(function(b){b.forEach(function(b){a.init(b.addedNodes),f(b.removedNodes)})}),p.observe(document,{childList:!0,subtree:!0})),d||(d={}),"function"==typeof d&&(d={insert:d}),l(d,a.defaults);var e=m(c,d);d.ready&&n.sheet.insertRule(c+":not(."+d.classname+"),["+c+"]:not(....
actor-apps/app-web/src/app/components/dialog/ComposeSection.react.js
JamesWatling/actor-platform
import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import ActorClient from '../../utils/ActorClient'; import { Styles, FlatButton } from 'material-ui'; import { KeyCodes } from '../../constants/ActorAppConstants'; import ActorTheme from '../../constants/ActorTheme'; im...
App/node_modules/react-navigation/lib-rn/views/Drawer/DrawerNavigatorItems.js
Dagers/React-Native-Differential-Updater
import React from 'react'; import { View, Text, Platform, StyleSheet } from 'react-native'; import TouchableItem from '../TouchableItem'; var babelPluginFlowReactPropTypes_proptype_Style = require('../../TypeDefinition').babelPluginFlowReactPropTypes_proptype_Style || require('prop-types').any; var babelPluginFlowRe...
geonode/monitoring/frontend/src/components/organisms/geonode-layers-analytics/index.js
ppasq/geonode
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { getResponseData, getErrorCount } from '../../../utils'; import HoverPaper from '../../atoms/hover-paper'; import HR from '../../atoms/hr'; import ResponseTable from '../../cels/response-table'; import LayerSel...
ajax/libs/x-editable/1.5.1/jqueryui-editable/js/jqueryui-editable.js
khasinski/cdnjs
/*! X-editable - v1.5.1 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ /** Form with single input element, two buttons and two states: normal/loading. Applied as jQuery method to DIV tag (not to form tag!...
src/components/List.js
jcmnunes/josenunesxyz
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import ListItem from './ListItem'; const StyledList = styled.ul` color: ${props => props.theme.neutral100}; margin-bottom: 0; `; class List extends Component { render() { const { data } = th...
client/extensions/woocommerce/app/store-stats/listview.js
Automattic/woocommerce-connect-client
/** @format */ /** * External dependencies */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; /** * Internal dependencies */ import { getSelectedSiteId, getSelectedSiteSlug } from 'state/ui/selectors'; import { getQueries } from './utils'; impo...
ajax/libs/vue/2.2.0-beta.2/vue.common.min.js
wout/cdnjs
"use strict";function _toString(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function toNumber(e){var t=parseFloat(e);return isNaN(t)?e:t}function makeMap(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:functio...
MobileApp/node_modules/react-native-elements/src/grid/Row.js
VowelWeb/CoinTradePros.com
import PropTypes from 'prop-types'; import React from 'react'; import { View, StyleSheet, TouchableOpacity } from 'react-native'; const Row = props => { const { containerStyle, size, onPress, activeOpacity } = props; const styles = StyleSheet.create({ container: { flex: size ? size : containerStyle && c...
test/PaginationSpec.js
Cellule/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Pagination from '../src/Pagination'; describe('Pagination', function () { it('Should have class', function () { let instance = ReactTestUtils.renderIntoDocument( <Pagination>Item content</Pagination> ); assert....
src/icons/LocalAirportIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class LocalAirportIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M42 32v-4L26 18V7c0-1.66-1.34-3-3-3s-3 1.34-3 3v11L4 28v4l16-5v11l-4 3v3l7-2 7 2v-3l-4-3V27l16 5z"/><...
src/icons/favorite_icon.js
camboio/ibis
import React from 'react'; export default function FavoriteIcon(props){ return( <svg className={props.className} xmlns="http://www.w3.org/2000/svg" viewBox="0 0 294.9 254.5"> <path className="st0" d="M140.9 244.8l-97.3-93.9C42.3 149.8 8 118.4 8 81 8 35.3 35.9 8 82.6 8c27.3 0 52.9 21.5 65.2 33.7C160.1...
ajax/libs/highstock/4.2.7/highstock.src.js
jonobr1/cdnjs
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highstock JS v4.2.7 (2016-09-21) * * (c) 2009-2016 Torstein Honsi * * License: www.highcharts.com/license */ (function (root, factory) { if (typeof module === 'object' && module.exports) { module.exports = root.document...
ajax/libs/rxjs/2.3.9/rx.all.js
drewfreyling/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (undefined) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, 'undefined': false...
src/index.js
jmahc/that-react-app-you-want
import React from 'react' import ReactDOM from 'react-dom' import App from '@/containers/App' import '#/index.css' const renderApplication = (ApplicationComponent) => ReactDOM.render(<ApplicationComponent />, document.getElementById('⚛')) // Render the application. renderApplication(App)
node_modules/react-bootstrap/es/Grid.js
mohammed52/door-quote-automator
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 ...
packages/wix-style-react/src/TagList/TagListAction/TagListAction.js
wix/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import Button from '../../Button'; import { st, classes } from '../TagList.st.css'; const TagListAction = ({ className, ...rest }) => ( <Button className={st(classes.item, className)} {...rest} /> ); TagListAction.displayName = 'TagListAction'; TagList...