path
stringlengths
5
195
repo_name
stringlengths
5
79
content
stringlengths
25
1.01M
jenkins-design-language/src/js/components/material-ui/svg-icons/hardware/computer.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const HardwareComputer = (props) => ( <SvgIcon {...props}> <path d="M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"/> </SvgIcon> ); HardwareComputer.displayName = 'HardwareComputer';...
packages/icons/src/md/places/ChildCare.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdChildCare(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M45.89 25.33c-.51 3.02-2.72 5.47-5.61 6.34a18.026 18.026 0 0 1-4.34 5.78C32.76 40.27 28.59 42 24 42s-8.76-1.73-11.94-4.55c-1.81-1.61-3.3-3.57-4.34-...
src/svg-icons/communication/contacts.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationContacts = (props) => ( <SvgIcon {...props}> <path d="M20 0H4v2h16V0zM4 24h16v-2H4v2zM20 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-2zm-8 2.75c1.24 0 2.25 1.01 2.25 2.25s...
src/components/Breadcumn/Header.js
flftfqwxf/react-redux-starter-kit
import React from 'react' import { IndexLink, Link } from 'react-router' import './Header.scss' export const Header = () => ( <div> <h1>React Redux Starter Kit</h1> <IndexLink to='/' activeClassName='route--active'> Home </IndexLink> {' · '} <Link to='/counter' activeClassName='route--activ...
packages/@vega/review-tool/src/components/ManageReviewProcess/ManageReviewProcess.js
VegaPublish/vega-studio
import React from 'react' import {map, switchMap} from 'rxjs/operators' import {combineLatest} from 'rxjs' import lyraClient from 'part:@lyra/base/client' import withPropsStream from '../../../../utils/withPropsStream' import {materializePaths} from 'part:@vega/datastores/document-preview' import ManageReviewItem from ...
client/views/setupWizard/Pager.stories.js
VoiSmart/Rocket.Chat
import { action } from '@storybook/addon-actions'; import React from 'react'; import { Pager } from './Pager'; export default { title: 'components/setupWizard/Pager', component: Pager, }; export const _default = () => <Pager disabled={false} isContinueEnabled={false} />; export const withBackButton = () => <Pager...
docs/src/app/components/pages/components/Drawer/ExampleUndocked.js
lawrence-yu/material-ui
import React from 'react'; import Drawer from 'material-ui/Drawer'; import MenuItem from 'material-ui/MenuItem'; import RaisedButton from 'material-ui/RaisedButton'; export default class DrawerUndockedExample extends React.Component { constructor(props) { super(props); this.state = {open: false}; } han...
library/src/pivotal-ui-react/tile-layout/tile-layout.js
sjolicoeur/pivotal-ui
import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import {mergeProps} from 'pui-react-helpers'; import 'pui-css-tile-layout'; export class TileLayout extends React.Component { static propTypes = { columns: PropTypes.oneOfType([ PropTypes.number, PropT...
components/dataset/header/index.js
sgmap/inspire
import React from 'react' import PropTypes from 'prop-types' import {translate} from 'react-i18next' import MarkdownPreview from '../../markdown-preview' import Warning from '../../warning' import Infos from './infos' import LifeCycle from './life-cycle' const shouldWarn = status => [ 'obsolete', 'underDevelopme...
pootle/static/js/shared/components/FormValueInput.js
ta2-1/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. */ import React from 'react'; import AutosizeTextarea from '...
src/svg-icons/device/brightness-low.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let DeviceBrightnessLow = (props) => ( <SvgIcon {...props}> <path d="M20 15.31L23.31 12 20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 ...
client/common/components/ToggleButton.js
Haaarp/geo
import React from 'react'; import uuid from 'uuid'; class ToggleButton extends React.Component { constructor(props){ super(props); this.id = uuid(); } _getButtonClassName(){ return "checkbox-wrap" + (this.props.className ? (' ' + this.props.className) : "") + ...
src/svg-icons/hardware/keyboard.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareKeyboard = (props) => ( <SvgIcon {...props}> <path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v...
src/Parser/Paladin/Holy/Modules/Items/DrapeOfShame.js
hasseboulen/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import ITEMS from 'common/ITEMS'; import HIT_TYPES from 'Parser/Core/HIT_TYPES'; import Wrapper from 'common/Wrapper'; import CoreDrapeOfShame, { DRAPE_OF_SHAME_CRIT_EFFECT } from 'Parser/Core/Modules/Items/Legion/DrapeOfShame'; import ItemHealingDone from...
information/blendle-frontend-react-source/app/components/signUp/SignUpContainer.js
BramscoChill/BlendleParser
import { history } from 'byebye'; import { STATUS_OK, STATUS_PENDING, USER_ID_TAKEN } from 'app-constants'; import React from 'react'; import PropTypes from 'prop-types'; import SignUpStore from 'stores/SignUpStore'; import AuthStore from 'stores/AuthStore'; import SignUpActions from 'actions/SignUpActions'; import Sig...
src/svg-icons/image/blur-on.js
verdan/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageBlurOn = (props) => ( <SvgIcon {...props}> <path d="M6 13c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0 4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm0-8c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-...
src/components/EditList.js
p632-sp-2016/eDocLite
/** * Created by parikhv on 4/10/16. */ import React, { Component } from 'react'; import { Input } from 'react-bootstrap'; /** * This class represents the editor dropdown option for bsSize', 'bsStyle', 'ComponentWidth', 'alignment' for the compnent properties */ export default class EditList extends Component { ...
src/components/Header/NavbarLink.js
cape-io/acf-client
import React from 'react' import { Link } from 'redux-history-sync' function NavbarLink({ children, className, component, href, to }) { const Comp = component || Link let Linkelement = ( <Comp to={to} className={className} activeStyle={{ color: '#A94545', }}> {children} </Comp> ) if (h...
fields/types/select/SelectColumn.js
w01fgang/keystone
import React from 'react'; import ItemsTableCell from '../../components/ItemsTableCell'; import ItemsTableValue from '../../components/ItemsTableValue'; var SelectColumn = React.createClass({ displayName: 'SelectColumn', propTypes: { col: React.PropTypes.object, data: React.PropTypes.object, linkTo: React.Prop...
actor-apps/app-web/src/app/components/dialog/MessagesSection.react.js
way1989/actor-platform
import React from 'react'; import _ from 'lodash'; import VisibilityStore from 'stores/VisibilityStore'; import MessageActionCreators from 'actions/MessageActionCreators'; import MessageItem from 'components/common/MessageItem.react'; let _delayed = []; let flushDelayed = () => { _.forEach(_delayed, (p) => { ...
shared/components/game/boardPanel/turnInfo.react.js
marek-sed/cogni
import React from 'react'; import moment from 'moment'; import 'moment-duration-format'; const colorMap = { '': '#383830', Sender: '#f92672', Receiver: '#a6e22e' , Eavesdropper: '#f2971f' } const TurnInfo = ({player: {role}, currentRound: {onTurn}, roundTime}) => { const roleColor = col...
examples/react/app/assets/javascripts/components/Counter/renderServer.js
jdlehman/js_render
import {renderToString} from 'react-dom/server'; import React from 'react'; import Counter from './index'; window.renderCounterServer = function(props) { return renderToString(<Counter {...props} />); };
site/pages/APIPage.js
hiddentao/react-dnd
import React from 'react'; import Header from '../components/Header'; import PageBody from '../components/PageBody'; import SideBar from '../components/SideBar'; import StaticHTMLBlock from '../components/StaticHTMLBlock'; import { APIPages } from '../Constants'; export default class APIPage { render() { return ...
docs/app/Examples/modules/Sticky/Usage/index.js
shengnian/shengnian-ui-react
import React from 'react' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' const StickyUsageExamples = () => ( <ExampleSection title='Usage'> <ComponentExample title='Sticky offset' descripti...
src/svg-icons/social/sentiment-satisfied.js
mmrtnz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialSentimentSatisfied = (props) => ( <SvgIcon {...props}> <circle cx="15.5" cy="9.5" r="1.5"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S1...
client.js
maxmert/rocket-react
import React from 'react'; import Router from 'react-router'; import app from './app/app.jsx'; Router.run(app, Router.HistoryLocation, (Root) => { React.render(React.createElement(Root), document.getElementById('app')); });
frontend/components/ListItem.js
tahosalodge/camping-guide
import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; const ListItem = ({ className, place, selectLocation }) => ( <div className={className} onClick={() => selectLocation(place)} role="button" tabIndex={0} > <h1>{place.name}</h1> <p>{place.l...
dashboard-ui/app/components/campaign/selectAudience.js
CloudBoost/cloudboost
import React from 'react'; import PropTypes from 'prop-types'; import { Modal, Button } from 'react-bootstrap'; import {} from '../../actions'; import FilterIcon from 'material-ui/svg-icons/content/filter-list'; import IconButton from 'material-ui/IconButton'; import Popover from 'material-ui/Popover'; import Chip from...
src/components/Footer/Footer.js
licatajustin/preesh
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React, { Component } from 'react'; import withStyle...
pootle/static/js/admin/components/Search.js
r-o-b-b-i-e/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. */ import cx from 'classnames'; import React from 'react'; i...
src/components/button_fillLights.js
JohnDHamm/nog-web
import React, { Component } from 'react'; import values from '../styles/values'; class ButtonFillLights extends Component { render() { const { btnSize, fillColor } = this.props; const circleDia = btnSize / 3.5; const styles = { root: { height: btnSize, width: btnSize, cursor: 'pointer', bord...
examples/async/index.js
bigardone/redux
import 'babel-core/polyfill'; import React from 'react'; import { Provider } from 'react-redux'; import App from './containers/App'; import configureStore from './store/configureStore'; const store = configureStore(); React.render( <Provider store={store}> {() => <App />} </Provider>, document.getElementByI...
docs/app/Examples/collections/Form/States/index.js
Rohanhacker/Semantic-UI-React
import React from 'react' import ExampleSection from 'docs/app/Components/ComponentDoc/ExampleSection' import ComponentExample from 'docs/app/Components/ComponentDoc/ComponentExample' const FormStatesExamples = () => ( <ExampleSection title='States'> <ComponentExample title='Loading' description='If ...
app/javascript/mastodon/features/public_timeline/index.js
ikuradon/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader fro...
src/components/antd/steps/index.js
hyd378008136/olymComponents
import React from 'react'; import PropTypes from 'prop-types'; import RcSteps from 'rc-steps'; export default class Steps extends React.Component { render() { return (React.createElement(RcSteps, Object.assign({}, this.props))); } } Steps.Step = RcSteps.Step; Steps.defaultProps = { prefixCls: 'ant-s...
src/icons/Document.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class Document extends React.Component { render() { if(this.props.bare) { return <g> <path d="M399.3,168.9c-0.7-2.9-2-5-3.5-6.8l-83.7-91.7c-1.9-2.1-4.1-3.1-6.6-4.4c-2.9-1.5-6.1-1.6-9.4-1.6H136.2 c-12.4,0-23.7,9.6-...
src/main/resources/static/bower_components/jqwidgets/jqwidgets-react/react_jqxdatatable.js
dhawal9035/WebPLP
/* jQWidgets v4.5.0 (2017-Jan) Copyright (c) 2011-2017 jQWidgets. License: http://jqwidgets.com/license/ */ import React from 'react'; let jqxDataTable = React.createClass ({ getInitialState: function () { return { value: '' }; }, componentDidMount: function () { let options = this.manageAttributes(); ...
src/components/d3charts/MiniPieChart.js
nbuechler/friendly-finder
import React from 'react'; import d3 from 'd3'; export default class MiniPieChart extends React.Component { static defaultProps = { width: 50, height: 50, x: 0, y: 0, } constructor (props) { super(props); this.state = { }; } render () { var {props} = this, {width, height, data} ...
react-dev/containers/about.js
InsidiousMind/code.LiquidThink
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { fetchPage } from '../actions/index'; import { Page } from '../components/page'; class About extends Component { componentWillMount() { this.props.fetchPage('About', '/about/'); } render() { if (!this.props.p...
src/svg-icons/notification/airline-seat-individual-suite.js
nathanmarks/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationAirlineSeatIndividualSuite = (props) => ( <SvgIcon {...props}> <path d="M7 13c1.65 0 3-1.35 3-3S8.65 7 7 7s-3 1.35-3 3 1.35 3 3 3zm12-6h-8v7H3V7H1v10h22v-6c0-2.21-1.79-4-4-4z"/> </SvgIcon> ); Noti...
client/components/static/Privacy.js
MusicConnectionMachine/VisualizationG6
import React from 'react' import '../../../style/legal.scss' class Privacy extends React.Component { render () { return ( <div className='container-fluid animated fadeIn legalpage'> <h2>MusicConnectionMachine Privacy Policy</h2> <p>This privacy policy has been compiled to better ser...
app/components/OutputLine.js
kenwilcox/fil
import React from 'react'; import {parseType} from 'helpers'; import Chunk from 'components/Chunk'; class OutputLine extends React.Component { render() { var block = "console__output"; return ( <div className={block + "__line"}> {this.props.output.map( (chunk, i) => <Chunk key={i} ...
web/src/js/components/comuns/button.js
helderfarias/ges
'use strict'; import React from 'react'; let Button = React.createClass({ getDefaultProps() { return { icon: '', name: '', target: {} } }, render() { return ( <button type="button" className="btn btn-default btn-md btn-space" onClic...
src/pages/news/NBA/NewsNBAFollow.js
HeliumLau/Hoop-react
import React from 'react'; import NewsList from 'components/NewsList.js'; export default class NewsNBAFollow extends React.Component { render() { const list = [ { title: '帕森斯晒自己与演员特里-克鲁斯的合照', lNum: '28', cNum: '212', bgurl: '...
src/svg-icons/social/sentiment-satisfied.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let SocialSentimentSatisfied = (props) => ( <SvgIcon {...props}> <circle cx="15.5" cy="9.5" r="1.5"/><circle cx="8.5" cy="9.5" r="1.5"/><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S1...
src/svg-icons/action/list.js
igorbt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionList = (props) => ( <SvgIcon {...props}> <path d="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 7v2h14V7H7z"/> </SvgIcon> ); ActionList = pure(ActionList); ActionList.displa...
src/views/clause/ClauseTable.js
bostontrader/senmaker
// @flow import React from 'react' import ClauseRow from './ClauseRow' function ClauseTable(props:Object):?Object { let clauseTable:?Object = null const clauseRows:Object = [...props.clause.getIn(['dict','coll']).values()].map(clause => ( <ClauseRow key={clause.get('id')} clause={clause} strings={pr...
src/entypo/CircularGraph.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--CircularGraph'; let EntypoCircularGraph = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M17.584,9.372h2c-0.065-1.049-0.293-2.053-0.668-2.984L17.16,7.402C17.384,8.025,17.531,8....
js/components/tap/index2.js
leehyoumin/asuraCham
'use strict'; //This is a Add project import React, { Component } from 'react'; import { connect } from 'react-redux'; import { popRoute } from '../../actions/route'; import { openDrawer, closeDrawer } from '../../actions/drawer'; import { setIndex } from '../../actions/list'; import { replaceRoute, replac...
docs/demos/react-hello-world/src/index.js
reTHINK-project/dev-hyperty
// modules import React from 'react'; import ReactDOM from 'react-dom'; import $ from 'jquery'; // CSS import './index.css'; import './App.css'; // React components import ReactObserver from './ReactObserver' // render React component ReactDOM.render( <ReactObserver />, document.getElementById('root') );
app/javascript/mastodon/features/compose/components/navigation_bar.js
im-in-space/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import ActionBar from './action_bar'; import Avatar from '../../../components/avatar'; import Permalink from '../../../components/permalink'; import IconButton from '../../../components/icon_button...
fields/types/password/PasswordFilter.js
lojack/keystone
import React from 'react'; import { SegmentedControl } from 'elemental'; const OPTIONS = [ { label: 'Is Set', value: true }, { label: 'Is NOT Set', value: false } ]; var PasswordFilter = React.createClass({ getInitialState () { return { checked: this.props.value || true }; }, toggleChecked (checked) { ...
src/svg-icons/image/wb-sunny.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageWbSunny = (props) => ( <SvgIcon {...props}> <path d="M6.76 4.84l-1.8-1.79-1.41 1.41 1.79 1.79 1.42-1.41zM4 10.5H1v2h3v-2zm9-9.95h-2V3.5h2V.55zm7.45 3.91l-1.41-1.41-1.79 1.79 1.41 1.41 1.79-1.79zm-3.21 13.7...
src/shared/element-react/dist/npm/es6/src/carousel/Carousel.js
thundernet8/Elune-WWW
import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _createClass from 'babel-runtime/helpers/createClass'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from 'babel-runtime/helpers/inherits'; import React from 'react'; import throttle f...
src/routes.js
jetshoji/Asia_Trip
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import App from './components/app'; import Home from './components/home'; import AboutMe from './components/about_me/about_me'; import Videos from './components/videos/videos'; export default ( <Route path="/" component={App}> <IndexR...
src/index.js
henrybuilt/react-sticky-table
import React from 'react'; import styled, { css } from 'styled-components'; var getBorder = (props) => `${props.borderWidth === undefined ? '2px' : (props.borderWidth || '0px')} solid ${props.borderColor || '#e5e5e5'}` const Table = styled('div').attrs(() => ({ className: 'sticky-table-table' }))` white-space: no...
node_modules/react-router/es/Router.js
Rabbit884/reactapp
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) { var target = {...
www/src/pages/index.js
TaitoUnited/taito-cli
import React from 'react'; import styled from '@emotion/styled'; import { css } from '@emotion/react'; import { Link } from 'gatsby'; import theme from '../theme'; import { media } from '../utils'; import SEO from '../components/SEO'; import Spacing from '../components/Spacing'; import Navigation from '../components/N...
gatsby/src/layouts/index.js
CodeFarmCamp/codefarmcamp.com
import React from 'react' import PropTypes from 'prop-types' import Link from 'gatsby-link' import Helmet from 'react-helmet' import './index.css' const Header = () => ( <div style={{ background: 'rebeccapurple', marginBottom: '1.45rem', }} > <div style={{ margin: '0 auto', ...
app/components/VacancyDetails/index.js
Ratholien/JobReact
import React from 'react'; import { Paper, TextField } from 'material-ui'; class VacancyDetails extends React.Component { constructor(props) { super(props); this.state = { fields: ['op1', 'op2', 'op3'], }; } render() { return ( <Paper className="vacancyDetails"> {this.state.f...
docs/src/IntroductionPage.js
adampickeral/react-bootstrap
import React from 'react'; import CodeExample from './CodeExample'; import NavMain from './NavMain'; import PageHeader from './PageHeader'; import PageFooter from './PageFooter'; const IntroductionPage = React.createClass({ render() { return ( <div> <NavMain activePage="introduction" /> <...
examples/cra/src/index.js
styleguidist/react-styleguidist
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render(<App />, document.getElementById('root'));
test/regressions/tests/List/SimpleListItem.js
AndriusBil/material-ui
// @flow import React from 'react'; import { ListItem, ListItemText } from 'material-ui/List'; export default function SimpleListItem() { return ( <div style={{ background: '#fff', width: 300 }}> <ListItem> <ListItemText primary="Primary" /> </ListItem> <ListItem> <ListItemText...
src/libraries/notResolved.js
kjg531/react-bluekit
import React from 'react'; export default (data) => () => (<div>Unable to resolve: {JSON.stringify(data)}</div>)
examples/js/nextjs/lib/bugsnag.js
bugsnag/bugsnag-js
import React from 'react' import Bugsnag from '@bugsnag/js' import BugsnagPluginReact from '@bugsnag/plugin-react' import getConfig from 'next/config' const { serverRuntimeConfig, publicRuntimeConfig } = getConfig() Bugsnag.start({ apiKey: serverRuntimeConfig.BUGSNAG_API_KEY || publicRuntimeConfig.BUGSNAG_API_KEY, ...
src/views/icons/AutomationsIcon.js
physiii/home-gateway
import React from 'react'; import IconBase from './IconBase.js'; export const AutomationsIcon = (props) => ( <IconBase {...props} viewBox="0 0 20 22"> <path d="M16.54185892 18.39352399L15.76077 12.74640967l6.06217782 3.5-5.28108891 2.14711432zm1.3839746-4.39711432l1.7320508 1c2.75-4.76313972 1.10288569-10.91025404-...
client/components/User/AddUserComponent.js
jeggy/trialbee-test
import React from 'react'; import { Button } from 'react-mdl'; import UserDialog from './UserDialogComponent'; import styles from './User.scss'; export default class User extends React.Component { constructor(props) { super(props); this.state = { dialog: false }; } static propTypes = { vi...
admin/client/App/screens/List/components/UpdateForm.js
danielmahon/keystone
import React from 'react'; import Select from 'react-select'; import { findDOMNode } from 'react-dom'; import assign from 'object-assign'; import { Fields } from 'FieldTypes'; import InvalidFieldType from '../../../shared/InvalidFieldType'; import { plural } from '../../../../utils/string'; import { BlankState, Button,...
app/javascript/mastodon/features/community_timeline/index.js
MastodonCloud/mastodon
import React from 'react'; import { connect } from 'react-redux'; import { defineMessages, injectIntl, FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import StatusListContainer from '../ui/containers/status_list_container'; import Column from '../../components/column'; import ColumnHeader fro...
src/components/flash/FlashMessagesList.js
AleksandrRogachev94/chat-vote-go-frontend
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import FlashMessage from './FlashMessage' import { deleteFlashMessage } from '../../actions/flashMessages' const FlashMessagesList = ({ messages, deleteFlashMessage }) => { const htmlMessages = messages.map(msg => ( ...
fixtures/ssr/src/index.js
maxschmeling/react
import React from 'react'; import {hydrate} from 'react-dom'; import App from './components/App'; hydrate(<App assets={window.assetManifest} />, document);
tp-3/juan-pablo-gonzalez/src/shared/components/columnsSelector/components/columnList/ColumnList.js
jpgonzalezquinteros/sovos-reactivo-2017
import React from 'react'; import PropTypes from 'prop-types'; import { VisibleIcon, HiddenIcon } from '../../../svgIcons/SvgIcons'; // eslint-disable-line import/no-extraneous-dependencies import SovosTooltip from '../../../../../shared/components/sovos-tooltip/SovosTooltip'; import { violet } from '../../../../../the...
src/components/SearchResult/SearchResult.js
aos2006/tesDeploy
import React from 'react'; import { ProductItem } from 'components/Product'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './searchResult.css'; export const SearchResult = ({ quantity, list }) => ( <div className={s.root}> <h3 className={s.title}>{`${quantity} Searched result`}<...
app/components/IssueIcon/index.js
AnhHT/react-boilerplate
import React from 'react'; function IssueIcon(props) { return ( <svg height="1em" width="0.875em" className={props.className} > <path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v...
node_modules/react-bootstrap/es/MediaBody.js
Chen-Hailin/iTCM.github.io
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 ...
src/client.js
dailymotion/react-collider
import React from 'react' import Router from 'react-router' import collider from './reactCollider' import {merge} from 'ramda' const defaultOptions = { fetch: null } // Client side rendering var renderPage = function reanderPage(Handler, data) { React.render(React.createElement(Handler, {data: data}), documen...
src/components/GridButton.js
pixelcanvasio/pixelcanvas
/** * Created by arkeros on 31/5/17. * * @flow */ import React from 'react'; import { connect } from 'react-redux'; import FaTh from 'react-icons/lib/fa/th'; import FloatingActionButton from './FloatingActionButton'; import { toggleGrid } from '../actions'; const GridButton = ({ onToggleGrid }) => ( <Floating...
src/routes/About/components/AboutView.js
zhangjianguo1500/f01
import React from 'react' import DuckImage from '../assets/Duck.jpg' import './AboutView.scss' import '../../../styles/font.scss' export const AboutView = () => ( <div> <h4>About Web!</h4> <ul> <li> <a href = "#">添加</a> </li> <li> <a href = "#">添加1</a> </li> </...
src/js/components/icons/base/Link.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
src/serverRender.js
wahengchang/react-redux-boilerplate
import 'babel-polyfill' import React from 'react' import ReactDOMServer from 'react-dom/server' import { createStore, compose, applyMiddleware } from 'redux' import thunk from 'redux-thunk' import _reducers from './reducers' import { Provider } from 'react-redux'; import matchConfig from './matchConfig' import { Sta...
src/components/icons/settings.js
ipfs-shipyard/peerpad
import React from 'react' export default ({ className, style }) => ( <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 149 146.7' className={className} style={style}> <path d='M126,73.35a14.74,14.74,0,0,0-12.17-14.5l-1.28-3.07a14.74,14.74,0,0,0-1.64-18.85,15.05,15.05,0,0,0-18.86-1.65L89,34a14.72,14.72,0,0,0-2...
anubis/ui/components/scratchpad/ScratchpadRecordsContainer.js
KawashiroNitori/Anubis
import React from 'react'; import { connect } from 'react-redux'; import Tabs, { TabPane } from 'rc-tabs'; import TabContent from 'rc-tabs/lib/TabContent'; import ScrollableInkTabBar from 'rc-tabs/lib/ScrollableInkTabBar'; import Icon from '../react/IconComponent'; import Panel from './PanelComponent'; import PanelButt...
docs/app/Examples/addons/TextArea/Usage/TextAreaExampleAutoHeightRows.js
aabustamante/Semantic-UI-React
import React from 'react' import { Form, TextArea } from 'semantic-ui-react' const TextAreaExampleAutoHeightRows = () => ( <Form> <TextArea autoHeight placeholder='Try adding multiple lines' rows={1} /> </Form> ) export default TextAreaExampleAutoHeightRows
pootle/static/js/auth/components/RequestPasswordResetForm.js
evernote/zing
/* * Copyright (C) Pootle contributors. * Copyright (C) Zing 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. */ import React from 'rea...
actor-apps/app-web/src/app/components/modals/create-group/Form.react.js
darioajr/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...
mobile/js/router/index.js
lovelypig5/wms
import React from 'react' import { AsyncStorage } from 'react-native'; // import SideMenu from 'react-native-side-menu'; // import Menu from '../features/menu'; import Nav from '../features/navigator'; import Entry from '../features'; import LoginButton from '../features/login/button'; import DICT from '../config/dict'...
node_modules/react-transition-group/esm/SwitchTransition.js
jerednel/jerednel.github.io
import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; var _leaveRenders, _enterRenders; import React from 'react'; import PropTypes from 'prop-types'; import { ENTERED, ENTERING, EXITING } from './Transition'; import TransitionGroupContext from './TransitionGroupContext'; function areChildrenDiffere...
src/components/TeaserFooter/index.js
iris-dni/iris-frontend
import React from 'react'; import styles from './teaser-footer.scss'; import TeaserMetrics from 'components/TeaserMetrics'; import TeaserInfo from 'components/TeaserInfo'; const TeaserFooter = ({ city, owner, metrics }) => ( <footer className={styles.root}> <div className={styles.info}> <TeaserInfo ...
test/js/release_test/ViroVideoTest.js
viromedia/viro
'use strict'; import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; import { ViroScene, ViroVideo, ViroOmniLight, ViroSceneNavigator, Materials, ViroText, ViroUtils, Viro360Photo, Viro360Video, ViroImage, ViroMaterials, } from 'reac...
app/src/client/app/framework/SvgPresentation.js
syrel/Open-Data
/** * Created by syrel on 31.05.17. */ import React from 'react'; import PresentationComponent from './PresentationComponent'; import Presentation from './Presentation'; import ElementQueries from 'css-element-queries'; import $ from 'jquery'; import _ from 'underscore'; class SvgComponent extends PresentationCompo...
src/components/common/svg-icons/editor/title.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorTitle = (props) => ( <SvgIcon {...props}> <path d="M5 4v3h5.5v12h3V7H19V4z"/> </SvgIcon> ); EditorTitle = pure(EditorTitle); EditorTitle.displayName = 'EditorTitle'; EditorTitle.muiName = 'SvgIcon'; ex...
packages/material-ui-icons/src/Adb.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let Adb = props => <SvgIcon {...props}> <path d="M5 16c0 3.87 3.13 7 7 7s7-3.13 7-7v-4H5v4zM16.12 4.37l2.1-2.1-.82-.83-2.3 2.31C14.16 3.28 13.12 3 12 3s-2.16.28-3.09.75L6.6 1.44l-.82.83 2.1 2.1C6.14 5.64 5 7....
examples/values/src/app.js
quandhz/resaga
import 'babel-polyfill'; import React from 'react'; import { render } from 'react-dom'; import { Provider } from 'react-redux'; import configureStore from './utils/configureStore'; import App from './containers/App'; import { reducer, sagas } from '../../../build'; const store = configureStore({ normaliseStore: redu...
packages/react-dom/src/client/ReactDOMFiberOption.js
anushreesubramani/react
/** * Copyright (c) 2013-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 warning from 'fbjs/lib/warning'; function flattenChildren(children) { let content = '';...
src/svg-icons/editor/format-align-right.js
andrejunges/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorFormatAlignRight = (props) => ( <SvgIcon {...props}> <path d="M3 21h18v-2H3v2zm6-4h12v-2H9v2zm-6-4h18v-2H3v2zm6-4h12V7H9v2zM3 3v2h18V3H3z"/> </SvgIcon> ); EditorFormatAlignRight = pure(EditorFormatAlign...
Mr.Mining/MikeTheMiner/Santas_helpers/Sia_wallet/resources/app/plugins/Wallet/js/components/transactionlist.js
patel344/Mr.Miner
import PropTypes from 'prop-types' import React from 'react' import { List } from 'immutable' const TransactionList = ({transactions, ntransactions, actions}) => { if (transactions.size === 0) { return ( <div className="transaction-list"> <h3> No recent transactions </h3> </div> ) } const prettyTimest...
App.js
mechanizzed/talk-support
import React, { Component } from 'react'; import { Modal, View, Text, Button, TouchableOpacity, TouchableHighlight } from 'react-native'; import styles from './src/styles/styles'; export default class App extends React.Component{ state = { modalYesVisible: false, modalNoVisible: false, } setModalYesVisible(vi...
components/Paint/PaintModal.js
slidewiki/slidewiki-platform
import PropTypes from 'prop-types'; import React from 'react'; import {connectToStores} from 'fluxible-addons-react'; import FocusTrap from 'focus-trap-react'; import { Button, Divider, Dropdown, Icon, Input, Modal, Popup, Segment } from 'semantic-ui-react'; import { Image as Img} from 'semantic-ui-react'; import uplo...
assets/jqwidgets/jqwidgets-react/react_jqxdocking.js
juannelisalde/holter
/* jQWidgets v4.5.4 (2017-June) Copyright (c) 2011-2017 jQWidgets. License: http://jqwidgets.com/license/ */ import React from 'react'; const JQXLite = window.JQXLite; export default class JqxDocking extends React.Component { componentDidMount() { let options = this.manageAttributes(); this.create...
src/routes/login/index.js
donal-crotty/fuzzy-telegram
/** * React Starter Kit (https://www.reactstarterkit.com/) * * Copyright © 2014-2016 Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; // import App from '../../compo...