path stringlengths 5 296 | repo_name stringlengths 5 85 | content stringlengths 25 1.05M |
|---|---|---|
docs/app/Examples/modules/Dropdown/Usage/DropdownExampleCustomNoResultsMessage.js | mohammed88/Semantic-UI-React | import React from 'react'
import { Dropdown } from 'semantic-ui-react'
const DropdownExampleCustomNoResultsMessage = () => (
<Dropdown
options={[]}
search
selection
placeholder='A custom message...'
noResultsMessage='Try another search.'
/>
)
export default DropdownExampleCustomNoResultsMessag... |
src/components/animated_box.js | rdenadai/mockingbird | import { css } from '../css';
import React, { Component } from 'react';
import { findDOMNode } from 'react-dom';
import Velocity from 'velocity-animate';
// const uuid = require('uuid');
class AnimatedBox extends Component {
constructor(props) {
super(props);
this.state = { mounted: false };
... |
test/Autosuggest.js | BD2KGenomics/react-autosuggest | import proxyquire from 'proxyquire';
import chai, { expect } from 'chai';
import sinon from 'sinon';
import sinonChai from 'sinon-chai';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import { findDOMNode } from 'react-dom';
import SyntheticEvent from 'react/lib/SyntheticEvent';
chai.use(s... |
app/javascript/flavours/glitch/features/direct_timeline/components/conversation.js | glitch-soc/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import ImmutablePureComponent from 'react-immutable-pure-component';
import StatusContent from 'flavours/glitch/components/status_content';
import AttachmentList from 'flavours/glitch/components/at... |
frontend/src/DiscoverMovie/Exclusion/ExcludeMovieModal.js | geogolem/Radarr | import PropTypes from 'prop-types';
import React from 'react';
import Modal from 'Components/Modal/Modal';
import { sizes } from 'Helpers/Props';
import ExcludeMovieModalContentConnector from './ExcludeMovieModalContentConnector';
function ExcludeMovieModal(props) {
const {
isOpen,
onModalClose,
...other... |
django/webcode/webcode/frontend/node_modules/react-router-dom/es/Link.js | OpenKGB/webcode | 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 = {... |
example/src/components/0-Logo/Logo.js | KenPowers/css-modules-electron | import styles from './Logo.css';
import React, { Component } from 'react';
export default class Logo extends Component {
render() {
return <div className={styles.logo} />;
}
};
|
src/containers/_base/stories/index.js | timludikar/component-library | import React from 'react';
import { storiesOf } from '@kadira/storybook';
import BaseContainer from '../index';
storiesOf('container.BaseContainer', module)
.add('default view', () => {
return (
<BaseContainer title="Base Container">TEST</BaseContainer>
);
});
|
src/parser/hunter/beastmastery/modules/talents/ChimaeraShot.js | fyruna/WoWAnalyzer | import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import ItemDamageDone from 'interface/others/ItemDamageDone';
import StatisticListBoxItem from 'interface/others/StatisticListBoxItem';
import TalentStatisticBox from 'in... |
src/scripts/base/Strong.js | ButuzGOL/constructor | import React from 'react';
export default class Strong extends React.Component {
getStyles() {
return {
fontWeight: 'bold'
};
}
render() {
return (
<strong style={this.getStyles()}>
{this.props.children}
</strong>
);
}
}
|
js/components/inputgroup/regular.js | ChiragHindocha/stay_fit |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { actions } from 'react-native-navigation-redux-helpers';
import { Container, Header, Title, Content, Button, Icon, Text, Body, Left, Right, Input, Item } from 'native-base';
import { Actions } from 'react-native-router-flux';
imp... |
server/priv/js/components/BenchNav.react.js | bks7/mzbench | import React from 'react';
class BenchNav extends React.Component {
render() {
const tabs = {
overview: "Overview",
scenario: "Scenario",
reports: "Reports",
logs: "Logs"
};
return (
<ul className="nav nav-tabs bench-nav">
... |
dev/component/multiSelectionGroup.js | TedForV/EFS | import React from 'react';
import RSelect from 'react-select';
import Immutable from 'immutable';
import gStyle from '../globalStyle';
require('../../node_modules/react-select/dist/react-select.min.css');
class MultiSelect extends React.Component {
constructor(props) {
super(props);
this.filterNa... |
src/icons/SearchIcon.js | kiloe/ui | import React from 'react';
import Icon from '../Icon';
export default class SearchIcon extends Icon {
getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M31 28h-1.59l-.55-.55C30.82 25.18 32 22.23 32 19c0-7.18-5.82-13-13-13S6 11.82 6 19s5.82 13 13 13c3.23 0 6.1... |
src/scenes/home/landing/galaBanner/galaBanner.js | miaket/operationcode_frontend | import React from 'react';
import { Link } from 'react-router-dom';
import styles from './galaBanner.css';
const GalaBanner = () => (
<div className={styles.galaBannerWrapper}>
<Link to="/gala">
<img className={styles.galaImage} alt="gala banner" />
</Link>
</div>
);
export default GalaBanner;
|
docs/app/Examples/elements/Segment/Groups/SegmentExampleRaisedSegments.js | Rohanhacker/Semantic-UI-React | import React from 'react'
import { Segment } from 'semantic-ui-react'
const SegmentExampleRaisedSegments = () => (
<Segment.Group raised>
<Segment>Left</Segment>
<Segment>Middle</Segment>
<Segment>Right</Segment>
</Segment.Group>
)
export default SegmentExampleRaisedSegments
|
shared/components/error-boundary/ErrorBoundary.js | ueno-llc/starter-kit-universally | import React, { Component } from 'react';
import PropTypes from 'prop-types';
export default class ErrorBoundary extends Component {
static propTypes = {
children: PropTypes.node,
}
state = {
error: null,
errorInfo: null,
};
componentDidCatch(error, errorInfo) {
this.setState({
error... |
src/parser/hunter/beastmastery/CHANGELOG.js | fyruna/WoWAnalyzer | import React from 'react';
import { Putro, Streammz } from 'CONTRIBUTORS';
import SpellLink from 'common/SpellLink';
import SPELLS from 'common/SPELLS';
export default [
{
date: new Date('2018-11-14'),
changes: <> Created a module for <SpellLink id={SPELLS.BORN_TO_BE_WILD_TALENT.id} /> and <SpellLink id={SP... |
src/modules/Synth/components/OscillatorBank/index.js | ruebel/synth-react-redux | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import styled from 'styled-components';
import Container from '../../../components/Container';
import Oscillator from './Oscillator';
import RoundButton from '../../../components/Button/RoundButton';
import * as action... |
src/containers/ui/Menu/MenuView.js | arayi/SLions | /**
* Menu Contents
*
* React Native Starter App
* https://github.com/mcnamee/react-native-starter-app
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
View,
Alert,
StyleSheet,
TouchableOpacity,
} from 'react-native';
import { Actions } from 'react-native-router-flu... |
src/client/components/todos/todoitem.js | fabriciocolombo/este | import PureComponent from '../../../lib/purecomponent';
import React from 'react';
import classnames from 'classnames';
import immutable from 'immutable';
import {deleteTodo} from '../../todos/actions';
export default class TodoItem extends PureComponent {
render() {
const todo = this.props.todo;
return (
... |
app/javascript/mastodon/components/column_header.js | glitch-soc/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import { createPortal } from 'react-dom';
import classNames from 'classnames';
import { FormattedMessage, injectIntl, defineMessages } from 'react-intl';
import Icon from 'mastodon/components/icon';
const messages = defineMessages({
show: { id: 'column_h... |
react-native-kit/profile.js | fromatlantis/nojs | import React from 'react';
import {
View,
Text,
Image,
Navigator,
StyleSheet,
StatusBar,
TouchableOpacity,
Platform,
Dimensions
} from 'react-native';
import {
createNavigator,
createNavigationContainer,
TabRouter,
addNavigationHelpers,
StackNavigator
} from 'react-navigati... |
src/static/containers/Home/index.js | Seedstars/django-react-redux-base | import React from 'react';
import { push } from 'react-router-redux';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import './style.scss';
import reactLogo from './images/react-logo.png';
import reduxLogo from './images/redux-logo.png';
class HomeView extends React.Component {
static ... |
templates/rubix/relay/relay-seed/src/common/sidebar.js | jeffthemaximum/jeffline | import React from 'react';
import {
Sidebar, SidebarNav, SidebarNavItem,
SidebarControls, SidebarControlBtn,
LoremIpsum, Grid, Row, Col, FormControl,
Label, Progress, Icon,
SidebarDivider
} from '@sketchpixy/rubix';
import { Link, withRouter } from 'react-router';
@withRouter
class ApplicationSidebar exten... |
internals/templates/containers/App/index.js | j921216063/chenya | /**
*
* App.react.js
*
* This component is the skeleton around the actual pages, and should only
* contain code that should be seen on all pages. (e.g. navigation bar)
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If... |
frontend/react-stack/react/aluraflix/src/components/Carousel/index.js | wesleyegberto/courses-projects | import React from 'react';
import { VideoCardGroupContainer, Title, ExtraLink } from './styles';
import VideoCard from './components/VideoCard';
import Slider, { SliderItem } from './components/Slider';
function VideoCardGroup({ ignoreFirstVideo, category }) {
const categoryTitle = category.titulo;
const category... |
test/widget/ModuleTimeBarChart.spec.js | NUS-Workload-Predictor/front-end | import React from 'react';
import { mount, shallow } from 'enzyme';
import { expect } from 'chai';
import configureStore from 'redux-mock-store';
const fetch = require('isomorphic-fetch');
import App from '../containers/App';
const middlewares = [];
const mockStore = configureStore(middlewares);
function setup() {... |
js/app.js | agevelt/ssb-explorer | "use strict";
import React from 'react';
import ReactDOM from 'react-dom';
import JSONstat from "jsonstat";
import SortTable from "./sortTable.js";
import getJSONStatFromUrl from "./remotedata.js";
import dataset1128 from "./staticdata.js"
const rootId = "dataTable";
function getParameterByName(name, url) {
if (... |
docs/src/examples/collections/Table/Variations/TableExamplePadded.js | Semantic-Org/Semantic-UI-React | import React from 'react'
import { Table } from 'semantic-ui-react'
const TableExamplePadded = () => (
<Table padded>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Name</Table.HeaderCell>
<Table.HeaderCell>Status</Table.HeaderCell>
<Table.HeaderCell>Notes</Table.HeaderCell>
</T... |
example/src/screens/Types.js | MattDavies/react-native-navigation | import React from 'react';
import { StyleSheet, View, Text, ScrollView, TouchableHighlight } from 'react-native';
import Row from '../components/Row';
class Types extends React.Component {
toggleDrawer = () => {
this.props.navigator.toggleDrawer({
side: 'left',
animated: true
... |
src/Hidden/Hidden.spec.js | AndriusBil/material-ui | // @flow
import React from 'react';
import { assert } from 'chai';
import { createShallow } from '../test-utils';
import Hidden from './Hidden';
import HiddenJs from './HiddenJs';
import HiddenCss from './HiddenCss';
describe('<Hidden />', () => {
let shallow;
before(() => {
shallow = createShallow();
});
... |
src/components/Disclaimer.js | orbitdb/orbit-web | 'use strict'
import React from 'react'
import PropTypes from 'prop-types'
import '../styles/Disclaimer.scss'
function Disclaimer ({ text }) {
return (
<div className='Disclaimer'>
<div className='content'>{text}</div>
</div>
)
}
Disclaimer.propTypes = {
text: PropTypes.string.isRequired
}
expor... |
src/images/IconResume.js | benjaminmodayil/modayilme | import React from 'react';
function Resume() {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
width="48"
height="48"
className="font-sans"
>
<defs>
<path id="a" d="M0 0H48V48H0z" opacity="1"></path>
<mask id="c" m... |
examples/files/react/classComponent.js | dabbott/react-native-express | import React from 'react'
import { Button, View } from 'react-native'
export default class MyComponent extends React.Component {
render() {
return (
<View>
<Button title="Press me!" color="#1ACDA5" />
</View>
)
}
}
|
src/svg-icons/editor/short-text.js | hai-cea/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorShortText = (props) => (
<SvgIcon {...props}>
<path d="M4 9h16v2H4zm0 4h10v2H4z"/>
</SvgIcon>
);
EditorShortText = pure(EditorShortText);
EditorShortText.displayName = 'EditorShortText';
EditorShortText... |
src/components/Dropzone.js | dpastoor/assignment-manager | /**
* Created by devin on 1/4/16.
*/
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import _ from 'lodash';
import {Card, List, ListItem} from 'material-ui';
import {Assignment} from './Assignment';
import Dropzone from 'react-dropzone';
import axios from 'axios';
import FileCloudDone fro... |
app/javascript/mastodon/features/ui/components/media_modal.js | salvadorpla/mastodon | import React from 'react';
import ReactSwipeableViews from 'react-swipeable-views';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import Video from 'mastodon/features/video';
import ExtendedVideoPlayer from 'mastodon/components/extended_video_player';
import classNames ... |
server/priv/js/components/TimelineFilter.react.js | bks7/mzbench | import React from 'react';
import MZBenchRouter from '../utils/MZBenchRouter';
import MZBenchActions from '../actions/MZBenchActions';
import BenchStore from '../stores/BenchStore';
class TimelineFilter extends React.Component {
constructor(props) {
super(props);
this.autoSearchHandler = null;
... |
docs/app/Examples/views/Statistic/Variations/Horizontal.js | ben174/Semantic-UI-React | import React from 'react'
import { Statistic } from 'semantic-ui-react'
const Horizontal = () => <Statistic horizontal value='2,204' label='Views' />
export default Horizontal
|
src/components/ShareModal/index.js | iris-dni/iris-frontend | import React from 'react';
import settings from 'settings';
import ModalIntro from 'components/ModalIntro';
import openShareWindow from 'helpers/sharing/openShareWindow';
import ShareModalButtons from 'components/ShareModalButtons';
const ShareModal = ({ title, intro, buttons }) => (
<div>
<ModalIntro
titl... |
front_end/front_end_app/src/client/auth/login.react.js | carlodicelico/horizon | import './login.styl';
import Component from '../components/component.react';
import React from 'react';
import exposeRouter from '../components/exposerouter.react';
import {focusInvalidField} from '../lib/validation';
@exposeRouter
export default class Login extends Component {
static propTypes = {
actions: Re... |
examples/shopping-cart/test/components/ProductsList.spec.js | mjw56/redux | import expect from 'expect'
import React from 'react'
import { shallow } from 'enzyme'
import ProductsList from '../../components/ProductsList'
function setup(props) {
const component = shallow(
<ProductsList title={props.title}>{props.children}</ProductsList>
)
return {
component: component,
childr... |
src/mobile/components/MainView/index.js | u-wave/web | import React from 'react';
import PropTypes from 'prop-types';
import { useTranslator } from '@u-wave/react-translate';
import AppBar from '@mui/material/AppBar';
import Toolbar from '@mui/material/Toolbar';
import Typography from '@mui/material/Typography';
import IconButton from '@mui/material/IconButton';
import His... |
src/bom/comps/__tests__/BomAltItemList-test.js | panlw/react-lab | import assign from 'object-assign';
import React from 'react';
import ReactDOMServer from 'react-dom/server';
import ReactTestUtils from 'react-addons-test-utils';
import BomAltItemList, { BomAltItem } from '../BomAltItemList';
const noop = () => {};
const _items = require('./BomItemList-test.json');
const Wrapper = ... |
src/Illuminate/Foundation/Console/Presets/react-stubs/Example.js | reinink/framework | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
export default class Example extends Component {
render() {
return (
<div className="container">
<div className="row">
<div className="col-md-8 col-md-offset-2">
... |
fields/types/url/UrlColumn.js | brianjd/keystone | import React from 'react';
import ItemsTableCell from '../../components/ItemsTableCell';
import ItemsTableValue from '../../components/ItemsTableValue';
var UrlColumn = React.createClass({
displayName: 'UrlColumn',
propTypes: {
col: React.PropTypes.object,
data: React.PropTypes.object,
},
renderValue () {
va... |
ReactApp/src/Cards/Tickets/OnSiteCard.js | hoh/FolkMarsinne | 'use strict';
import React from 'react';
import {Card, CardActions, CardHeader, CardMedia, CardTitle, CardText} from 'material-ui/Card';
import {Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn} from 'material-ui/Table';
import Paper from 'material-ui/Paper';
const i18n_strings = {
fr: {
... |
src/parser/druid/restoration/modules/talents/Flourish.js | FaideWW/WoWAnalyzer | import React from 'react';
import { STATISTIC_ORDER } from 'interface/others/StatisticBox';
import StatisticBox from 'interface/others/StatisticBox';
import { formatPercentage, formatNumber } from 'common/format';
import calculateEffectiveHealing from 'parser/core/calculateEffectiveHealing';
import SpellIcon from 'comm... |
src/modules/annotations/components/AnnotationsList/AnnotationsList.js | cltk/cltk_frontend | import React from 'react';
import PropTypes from 'prop-types';
import autoBind from 'react-autobind';
import RaisedButton from 'material-ui/RaisedButton';
import FlatButton from 'material-ui/FlatButton';
import './AnnotationsList.css';
class AnnotationsList extends React.Component {
constructor(props) {
super(p... |
src/checkAPI.js | HsuTing/cat-components | 'use strict';
import React from 'react';
import checkGlobal from 'utils/checkGlobal';
export default (
name,
func,
getData = callback => callback({}),
defaultData = {}
) => Component => {
const state = {};
state[`${name}CanUse`] = false;
return class CheckAPI extends React.Component {
constructor(... |
examples/with-global-stylesheet/pages/index.js | callumlocke/next.js | import React from 'react'
import stylesheet from 'styles/index.scss'
// or, if you work with plain css
// import stylesheet from 'styles/index.css'
export default () =>
<div>
<style dangerouslySetInnerHTML={{ __html: stylesheet }} />
<p>ciao</p>
</div>
|
app/javascript/mastodon/features/ui/components/upload_area.js | maa123/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import Motion from '../../ui/util/optional_motion';
import spring from 'react-motion/lib/spring';
import { FormattedMessage } from 'react-intl';
export default class UploadArea extends React.PureComponent {
static propTypes = {
active: PropTypes.boo... |
js/components/settings/locations.js | stage88/react-weather | /**
* @flow
*/
'use strict';
import { connect } from 'react-redux';
import React, { Component } from 'react';
import {
StyleSheet,
View,
Text,
StatusBar,
ScrollView,
LayoutAnimation
} from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import Swipeout from '../../dependencies/s... |
src/views/components/multimedia/MediaInputSelect.js | Domiii/project-empire | import map from 'lodash/map';
import filter from 'lodash/filter';
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { dataBind } from 'dbdi/react';
import { getOptionalArgument, NOT_LOADED } from 'dbdi/util';
import FAIcon from 'src/views/components/util/FAIcon';
import LoadIndicato... |
survivejs/app/components/Notes.js | leowmjw/playground-ui | import React from 'react';
import Note from './Note.jsx';
export default class Notes extends React.Component {
render() {
const notes = this.props.items;
return <ul className="notes">{notes.map(this.renderNote)}</ul>;
}
renderNote = (note) => {
return (
<li className="... |
src/svg-icons/image/filter-vintage.js | mtsandeep/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageFilterVintage = (props) => (
<SvgIcon {...props}>
<path d="M18.7 12.4c-.28-.16-.57-.29-.86-.4.29-.11.58-.24.86-.4 1.92-1.11 2.99-3.12 3-5.19-1.79-1.03-4.07-1.11-6 0-.28.16-.54.35-.78.54.05-.31.08-.63.08-.9... |
client/__tests__/index.ios.js | contextmind/inContext | import 'react-native';
import React from 'react';
import Index from '../index.ios.js';
// Note: test renderer must be required after react-native.
import renderer from 'react-test-renderer';
it('renders correctly', () => {
const tree = renderer.create(
<Index />
);
});
|
client/src/components/roms/list/Container.js | DjLeChuck/recalbox-manager | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { translate } from 'react-i18next';
import { get } from '../../../api';
import { promisifyData, cancelPromises } from '../../../utils';
import RomsList from './List';
class RomsListContainer extends Component {
static propTypes = {
... |
app/containers/photos/UnsplashPage.js | foysalit/wallly-electron | // @flow
import React, { Component } from 'react';
import { Grid } from 'semantic-ui-react';
import List from '../../components/photos/List';
import Photos from '../../utils/photos';
const api = new Photos();
export default class UnsplashPage extends Component {
state = {photos: [], isLoading: true};
loadPhotos... |
assets/javascripts/data_table.js | simonhildebrandt/redact | import $ from 'jquery'
import React from 'react'
import FloatingActionButton from 'material-ui/FloatingActionButton'
import {Table, TableBody, TableHeader, TableHeaderColumn, TableRow, TableRowColumn, TableFooter} from 'material-ui/Table'
import {BottomNavigation, BottomNavigationItem} from 'material-ui/BottomNavigatio... |
tests/components/ResultPanel.spec.js | eugenrein/voteshirt | import React from 'react';
import { shallow } from 'enzyme';
import chai, { expect } from 'chai';
import sinon from 'sinon';
import sinonChai from 'sinon-chai';
import Paper from 'material-ui/Paper';
import { white, black } from 'material-ui/styles/colors';
import ResultPanel from '../../src/components/ResultPanel';
c... |
web/src/js/components/Widget/Widgets/WidgetPieceWrapper.js | gladly-team/tab | import React from 'react'
// import PropTypes from 'prop-types'
class WidgetPieceWrapper extends React.Component {
render() {
return <span>{this.props.children}</span>
}
}
WidgetPieceWrapper.propTypes = {}
WidgetPieceWrapper.defaultProps = {}
export default WidgetPieceWrapper
|
node_modules/semantic-ui-react/dist/es/elements/Step/StepTitle.js | mowbell/clickdelivery-fed-test | import _extends from 'babel-runtime/helpers/extends';
import _isNil from 'lodash/isNil';
import cx from 'classnames';
import PropTypes from 'prop-types';
import React from 'react';
import { customPropTypes, getElementType, getUnhandledProps, META } from '../../lib';
/**
* A step can contain a title.
*/
function St... |
app/javascript/mastodon/features/ui/components/navigation_panel.js | musashino205/mastodon | import React from 'react';
import { NavLink, withRouter } from 'react-router-dom';
import { FormattedMessage } from 'react-intl';
import Icon from 'mastodon/components/icon';
import { showTrends } from 'mastodon/initial_state';
import NotificationsCounterIcon from './notifications_counter_icon';
import FollowRequestsNa... |
node_modules/react-bootstrap/es/ModalDialog.js | vietvd88/developer-crawler | 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 ... |
app/components/ProjectCard.js | georgeF105/georgeF105.github.io | import React from 'react'
export default (props) => {
const project = props.project
return (
<div className='project-card card'>
<h3>Project {project.name}</h3>
<div className='card-links'>
{project.url ? <a href={project.url} className='fa fa-desktop' /> : null}
{project.github_url... |
1l_instastack/src/index.js | yevheniyc/Projects | import 'babel-polyfill'; // for redux-saga
import React from 'react';
import ReactDOM from 'react-dom';
import {
Router,
Route,
hashHistory
} from 'react-router';
import {
createStore,
applyMiddleware,
compose
} from 'redux';
import reducer from './reducer';
import { Provider } from 'react-redux';
import ... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 42