path
stringlengths
5
195
repo_name
stringlengths
5
79
content
stringlengths
25
1.01M
src/svg-icons/action/extension.js
frnk94/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionExtension = (props) => ( <SvgIcon {...props}> <path d="M20.5 11H19V7c0-1.1-.9-2-2-2h-4V3.5C13 2.12 11.88 1 10.5 1S8 2.12 8 3.5V5H4c-1.1 0-1.99.9-1.99 2v3.8H3.5c1.49 0 2.7 1.21 2.7 2.7s-1.21 2.7-2.7 2.7H2V...
example/src/test_device.js
flywingdevelopers/rn-naive
/** * Test Device Information * Kevin Lee 31 Oct 2017 **/ import React from 'react' import { Device, Screen, DataBar, Input } from 'rn-naive' import AppInfo from '../package.json' export default class App extends React.Component{ render() { return ( <Screen scrollable> <DataBar text='App Verison' ...
src/js/sections/End.js
lianwangtao/shanelian.com
import React from 'react'; import InfographicSection from '../components/InfographicSection'; import EndButton from '../components/EndButton'; import Box from 'grommet/components/Box'; import Headline from 'grommet/components/Headline'; import Button from 'grommet/components/Button'; import Group from 'grommet/compone...
src/routes.js
thiagoc7/mp_parse
import React from 'react'; import { Route, IndexRoute } from 'react-router'; import Home from './components/Home' import Todos from './components/todos/Todos' import Hover from './components/hover/Hover' import Reddit from './components/reddit/Reddit' import Expenses from './pages/Expenses' const routes = ( <Rout...
src/router.js
cpsubrian/redis-explorer
import React from 'react' import Router, {Route, NotFoundRoute} from 'react-router' import MainHandler from './components/handlers/MainHandler' import NotFoundHandler from './components/handlers/NotFoundHandler' import BrowseHandler from './components/handlers/BrowseHandler' import InfoHandler from './components/handl...
src/containers/cobrand-logo.js
MoveOnOrg/mop-frontend
/* eslint-disable camelcase */ import React from 'react' import { withRouter } from 'react-router' import PropTypes from 'prop-types' import { connect } from 'react-redux' class CobrandLogo extends React.Component { renderLogo() { const { cobrand } = this.props return ( <img className='org_logo...
app/javascript/mastodon/components/column_back_button.js
glitch-soc/mastodon
import React from 'react'; import { FormattedMessage } from 'react-intl'; import PropTypes from 'prop-types'; import Icon from 'mastodon/components/icon'; import { createPortal } from 'react-dom'; export default class ColumnBackButton extends React.PureComponent { static contextTypes = { router: PropTypes.objec...
App/src/features/login/LoginMessage.js
DupK/dashboard-epitech
/** * Created by desver_f on 06/03/17. */ import React, { Component } from 'react'; import { StyleSheet, Text } from 'react-native'; const LoginMessage = ({ message }) => { return ( <Text style={styles.loginMessage}> { message } </Text> ); }; LoginMessage.propTypes = { ...
examples/with-react-intl/pages/_app.js
BlancheXu/test
import App from 'next/app' import React from 'react' import { createIntl, createIntlCache, RawIntlProvider } from 'react-intl' // This is optional but highly recommended // since it prevents memory leak const cache = createIntlCache() export default class MyApp extends App { static async getInitialProps ({ Componen...
src/containers/TagEditorModal.js
Hylozoic/hylo-redux
import React from 'react' import { connect } from 'react-redux' import { debounce, keys, isEmpty, map } from 'lodash' import { closeModal, editTagDescription, editNewTagAndDescription, createTagInCommunity, notify, updateCommunityChecklist } from '../actions' import Modal from '../components/Modal' import M...
src/svg-icons/action/payment.js
ngbrown/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionPayment = (props) => ( <SvgIcon {...props}> <path d="M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z"/> </SvgIcon> ); ActionPay...
src/index.js
dzsobacsi/dungeon-game
import React from 'react' import ReactDOM from 'react-dom' import App from './components/App' import generateDungeon from './dungeon/generateDungeon' import {createStore, compose} from 'redux' import {Provider} from 'react-redux' import reducer from './reducer' import {AppContainer} from './components/App' const MAPSI...
app/javascript/mastodon/components/icon.js
lindwurm/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; export default class Icon extends React.PureComponent { static propTypes = { id: PropTypes.string.isRequired, className: PropTypes.string, fixedWidth: PropTypes.bool, }; render () { const { id, c...
docs/src/app/components/pages/components/AppBar/ExampleIcon.js
lawrence-yu/material-ui
import React from 'react'; import AppBar from 'material-ui/AppBar'; /** * A simple example of `AppBar` with an icon on the right. * By default, the left icon is a navigation-menu. */ const AppBarExampleIcon = () => ( <AppBar title="Title" iconClassNameRight="muidocs-icon-navigation-expand-more" /> ); e...
node_modules/react-color/src/components/swatches/Swatches.js
ottomajik/react-demo
'use strict'; /* @flow */ import React from 'react'; import ReactCSS from 'reactcss'; import color from '../../helpers/color'; import material from 'material-colors'; import { Raised } from '../../../modules/react-material-design'; import SwatchesGroup from './SwatchesGroup'; export class Swatches extends ReactCSS.C...
src/svg-icons/image/filter-center-focus.js
hwo411/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterCenterFocus = (props) => ( <SvgIcon {...props}> <path d="M5 15H3v4c0 1.1.9 2 2 2h4v-2H5v-4zM5 5h4V3H5c-1.1 0-2 .9-2 2v4h2V5zm14-2h-4v2h4v4h2V5c0-1.1-.9-2-2-2zm0 16h-4v2h4c1.1 0 2-.9 2-2v-4h-2v4zM12 9...
node_modules/react-icons/md/playlist-play.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdPlaylistPlay = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m28.4 21.6l8.2 5-8.2 5v-10z m-25 3.4v-3.4h21.6v3.4h-21.6z m28.2-16.6v3.2h-28.2v-3.2h28.2z m0 6.6v3.4h-28.2v-3.4h28.2z"/></g> </Icon> ) export default MdPlay...
Libraries/NewAppScreen/components/Header.js
exponent/react-native
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ 'use strict'; import Colors from './Colors'; import type {Node} from 'react'; import {Text, St...
front/src/components/ArticleList.js
muhammad-awan/financial-news
import React from 'react' import Article from './Article' export default function ArticleList({ items }){ return( <div> { items.map((item) => ( <Article key={ item._id } { ... item } /> )) } </div> ) }
app/components/LoadingIndicator/index.js
MaleSharker/Qingyan
import React from 'react'; import Circle from './Circle'; import Wrapper from './Wrapper'; const LoadingIndicator = () => ( <Wrapper> <Circle /> <Circle rotate={30} delay={-1.1} /> <Circle rotate={60} delay={-1} /> <Circle rotate={90} delay={-0.9} /> <Circle rotate={120} delay={-0.8} /> <Cir...
assets/javascripts/archon/components/ProcSpecSection.js
panli889/archon
import React from 'react'; import Radium from 'radium'; import MDL from './MdlComponents'; import DescriptionList from './DescriptionList'; let ProcSpecSection = React.createClass({ contextTypes: { theme: React.PropTypes.object, }, render() { const {theme} = this.context; const {proc} = this.props;...
app.js
maven-hackathon/TheQueerTour
/** * React Static Boilerplate * https://github.com/koistya/react-static-boilerplate * Copyright (c) Konstantin Tarkus (@koistya) | MIT license */ import 'babel/polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { canUseDOM } from 'fbjs/lib/ExecutionEnvironment'; import Location from '....
app/javascript/mastodon/features/compose/components/upload_button.js
maa123/mastodon
import React from 'react'; import IconButton from '../../../components/icon_button'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { connect } from 'react-redux'; import ImmutablePureComponent from 'react-immutable-pure-component'; import ImmutablePropTypes from 're...
examples/async/containers/Root.js
clintonhalpin/redux
import React, { Component } from 'react'; import { Provider } from 'react-redux'; import configureStore from '../store/configureStore'; import AsyncApp from './AsyncApp'; const store = configureStore(); export default class Root extends Component { render() { return ( <Provider store={store}> {() ...
src/svelte/shared/tabbar-context.js
nolimits4web/Framework7
// import React from 'react'; // const TabbarContext = React.createContext({ // tabbarHasLabels: false, // }); // export { TabbarContext };
src/Checkbox.js
ship-components/react-ship-checkbox
/** **************************************************************************** * CheckBox * * @author Isaac Suttell <isaac@isaacsuttell.com> * @file Reusable checkbox component. Requires webpack with style/css-loader ******************************************************************************/ /...
fields/types/code/CodeField.js
Pylipala/keystone
import _ from 'underscore'; import CodeMirror from 'codemirror'; import Field from '../Field'; import React from 'react'; import { FormInput } from 'elemental'; /** * TODO: * - Remove dependency on underscore */ // See CodeMirror docs for API: // http://codemirror.net/doc/manual.html module.exports = Field.create...
src/scripts/ServiceListItem.js
pixelkritzel/pwg_react
import React, { Component } from 'react'; import { EditableText } from './EditableText'; import services from './services'; export class ServiceListItem extends Component { updateServiceName(newName, oldName) { const newServices = services.updateServiceName(oldName, newName); } deleteService() { ...
src/svg-icons/communication/call-merge.js
IsenrichO/mui-with-arrows
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCallMerge = (props) => ( <SvgIcon {...props}> <path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"/> </SvgIcon> ); CommunicationCallMerge...
stories/SpellCheck/index.js
jpuri/react-draft-wysiwyg
/* @flow */ import React from 'react'; import { Editor } from '../../src'; const SpellCheck = () => (<div className="rdw-storybook-root"> <h3>Editor with spellcheck</h3> <Editor spellCheck toolbarClassName="rdw-storybook--toolbar" wrapperClassName="rdw-storybook-wrapper" editorClassN...
app/containers/NotFoundPage/index.js
gerbilsinspace/babynames
/** * NotFoundPage * * This is the page we show when the user visits a url that doesn't have a route * * NOTE: while this component should technically be a stateless functional * component (SFC), hot reloading does not currently support SFCs. If hot * reloading is not a necessity for you then you can refactor it...
app/components/venue/VenueExpenses.js
BenGoldstein88/hitch-frontend
import React from 'react'; import RentalItem from './RentalItem' import ExpenseItem from './ExpenseItem' import VenueExpensesFooter from './VenueExpensesFooter' export default class VenueExpenses extends React.Component { constructor(props) { super(props); this.state = { item1: '', price1: '', ...
src/pages/About/About.js
romellogood/react-stylus-reactrouter-boilerplate
import React from 'react'; import styles from './About.styl'; export default class About extends React.Component { render() { return ( <div className={styles.About}> <p>About</p> </div> ) } }
src/main.js
przeor/ReactC
import React from 'react' import ReactDOM from 'react-dom' import createBrowserHistory from 'history/lib/createBrowserHistory' import { useRouterHistory } from 'react-router' import { syncHistoryWithStore } from 'react-router-redux' import createStore from './store/createStore' import AppContainer from './containers/Ap...
src/svg-icons/action/feedback.js
manchesergit/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionFeedback = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 12h-2v-2h2v2zm0-4h-2V6h2v4z"/> </SvgIcon> ); ActionFeedback = pure(Acti...
src/roles/notifs/RolesItemNotifs.js
dash-/netjumpio-tabs-web
/// // Dependencies /// import React, { Component } from 'react'; import ItemPanelNotifications from '../../elements/ItemPanelNotifications'; import GetItemFailNotif from './GetItemFailNotif'; /// // View /// class RolesItemNotifsView extends Component { render() { return ( <ItemPanelNotifications> <GetI...
src/components/Header/index.js
radubrehar/evanghelic.ro
import React from 'react'; import Link from 'gatsby-link'; import { css } from 'glamor'; import { primaryColor, primaryColorText, primaryColorDark } from '@app/colors'; import Text from '@app/Text'; const Header = () => ( <div css={{ flex: 'none', background: primaryColor, color: primaryColorTe...
jenkins-design-language/src/js/components/material-ui/svg-icons/device/signal-cellular-0-bar.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const DeviceSignalCellular0Bar = (props) => ( <SvgIcon {...props}> <path fillOpacity=".3" d="M2 22h20V2z"/> </SvgIcon> ); DeviceSignalCellular0Bar.displayName = 'DeviceSignalCellular0Bar'; DeviceSignalCellular0Bar.muiName = 'SvgIcon'; export defa...
app/javascript/components/Schedule/BulkGenerateConfirm.js
ruby-no-kai/cfp-app
import React, { Component } from 'react'; import PropTypes from 'prop-types'; class BulkGenerateConfirm extends Component { render() { const { cancelBulkPreview, openBulkTimeSlotModal, requestBulkTimeSlotCreate } = this.props; return ( <div className="generate-confirm"> <span>Previewing Grid c...
src/svg-icons/maps/local-phone.js
barakmitz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let MapsLocalPhone = (props) => ( <SvgIcon {...props}> <path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-...
src/logout.js
FederationOfFathers/ui
import React, { Component } from 'react'; export default class Logout extends Component { handleClick = () => { document.cookie = "secure-cookie=;path=/;domain=fofgaming.com;expires=-1"; localStorage.clear(); window.location.reload(false) } render = () => { return ( ...
packages/material-ui-icons/src/ViewAgenda.js
dsslimshaddy/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let ViewAgenda = props => <SvgIcon {...props}> <path d="M20 13H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zm0-10H3c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h17c.55 0 1-.45 1-1V4c0-.55-.4...
src/pages/repos.js
titoesteves/react_practice2
import React from 'react'; export default React.createClass({ render (){ return ( <div> <h2>Repos</h2> </div> ) } });
packages/mcs-lite-ui/src/MorphReplace/MorphReplace.js
MCS-Lite/mcs-lite
/* global window */ import React from 'react'; import PropTypes from 'prop-types'; import renderToJson from 'react-render-to-json'; import { interpolate, interpolateAll, splitPathString, separate, combine, } from 'flubber'; // TODO: Only work for mcs-lite-icon const getPath = children => { const json = re...
app/containers/ContactPage.js
guigonc/client_app
import React from 'react' import { connect } from 'react-redux' import Contact from '../components/Contact' import { setField, addAssyncContact } from '../actions/index' let mapStateToProps = state => ({ contact: state.contact.data, }) let mapDispatchToProps = dispatch => ({ setField: (field, value) => dispatch(...
fields/types/datearray/DateArrayFilter.js
benkroeger/keystone
import React from 'react'; import { findDOMNode } from 'react-dom'; import moment from 'moment'; import DayPicker from 'react-day-picker'; import { FormInput, FormSelect, Grid, } from '../../../admin/client/App/elemental'; const PRESENCE_OPTIONS = [ { label: 'At least one element', value: 'some' }, { label: 'No e...
apps/mk-app-dashboard-analysis/apps/mk-app-sale-proportion-widget/action.js
ziaochina/mk-demo
import React from 'react' import { action as MetaAction, AppLoader } from 'mk-meta-engine' import config from './config' class action { constructor(option) { this.metaAction = option.metaAction this.config = config.current } onInit = ({ component, injections }) => { this.component ...
Meteor_React_Udemy_Tut/employees/client/main.js
illuminos/Practice
import React from 'react'; import ReactDOM from 'react-dom'; import EmployeeList from './components/employee_list'; //After meteor loads in the browser, render my app to the dom const App = ()=>{ return( <div> <EmployeeList/> </div> ); }; Meteor.startup(()=>{ //React render ca...
jenkins-design-language/src/js/components/material-ui/svg-icons/places/all-inclusive.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const PlacesAllInclusive = (props) => ( <SvgIcon {...props}> <path d="M18.6 6.62c-1.44 0-2.8.56-3.77 1.53L12 10.66 10.48 12h.01L7.8 14.39c-.64.64-1.49.99-2.4.99-1.87 0-3.39-1.51-3.39-3.38S3.53 8.62 5.4 8.62c.91 0 1.76.35 2.44 1.03l1.13 1 1.51-1.34L9...
src/theme/wrap/wrap.js
travi/admin.travi.org-components
import React from 'react'; import {arrayOf, shape, string, node} from 'prop-types'; import Helmet from 'react-helmet'; import PrimaryNav from '../nav/primary-nav'; import '../bootstrap-custom.scss'; export default function Wrap({primaryNav, children}) { return ( <div className="container"> <Helmet titleT...
react16-feature/src/ReactPortals.js
wefine/reactjs-guide
import React, { Component } from 'react'; import ReactDOM from 'react-dom'; class Overlay extends Component { constructor(props) { super(props); this.container = document.createElement('div'); document.body.appendChild(this.container); } componentWillUnmount() { document.b...
src/layouts/index.js
breezykermo/lachlankermode.com
import React from 'react' import PropTypes from 'prop-types' import Link from 'gatsby-link' import Helmet from 'react-helmet' import Header from '../components/Header' import Bio from '../components/Bio' import './index.css' const TemplateWrapper = ({ children }) => ( <div> <Helmet title="Lachlan Kermode" ...
lib/components/NodeControl/index.js
0mkara/etheratom
'use babel' // Copyright 2018 Etheratom Authors // This file is part of Etheratom. // Etheratom is free software: 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 // (at your option) any la...
pollard/components/AddedSongsConnector.js
spncrlkt/pollard
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { selectSong, deselectSong, updateSong, markSongPlayed, moveSong, deleteSong, } from '../actions/Actions.js'; import AddedSongsDisplay from './AddedSongsDisplay'; class Add...
src/components/PhotoThumb.js
edwinwright/react-project
import React from 'react'; import { Link } from 'react-router'; const PhotoThumb = ({ photo }) => ( <Link to={'/photos/' + photo.id}> <img src={photo.thumbnailUrl} /> </Link> ); // TODO: Add propTypes export default PhotoThumb
packages/idyll-docs/pages/docs/multipage.js
idyll-lang/idyll
import React from 'react'; import Link from 'next/link'; import markdown from 'markdown-in-js'; import Layout from '../../components/layout'; const Content = () => markdown` # The Multipage Template The \`Multipage\` template is designed for creating an Idyll blog with multiple posts. It can be used with any static h...
app/components/PropertyCard/index.js
medevelopment/UMA
import React from 'react'; import {Link, browserHistory} from 'react-router'; import {getMinSizePicture, numberWithCommas} from '../../functions.js'; import {calculateROI, calculateYield, calculateTotalMonths, propertyTypes, getPropertyUrl} from '../../functions/propertiesFuncs'; import {Card, CardActions, CardHeader, ...
src/interface/icons/Plus.js
ronaldpereira/WoWAnalyzer
import React from 'react'; // https://thenounproject.com/term/plus/674201/ // Plus by Galaxicon from the Noun Project const Icon = ({ ...other }) => ( <svg viewBox="9 9 81 81" xmlns="http://www.w3.org/2000/svg" className="icon" {...other}> <g transform="translate(0,-952.36218)"> <path d="m 36,964.36216 0,2...
example/index.js
BlackBoxVision/link-state-hoc
import React from 'react'; import ReactDOM from 'react-dom'; import injectEventTapPlugin from 'react-tap-event-plugin'; import AppContainer from './src/modules/App/AppContainer'; injectEventTapPlugin(); ReactDOM.render(<AppContainer pureView/>, document.querySelector('#app'));
src/LoadEarlier.js
ianlin/react-native-gifted-messenger
import PropTypes from 'prop-types'; import React from 'react'; import { ActivityIndicator, Platform, StyleSheet, Text, TouchableOpacity, View, ViewPropTypes, } from 'react-native'; export default class LoadEarlier extends React.Component { renderLoading() { if (this.props.isLoadingEarlier === false...
src/index.js
bokzor/antd-redux-observable
import React from 'react' import 'rxjs/add/operator/delay'; import 'rxjs/add/operator/mergeMap'; import { render } from 'react-dom' import Root from './containers/Root' import configureStore from './epics/configureStore' render( <Root store={configureStore()}/>, document.getElementById('app') );
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
Vyt45/webas
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'));
packages/flow-upgrade/src/upgrades/0.53.0/ReactComponentExplicitTypeArgs/__tests__/fixtures/PropsInline.js
facebook/flow
// @flow import React from 'react'; class MyComponent extends React.Component { props: {a: number, b: number, c: number}; defaultProps: T; static props: T; static state: T; a: T; b = 5; c: T = 5; method() {} } const expression = () => class extends React.Component { props: {a: number, b: numbe...
app/containers/RegionOptions/index.js
BeautifulTrouble/beautifulrising-client
/** * * RegionOptions * */ import React from 'react'; import styled from 'styled-components'; import { Link } from 'react-router'; import { FormattedMessage, injectIntl } from 'react-intl'; import messages from './messages'; import Isvg from 'react-inlinesvg'; import Africa from 'assets/images/regions/africa.svg'; i...
client/components/Login.js
carlbernardo/jimini
import React from 'react'; import $ from 'jquery'; class Login extends React.Component { constructor(){ super(); this.getUsernameRef = this.getUsernameRef.bind(this); this.getPassRef = this.getPassRef.bind(this); this.handleData = this.handleData.bind(this); this.handleSubmit = this.handleSubmit....
jenkins-design-language/src/js/components/material-ui/svg-icons/av/fiber-smart-record.js
alvarolobato/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvFiberSmartRecord = (props) => ( <SvgIcon {...props}> <g><circle cx="9" cy="12" r="8"/><path d="M17 4.26v2.09c2.33.82 4 3.04 4 5.65s-1.67 4.83-4 5.65v2.09c3.45-.89 6-4.01 6-7.74s-2.55-6.85-6-7.74z"/></g> </SvgIcon> ); AvFiberSmartRecord.dis...
node_modules/react-icons/io/android-cancel.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoAndroidCancel = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m19.8 3.8c8.9 0 16.2 7.2 16.2 16.2s-7.3 16.3-16.2 16.3-16.3-7.3-16.3-16.3 7.3-16.2 16.3-16.2z m8.1 22.1l-5.9-5.9 5.9-5.9-2.3-2.2-5.9 5.8-5.8-5.8-2.3 2.2 5.9 5.9...
local-cli/templates/HelloWorld/index.android.js
skevy/react-native
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View } from 'react-native'; export default class HelloWorld extends Component { render() { return ( <View style={styles.containe...
src/components/examples/exampleImg.js
Jguardado/HiRproject
import React, { Component } from 'react'; export default class Picture extends Component { constructor(props) { super(props); } render() { return ( <div className='center'> <legend className='headingtext'>Example Picture</legend> <img className='picture' src='/src/images/myFace-mi...
actor-apps/app-web/src/app/components/modals/create-group/Form.react.js
zillachan/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...
example/native/index.js
lelandrichardson/react-primitives
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import './missingBabelHelpers'; import React from 'react'; import AllStories from '../AllStories'; import { AppRegistry, ScrollView, } from 'react-native'; export default class native extends React.Component { render() { ...
src/scripts/components/breadcrumb/Breadcrumb.component.story.js
kodokojo/kodokojo-ui-commons
/** * Kodo Kojo - Software factory done right * Copyright © 2017 Kodo Kojo (infos@kodokojo.io) * * This program is free software: 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 * (at ...
src/svg-icons/toggle/indeterminate-check-box.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleIndeterminateCheckBox = (props) => ( <SvgIcon {...props}> <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"/> </SvgIcon> ); ToggleIndeterminateCheck...
client/app/scripts/charts/nodes-chart-elements.js
kinvolk/scope
import React from 'react'; import classNames from 'classnames'; import { connect } from 'react-redux'; import { fromJS, Map as makeMap, List as makeList } from 'immutable'; import NodeContainer from './node-container'; import EdgeContainer from './edge-container'; import { getAdjacentNodes, hasSelectedNode as hasSelec...
source/views/streaming/radio/schedule.js
carls-app/carls
// @flow import React from 'react' import {CccCalendarView} from '../../calendar/calendar-ccc' import type {TopLevelViewPropsType} from '../../types' type Props = TopLevelViewPropsType export class KSTOScheduleView extends React.PureComponent<Props> { static navigationOptions = { title: 'Show Schedule', } rend...
app/scripts/components/node-details/node-details-info.js
hustbill/network-verification-ui
import React from 'react'; import { Map as makeMap } from 'immutable'; import MatchedText from '../matched-text'; import ShowMore from '../show-more'; import { formatDataType } from '../../utils/string-utils'; export default class NodeDetailsInfo extends React.Component { constructor(props, context) { super(pr...
popup-app/components/IdpSelect.js
solid/solid-auth-client
import React from 'react' import auth from '../../src' import { Client } from '../../src/ipc' import { ipcStorage, getData } from '../../src/storage' import './IdpSelect.css' export default class IdpSelect extends React.Component { state = { idp: '', error: null } handleChangeIdp = (event) => { let idp = ev...
src/server.js
SlexAxton/oddjobsf
import 'babel-polyfill'; import path from 'path'; import express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import Router from './routes'; import Html from './components/Html'; import assets from './assets'; import { port, title, description, canonicalUrl } from './config'; con...
examples/todomvc/containers/App.js
boneyao/redux
import React, { Component } from 'react'; import TodoApp from './TodoApp'; import { createRedux } from 'redux'; import { Provider } from 'redux/react'; import * as stores from '../stores'; const redux = createRedux(stores); export default class App extends Component { render() { return ( <Provider redux={...
ajax/libs/react-select/1.2.0/react-select.es.js
sashberd/cdnjs
import AutosizeInput from 'react-input-autosize'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import React, { Component } from 'react'; import { findDOMNode } from 'react-dom'; var arrowRenderer = function arrowRenderer(_ref) { var onMouseDown = _ref.onMouseDown; return React.createElem...
cheesecakes/plugins/users-permissions/admin/src/components/InputCheckboxPlugin/index.js
strapi/strapi-examples
/** * * InputCheckboxPlugin * */ import React from 'react'; import PropTypes from 'prop-types'; import cn from 'classnames'; import styles from './styles.scss'; class InputCheckboxPlugin extends React.Component { // eslint-disable-line react/prefer-stateless-function state = { showBackground: false, showCog: false...
docs/app/Examples/collections/Grid/ResponsiveVariations/GridExampleReversedTabletVertically.js
vageeshb/Semantic-UI-React
import React from 'react' import { Grid } from 'semantic-ui-react' const GridExampleReversedTabletVertically = () => ( <Grid reversed='tablet vertically'> <Grid.Row> <Grid.Column>Tablet Row 4</Grid.Column> </Grid.Row> <Grid.Row> <Grid.Column>Tablet Row 3</Grid.Column> </Grid.Row> <Gri...
src/components/NotFound/NotFound.js
City-of-Helsinki/helerm-ui
import React from 'react'; import { Link } from 'react-router-dom'; import './NotFound.scss'; import hkiLogo from './helsinki-vaakuna-helfisininen.svg'; export const NotFound = () => ( <div className='not-found-container'> <img className='helsinki-logo' src={hkiLogo} alt='Helsinki City Logo'/> <h1>Tätä sivua...
src/filter/FilterOptions.js
Synchro-TEC/apollo
/** * Created by gnf on 11/01/17. */ import React from 'react'; import PropTypes from 'prop-types'; import _assign from 'lodash/assign'; class FilterOptions extends React.Component { constructor() { super(); this.state = { optionsAreOpen: false, }; } onClearAll() { this.setState({ option...
src/components/About/About.js
LeeSeungHyun/Portfolio
import React, { Component } from 'react'; import { CSSTransitionGroup } from 'react-transition-group' import styled from 'styled-components'; import profile from '../../assets/img/profile.jpg'; // Tell Webpack this JS file uses this image const Container = styled.div` padding: 20px 100px 50px 50px; margin: 32...
app/components/Article.js
kongchun/BigData-Web
import React from 'react'; import { Link } from 'react-router'; import ArticleStore from '../stores/ArticleStore'; import ArticleActions from '../actions/ArticleActions'; import Similar from './Similar'; import Tag from './Tag'; import ArticleCollect from './ArticleCollect'; import Weixin from './Weixin'; class Arti...
tests/e2e/components/test-redux/index.js
notonthehighstreet/toga
import React from 'react'; import App from './containers/App'; import configureStore from './store/configureStore'; import {Provider} from 'react-redux'; import './app.scss'; export default ({initialState}) => { const store = configureStore(initialState); return <Provider store={store}> <App /> </Provider>...
fields/components/CollapsedFieldLabel.js
Pop-Code/keystone
import React from 'react'; import { Button } from '../../admin/client/App/elemental'; // NOTE marginBottom of 1px stops things jumping around // TODO find out why this is necessary function CollapsedFieldLabel ({ style, ...props }) { const __style__ = { marginBottom: 1, paddingLeft: 0, paddingRight: 0, ...st...
docs/app/Examples/collections/Message/Variations/MessageExampleCompactProps.js
koenvg/Semantic-UI-React
import React from 'react' import { Message } from 'semantic-ui-react' const MessageExampleCompactProps = () => ( <Message compact content='Get all the best inventions in your e-mail every day. Sign up now!' /> ) export default MessageExampleCompactProps
app/containers/MainScene.js
yanbober/RNPolymerPo
/* * MIT License * * Copyright (c) 2016 yanbo * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, m...
actor-apps/app-web/src/app/components/activity/GroupProfileMembers.react.js
greatdinosaur/actor-platform
import _ from 'lodash'; import React from 'react'; import { PureRenderMixin } from 'react/addons'; import DialogActionCreators from 'actions/DialogActionCreators'; import LoginStore from 'stores/LoginStore'; import AvatarItem from 'components/common/AvatarItem.react'; const GroupProfileMembers = React.createClass(...
packages/wix-style-react/src/ColorPicker/ColorPickerActions.js
wix/wix-style-react
import React from 'react'; import PropTypes from 'prop-types'; import X from 'wix-ui-icons-common/X'; import Check from 'wix-ui-icons-common/Check'; import IconButton from '../IconButton'; import { DataHooks } from './constants'; import { classes } from './ColorPickerActions.st.css'; const ColorPickerActions = ({ onC...
index.android.js
moqada/GHReader
/* @flow */ /** * GHReader for Android */ import React from 'react'; import {AppRegistry} from 'react-native'; import './src/reactotronConfig'; import Root from './src/containers/Root'; import configureStore from './src/stores/configureStore'; const store = configureStore(); const GHReader = () => <Root store={store...
src/public/components/toolbox/default.js
Lunik/tcloud
import React from 'react' import List from '@react-mdc/list' import classnames from 'classnames' import Color from '../../style/theme' import { ThreeDotsIcon } from '../image/svg' export default class Toolbox extends React.Component { constructor (props) { super(props) this.state = {} this.initState(...
frontend/component/TopicEditor.js
akin520/pratice-node-project
import React from 'react'; import jQuery from 'jquery'; import {addTopic} from '../lib/client'; import {redirectURL} from '../lib/utils'; import MarkdownEditor from './MarkdownEditor'; export default class TopicEditor extends React.Component { constructor(props) { super(props); this.state = props.topic || {...
src/components/home/HomePage.js
ernestomancebo/archaius-ui
/*eslint-disable import/default */ // import React from 'react'; // import {Link} from 'react-router'; // import Header from '../common/Header';
src/views/about/Fade.js
zincman/react-spa-starter-kit
/** * Created by derek on 11/07/2017. */ import React from 'react' import Transition from 'react-transition-group/Transition' import PropTypes from 'prop-types' const duration = 300 const defaultStyle = { transition: `opacity ${duration}ms ease-in-out`, opacity: 0, } const transitionStyles = { entering: {opacit...
src/components/game-tile.js
aldhsu/minesweeper
import React, { Component } from 'react'; export default class GameTile extends Component { constructor(props) { super(props); this.handleClick = this.handleClick.bind(this); this.rightClick = this.rightClick.bind(this); } componentWillReceiveProps() { console.log('got props') } handleClick...
fields/components/Checkbox.js
vokal/keystone
import React from 'react'; import blacklist from 'blacklist'; import classnames from 'classnames'; import { darken, fade } from '../../admin/client/utils/color'; import E from '../../admin/client/constants'; var Checkbox = React.createClass({ displayName: 'Checkbox', propTypes: { checked: React.PropTypes.bool, c...
client/components/Header.js
christiantownsend/jstate
import React from 'react' import { Link, IndexLink } from 'react-router' const Header = (props) => { let nav; if (props.logged) { if (props.post) { if (props.editing && props.creating) { nav = ( <nav className="nav"> <IndexLink className="nav-item" activeClassName="active"...