target stringlengths 5 300 | feat_repo_name stringlengths 6 76 | text stringlengths 26 1.05M |
|---|---|---|
packages/material/src/components/SubmitButton.native.js | wq/wq.app | import React from 'react';
import { useComponents } from '@wq/react';
import { useFormikContext } from 'formik';
export default function SubmitButton(props) {
const { Button } = useComponents(),
{ isSubmitting, submitForm } = useFormikContext();
return (
<Button
mode="contained"
... |
ajax/libs/analytics.js/2.3.2/analytics.js | contentfree/cdnjs | (function outer(modules, cache, entries){
/**
* Global
*/
var global = (function(){ return this; })();
/**
* Require `name`.
*
* @param {String} name
* @param {Boolean} jumped
* @api public
*/
function require(name, jumped){
if (cache[name]) return cache[name].exports;
if (mo... |
src/views/target/Edit.js | anysome/objective | /**
* Created by Layman(http://github.com/anysome) on 16/3/11.
*/
import React from 'react';
import {StyleSheet, Component, ScrollView, View, Text, TouchableOpacity,
LayoutAnimation, Alert} from 'react-native';
import moment from 'moment';
import Button from 'react-native-button';
import {analytics, styles, colors,... |
App/Services/ExamplesRegistry.js | jeremy091/robospycat | import React from 'react'
import { Text, View } from 'react-native'
import R from 'ramda'
import { ApplicationStyles } from '../Themes'
import DebugConfig from '../Config/DebugConfig'
let globalComponentExamplesRegistry = []
let globalPluginExamplesRegistry = []
export const addComponentExample = (title, usage = () =>... |
vendor/bower/bower-asset/bootstrap-datepicker/tests/assets/jquery-1.7.1.min.js | maxodrom/testbook | /*! jQuery v1.7.1 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde... |
src/controls/datefield/chooser.js | thinktopography/reframe | import ModalPanel from '../../components/modal_panel'
import { connect } from 'react-redux'
import PropTypes from 'prop-types'
import moment from 'moment'
import React from 'react'
class Chooser extends React.Component {
static propTypes = {
month: PropTypes.number,
value: PropTypes.any,
year: PropTypes... |
misc/tabledrag.js | timotee/drupal-github | (function ($) {
/**
* Drag and drop table rows with field manipulation.
*
* Using the drupal_add_tabledrag() function, any table with weights or parent
* relationships may be made into draggable tables. Columns containing a field
* may optionally be hidden, providing a better user experience.
*
* Created tableD... |
node_modules/react-icons/io/android-microphone.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const IoAndroidMicrophone = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m20 25c-3 0-5.4-2.4-5.4-5.4v-11.7c0-3 2.4-5.4 5.4-5.4s5.4 2.4 5.4 5.4v11.7c0 3-2.4 5.4-5.4 5.4z m9.5-5.9h3c0 6.1-4.8 11.1-10.7 12v6.4h-3.6v-6.4c-5.9-0.8-10.... |
src/client/index.js | DBCDK/dbc-ufo | /**
* @file
* Client side index file.
*/
import ReactDOM from 'react-dom';
import React from 'react';
// import styling
import './scss/index.scss';
// Components
import TopbarContainer from './components/topbar/topbarContainer.component';
import UploadContainer from './components/upload/uploadContainer.component'... |
src/screens/Settings/SettingsScreen.js | rdonnelly/swd-team-builder | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
Alert,
Linking,
ScrollView,
StatusBar,
StyleSheet,
Text,
TouchableOpacity,
View,
} from 'react-native';
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
import InAppBrowser from 'react-native-inap... |
packages/material-ui-icons/legacy/Domain.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path transform="scale(0.5, 0.5)" fill="none" d="M0 0h48v48H0z" /><path transform="scale(0.5, 0.5)" d="M24 14V6H4v36h40V14H24zM12 38H8v-4h4v4zm0-8H8v-4h4v4zm0-8H8v-4h4v4zm0-8H8v-4h4v4zm8 24h-4v... |
react/exercises/part_09/src/components/ContactForm.spec.js | jsperts/workshop_unterlagen | import React from 'react';
import { shallow } from 'enzyme';
import ContactForm from './ContactForm';
describe('ContactForm', () => {
test('should match the snapshot', () => {
const props = {
onCancel() {},
onSubmit() {},
onUpdateField() {},
submitButtonLabel: 'foo',
formData: {
... |
node_modules/babel-runtime/node_modules/core-js/client/library.js | vitorgomateus/NotifyMe | /**
* core-js 2.4.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2016 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require f... |
examples/huge-apps/routes/Course/routes/Announcements/components/Sidebar.js | SpainTrain/react-router | import React from 'react';
import { Link } from 'react-router';
export default class AnnouncementsSidebar extends React.Component {
render () {
var announcements = COURSES[this.props.params.courseId].announcements;
return (
<div>
<h3>Sidebar Assignments</h3>
<ul>
{announcemen... |
src/components/constellations.js | cosmowiki/cosmowiki | import React from 'react';
import {ConstellationNotes} from './notes';
import {Summary} from './chunks/summary';
const ConstellationsComponent = ({constellations}) => {
return (
<main role="main" className="pure-u-1">
<div id="siteTitle" className="constellations pure-u-1 center">
<div id="siteTitl... |
src/Parser/RetributionPaladin/Modules/Items/SoulOfTheHighlord.js | mwwscott0/WoWAnalyzer | import React from 'react';
import ITEMS from 'common/ITEMS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import Module from 'Parser/Core/Module';
import Combatants from 'Parser/Core/Modules/Combatants';
class SoulOfTheHighlord extends Module {
static dependencies = {
combatant... |
src/widget/DetailCell.js | dudongge/DDGMeiTuan | /**
* Copyright (c) 2017-present, dudongge
* All rights reserved.
*
* https://github.com/dudongge/DDGMeiTuan
* copyright by dudodongge
*/
//import liraries
import React, { Component } from 'react';
import { View, Text, StyleSheet, Image, TouchableOpacity } from 'react-native';
import { Heading1, Heading2, Paragr... |
src/svg-icons/content/unarchive.js | skarnecki/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ContentUnarchive = (props) => (
<SvgIcon {...props}>
<path d="M20.55 5.22l-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.15.55L3.46 5.22C3.17 5.57 3 6.01 3 6.5V19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.4... |
tests/routes/Home/components/HomeView.spec.js | rwade628/react-redux-starter-kit | import React from 'react'
import { HomeView } from 'routes/Home/components/HomeView'
import { render } from 'enzyme'
describe('(View) Home', () => {
let _component
beforeEach(() => {
_component = render(<HomeView />)
})
it('Renders a welcome message', () => {
const welcome = _component.find('h4')
... |
assets/js/components/users_table.js | arineto/twitter_monitor | import _ from 'lodash';
import React from 'react';
// eslint-disable-next-line react/prefer-stateless-function
class UsersTable extends React.Component {
renderUsers() {
return _.map(this.props.users, (user) => {
return (
<tr key={user.id}>
<td>{user.username}</td>
<td>{user.c... |
src/TabPane.js | albertojacini/react-bootstrap | import React from 'react';
import deprecationWarning from './utils/deprecationWarning';
import Tab from './Tab';
const TabPane = React.createClass({
componentWillMount() {
deprecationWarning(
'TabPane', 'Tab',
'https://github.com/react-bootstrap/react-bootstrap/pull/1091'
);
},
render() {
... |
ajax/libs/react/0.3.3/react.min.js | rteasdale/cdnjs | /**
* React v0.3.3
*
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
examples/backbone/node_modules/backbone/backbone.js | makelivedotnet/todomvc | // Backbone.js 1.2.2
// (c) 2010-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(factory) {
// Establish the root object, `window` (`se... |
src/index.js | niyue/react-github | import React from 'react';
import App from './App';
React.render(<App />, document.getElementById('root'));
|
src/react/Login.js | laundree/app | // @flow
/**
* Main login page with social
* login buttons
*/
import React from 'react'
import {
Text,
Image,
TouchableOpacity,
View,
ScrollView
} from 'react-native'
import FancyGoogleButton from './input/FancyGoogleButton'
import FancyFacebookButton from './input/FancyFacebookButton'
import FancyEmailB... |
ajax/libs/material-ui/4.9.4/es/Radio/RadioButtonIcon.js | cdnjs/cdnjs | import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import RadioButtonUncheckedIcon from '../internal/svg-icons/RadioButtonUnchecked';
import RadioButtonCheckedIcon from '../internal/svg-icons/RadioButtonChecked';
import withStyles from '../styles/withStyles';
export const styles = t... |
packages/material-ui-icons/src/SignalCellularConnectedNoInternet4BarOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M20 18h2v-8h-2v8zm0 4h2v-2h-2v2zM2 22h16V8h4V2L2 22z" /></g></React.Fragment>
, 'SignalCellularConnectedNoInternet4BarOutlined');
|
resources/assets/js/components/admin/forms/TransferGroupToNewTeacherForm.js | jrm2k6/i-heart-reading | import React, { Component } from 'react';
import { connect } from 'react-redux';
import { createGroupTransfer } from '../../../actions/admin/adminDashboardActions';
const mapStateToProps = (state) => {
return {
teachers: state.adminReducer.teachers,
groups: state.adminReducer.groups
};
};
const mapDispatc... |
src/components/userBets/UserBets.js | jahuk/bet-platform-react | import React from 'react';
import UserInfo from './UserInfo';
import UserList from './UserList';
const UserBets = ({leaders, results, bets, userId}) => {
const {points, name} = leaders.length > 0 && leaders.find((user) => user.id === userId);
return (
<div>
<UserInfo name={name} points={points} />
... |
client/spec/components/price_info_spec.js | tronroy/sickhauls | import React from 'react';
import PriceInfo from '../../assets/javascripts/components/price_info';
import Histogram from '../../assets/javascripts/components/histogram';
import Stats from '../../assets/javascripts/components/stats';
import Selects from '../../assets/javascripts/components/selects';
import Sales from '.... |
packages/showcase/misc/selection-plot-example.js | uber/react-vis | // Copyright (c) 2016 - 2017 Uber Technologies, Inc.
//
// 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, modify... |
ajax/libs/yasgui/1.0.16/yasgui.bundled.min.js | RobLoach/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
bin/_setup/_demo-src/js/riko.js | dchome/book-sharing-app | /* eslint-env browser */
import App from './components/App';
import React from 'react';
import ReactDOM from 'react-dom';
//Styles
import styles from '../sass/styles.scss';
import stylesCss from '../css/style.css';
import stylesLess from '../less/styles.less';
const root = document.getElementById('root');
ReactDOM.... |
js/components/blankPage/index.js | aditya-simplecrm/iosReactAppNoresha |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Actions } from 'react-native-router-flux';
import { Container, Header, Title, Content, Text, Button, Icon, Left, Right, Body } from 'native-base';
import { openDrawer } from '../../actions/drawer';
import styles from './styles';... |
src/svg-icons/communication/forum.js | igorbt/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationForum = (props) => (
<SvgIcon {...props}>
<path d="M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z"/>
</SvgIcon>
);
Co... |
src/index.js | faysal515/react-nanodegree-readable | import React from 'react';
import ReactDOM from 'react-dom';
import axios from 'axios'
import './index.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
axios.defaults.headers.common['authorization'] = `random token`
axios.defaults.headers.post['Content-Type'] = 'application/... |
client/views/account/tokens/AccountTokensPage.js | VoiSmart/Rocket.Chat | import React from 'react';
import Page from '../../../components/Page';
import { useTranslation } from '../../../contexts/TranslationContext';
import { useEndpointData } from '../../../hooks/useEndpointData';
import AccountTokensTable from './AccountTokensTable';
import AddToken from './AddToken';
const AccountTokens... |
src/index.js | edwarddamato/eyrie | import React from 'react';
import ReactDOM from 'react-dom';
import App from './ui/components/App';
// componentDidMount () {
// document.addEventListener('drop', function (e) {
// e.preventDefault();
// e.stopPropagation();
// for (let f of e.dataTransfer.files) {
// console.log('File(s) you drag... |
src/components/Keycap.js | cuebrick/TypeWriter | import React from 'react';
class Keycap extends React.Component{
render(){
let nextCodeClassName = (this.props.nextCode === this.props.keyCode || this.props.isShiftKey) ? 'next-code' : '';
let keyTypeClassName = (this.props.keyType) ? ' ' + this.props.keyType : '';
let shiftingClassName = (this.props.isShifting... |
examples/react/app/containers/DevTools.js | tcurdt/xstatic | import React from 'react'
import { createDevTools } from 'redux-devtools'
import LogMonitor from 'redux-devtools-log-monitor'
import DockMonitor from 'redux-devtools-dock-monitor'
export default createDevTools(
<DockMonitor toggleVisibilityKey='H' changePositionKey='Q'>
<LogMonitor />
</DockMonitor>
)
|
ajax/libs/react-virtualized/8.4.0/react-virtualized.js | AMoo-Miki/cdnjs | !function(root, factory) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("React"), require("React.addons.shallowCompare"), require("ReactDOM")) : "function" == typeof define && define.amd ? define([ "React", "React.addons.shallowCompare", "ReactDOM" ], factory) : "object... |
ajax/libs/forerunnerdb/1.3.687/fdb-all.min.js | dc-js/cdnjs | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex... |
src/app/router.js | all3dp/printing-engine-client | import React from 'react'
import {ConnectedRouter} from 'connected-react-router'
import {Route, Switch} from 'react-router'
import MainApp from './container/main-app'
import OrderStatusApp from './container/order-status-app'
/* eslint-disable react/prop-types */
export default ({history}) => (
<ConnectedRouter hist... |
src/views/ChampView.js | samrocksc/lol-app | import React, { Component } from 'react';
//Setup Redux
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import ChampData from '../components/champData';
import * as ChampActions from '../actions/champions';
class ChampView extends Component {
//mounting champions when component mo... |
ajax/libs/zeroclipboard/2.1.1/ZeroClipboard.Core.js | senekis/cdnjs | /*!
* ZeroClipboard
* The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface.
* Copyright (c) 2014 Jon Rohan, James M. Greene
* Licensed MIT
* http://zeroclipboard.org/
* v2.1.1
*/
(function(window, undefined) {
"use strict";... |
Frontend/src/paginator.js | fabiofernandesx/kbArticle | import React, { Component } from 'react';
export default class Paginator extends Component{
constructor(props){
super(props);
this.state={ currentPage: 1 };
}
componentDidUpdate(prevProps, prevState) {
if (prevState.currentPage !== this.state.currentPage) {
this.props.onChange(this.sta... |
src/components/Feedback/Feedback.js | taylorharwin/react-starter-kit | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React from 'react';
import styles from './Feedback.less';
import withStyles from '../../decorators/withStyles';
@withStyles(styles)
class Feedback {
render() {
return (
<div className="Feedback">
<div className="Feedb... |
packages/mineral-ui-icons/src/IconRadioButtonCheck.js | mineral-ui/mineral-ui | /* @flow */
import React from 'react';
import Icon from 'mineral-ui/Icon';
import type { IconProps } from 'mineral-ui/Icon/types';
/* eslint-disable prettier/prettier */
export default function IconRadioButtonCheck(props: IconProps) {
const iconProps = {
rtl: false,
...props
};
return (
<Icon {...i... |
dva/cnode/src/routes/Select.js | imuntil/React | import React from 'react'
function SelectPage() {
return (
<select name="x" id="x">
<option value="1">1</option>
<option value="1">1</option>
<option value="1">1</option>
<option value="1">1</option>
<option value="1">1</option>
</select>
)
}
export default SelectPage
|
static/foundation/froala/js/libs/jquery-1.11.1.min.js | jovencoda/troca | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
react-flux-mui/js/material-ui/src/svg-icons/action/tab.js | pbogdan/react-flux-mui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionTab = (props) => (
<SvgIcon {...props}>
<path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h10v4h8v10z"/>
</SvgIcon>
);
ActionTab = pure(ActionTab);
ActionTab.... |
src/svg-icons/navigation/first-page.js | skarnecki/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NavigationFirstPage = (props) => (
<SvgIcon {...props}>
<path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"/>
</SvgIcon>
);
NavigationFirstPage = pure(NavigationFirstPage);
NavigationFirstPag... |
src/ModalFooter.js | blue68/react-bootstrap | import React from 'react';
import classNames from 'classnames';
class ModalFooter extends React.Component {
render() {
return (
<div
{...this.props}
className={classNames(this.props.className, this.props.modalClassName)}>
{this.props.children}
</div>
);
}
}
ModalFooter.... |
test/test_helper.js | bikinavisho/react-pokedex | import _$ from 'jquery';
import React from 'react';
import ReactDOM from 'react-dom';
import TestUtils from 'react-addons-test-utils';
import jsdom from 'jsdom';
import chai, { expect } from 'chai';
import chaiJquery from 'chai-jquery';
import { Provider } from 'react-redux';
import { createStore } from 'redux';
import... |
src/svg-icons/notification/rv-hookup.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationRvHookup = (props) => (
<SvgIcon {...props}>
<path d="M20 17v-6c0-1.1-.9-2-2-2H7V7l-3 3 3 3v-2h4v3H4v3c0 1.1.9 2 2 2h2c0 1.66 1.34 3 3 3s3-1.34 3-3h8v-2h-2zm-9 3c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1... |
test/components/Anchor-test.js | samogami/grommet | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import {expect} from 'chai';
import React from 'react';
import TestUtils from 'react-addons-test-utils';
import Anchor from '../../src/js/components/Anchor';
describe('Grommet Anchor', function() {
it('loads a basic Anchor', () => {
const sha... |
src/templates/blog-post.js | chtefi/golb | import React from 'react'
import Helmet from 'react-helmet'
import { graphql, Link } from 'gatsby'
import get from 'lodash/get'
import Bio from '../components/Bio'
import Tags from '../components/Tags'
import Layout from '../components/Layout'
import ShareButtons from '../components/ShareButtons'
import NewsletterSubs... |
node_modules/semantic-ui-react/src/modules/Sidebar/SidebarPushable.js | mowbell/clickdelivery-fed-test | import cx from 'classnames'
import PropTypes from 'prop-types'
import React from 'react'
import {
customPropTypes,
getElementType,
getUnhandledProps,
META,
} from '../../lib'
/**
* A pushable sub-component for Sidebar.
*/
function SidebarPushable(props) {
const { className, children } = props
const clas... |
src/templates/blog-post.js | sfoubert/cdsbf75 | import React from 'react'
import PropTypes from 'prop-types'
import { kebabCase } from 'lodash'
import Helmet from 'react-helmet'
import { graphql, Link } from 'gatsby'
import Layout from '../components/Layout'
import Content, { HTMLContent } from '../components/Content'
export const BlogPostTemplate = ({
content,
... |
examples/website/src/components/buttons/ParserButton.js | w-y/ecma262-jison | import PropTypes from 'prop-types';
import React from 'react';
import {getParserByID} from '../../parsers';
export default class ParserButton extends React.Component {
constructor(props) {
super(props);
this._onClick = this._onClick.bind(this);
}
_onClick({currentTarget}) {
let parserID = currentTar... |
app/component/reader/MarckDownDocumentReader.js | mrFlick72/mrFlick72.github.io | import React from 'react';
import "../../asset/css/components.css"
import WebContentReader from "./WebContentReader";
export default ({documentText, avatar, title}) => {
return <WebContentReader avatar={avatar} htmlText={documentText} title={title}/>
} |
ajax/libs/forerunnerdb/1.3.844/fdb-core.min.js | extend1994/cdnjs | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex... |
packages/material-ui-icons/src/LeakAddTwoTone.js | Kagami/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M18 21h3v-3c-1.66 0-3 1.34-3 3zM3 14c6.08 0 11-4.93 11-11h-2c0 4.97-4.03 9-9 9v2zM14 21h2c0-2.76 2.24-5 5-5v-2c-3.87 0-7 3.13-7 7z" /><path d... |
node_modules/react-tools/src/classic/class/ReactClass.js | davyengone/meetup.demo | /**
* Copyright 2013-2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @providesModule ... |
docs/src/sections/CustomStylesSection.js | dozoisch/react-bootstrap | import React from 'react';
import Anchor from '../Anchor';
import ReactPlayground from '../ReactPlayground';
import Samples from '../Samples';
export default function CustomStylesSection() {
return (
<div className="bs-docs-section">
<h2 className="page-header">
<Anchor id="custom-styles">Custom S... |
specs/helper.js | dminuoso/react-modal | // The following eslint overrides should be removed when refactoring can occur
/* eslint react/no-render-return-value: "warn" */
import React from 'react';
import ReactDOM from 'react-dom';
import Modal from '../lib/components/Modal';
const divStack = [];
export function renderModal (props, children, callback) {
c... |
test/unit/client/header/components/logged-in-header.js | jmeas/finance-app | import React from 'react';
import {Link} from 'react-router';
import {shallow} from 'enzyme';
import preventScroll from '../../../../../client/common/utils/prevent-scroll';
import {LoggedInHeader} from '../../../../../client/header/components/logged-in-header';
import Nav from '../../../../../client/header/components/n... |
public/scripts/containers/App.js | Ohems/watodo | import 'react-select/dist/react-select.css';
import React from 'react';
import { Switch, Route, withRouter } from 'react-router-dom';
import Select from 'react-select';
import Home from './Home';
import UserList from './UserList';
import UserProfile from './UserProfile';
import ToolbarButton from '../components/Tool... |
src/routes/investors/index.js | medevelopment/updatemeadmin |
import React from 'react';
import Investors from './Investors';
import Layout from '../../components/Layout';
export default {
path: '/investors',
async action({ fetch }) {
const resp = await fetch('/graphql', {
body: JSON.stringify({
query: '{news{title,link,content}}',
}),
});
... |
docs/app/Examples/modules/Progress/index.js | aabustamante/Semantic-UI-React | import React from 'react'
import Types from './Types'
import Content from './Content'
import States from './States'
import Variations from './Variations'
const ProgressExamples = () => (
<div>
<Types />
<Content />
<States />
<Variations />
</div>
)
export default ProgressExamples
|
mine-data/src/Info/Info.js | BerlingskeMedia/nyhedsbreveprofil | import React, { Component, Fragment } from 'react';
import PropTypes from 'prop-types';
import { Tooltip } from 'reactstrap';
import './Info.scss';
export class Info extends Component {
constructor(props) {
super(props);
this.toggle = this.toggle.bind(this);
this.state = {
isOpen: false
};
... |
docs/build/html/_static/jquery.js | DirectXMan12/python-gssapi | /*! jQuery v1.7.1 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde... |
application/components/ListHeader.js | ultimagriever/todo-list-react-native | import React, { Component } from 'react';
import { View, TextInput, Dimensions } from 'react-native';
import Button from 'react-native-button';
import { Styles } from '../styles';
export default class ListHeader extends Component {
constructor(props) {
super(props);
}
render() {
return (
<View sty... |
ajax/libs/react-data-grid/1.0.44/react-data-grid.ui-plugins.js | jdh8/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
src/svg-icons/editor/functions.js | pancho111203/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let EditorFunctions = (props) => (
<SvgIcon {...props}>
<path d="M18 4H6v2l6.5 6L6 18v2h12v-3h-7l5-5-5-5h7z"/>
</SvgIcon>
);
EditorFunctions = pure(EditorFunctions);
EditorFunctions.displayName = 'EditorFunctions... |
packages/material-ui-icons/lib/LocalShippingOutlined.js | mbrookes/material-ui | "use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _createSvgIcon = _interopRequireDefault(require("./utils/createSvgIcon"));
var _jsxRuntime = require("react/jsx-runtime")... |
src/Flags/TrinidadAndTobago.js | runjak/css-flags | // @flow
import React from 'react';
import LinearFlag from './LinearFlag';
import gradient from '../utils/gradient';
const red = '#DB1332';
const white = '#FFFFFF';
const black = '#000000';
export default function TrinidadAndTobago() {
return (
<LinearFlag
gradient={`45deg, ${gradient([red, white, black,... |
docs/app/Examples/elements/List/Variations/ListExampleHorizontalBulleted.js | mohammed88/Semantic-UI-React | import React from 'react'
import { List } from 'semantic-ui-react'
const ListExampleHorizontalBulleted = () => (
<List bulleted horizontal link>
<List.Item as='a'>Terms and Conditions</List.Item>
<List.Item as='a'>Privacy Policy</List.Item>
<List.Item as='a'>Contact Us</List.Item>
</List>
)
export def... |
src/app/pages/blog/Contact.js | ROZ32/react-example | import React, { Component } from 'react';
class Contact extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="container">
<div className="row">
<div className="col-lg-8 col-md-10 mx-auto">
<p>Want to get in touch? Fill out the form below to send me a mes... |
spec/javascripts/jsx/gradebook/default_gradebook/components/SubmissionTrayRadioInputGroupSpec.js | djbender/canvas-lms | /*
* Copyright (C) 2017 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distribut... |
source/client/components/svg/euc-4.js | lawshe/boda | import React from 'react';
import variables from '../../../../config/variables.js';
export default (props) => {
const color = props.color
? variables[props.color]
: variables.$black;
return (
<div className={props.optionalClass}>
<svg version="1.1" x="0px" y="0px" viewBox="0 0 493 287" enableBac... |
src/svg-icons/action/delete.js | pancho111203/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionDelete = (props) => (
<SvgIcon {...props}>
<path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/>
</SvgIcon>
);
ActionDelete = pure(ActionDelete);
ActionDelete.display... |
examples/wfst/app.js | jjmulenex/sdk | /** Demonstrate working with WFS-T
*
* Uses a tracts layer served from GeoServer to
* do WFS-T stuff.
*
*/
import {createStore, combineReducers, applyMiddleware} from 'redux';
import thunkMiddleware from 'redux-thunk';
import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-... |
imports/ui/components/index.js | jiyuu-jin/openlens | import React from 'react'
import {Link} from 'react-router-dom';
const IndexPage = () =>({
render(){
return (
<div>
<br/>
<br/>
<br/>
<div className="home-banner z-depth-5">
<center><h1 className="grey-text text-li... |
ajax/libs/yui/3.3.0/simpleyui/simpleyui.js | steakknife/cdnjs |
/**
* The YUI module contains the components required for building the YUI seed
* file. This includes the script loading mechanism, a simple queue, and
* the core utilities for the library.
* @module yui
* @submodule yui-base
*/
if (typeof YUI != 'undefined') {
YUI._YUI = YUI;
}
/**
* The YUI global name... |
tests/components/FullElevation.spec.js | abkfenris/inferno-react | import React from 'react'
import FullElevation from 'components/FullElevation/FullElevation'
describe('(Component) FullElevation', () => {
it('should exist', () => {
})
})
|
ajax/libs/core-js/0.4.0/shim.js | dhenson02/cdnjs | /**
* Core.js 0.4.0
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(returnThis, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
sites/all/modules/jquery_update/replace/jquery/1.5/jquery.min.js | geoffreygevalt/ywp | /*!
* jQuery JavaScript Library v1.5.1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
src/svg-icons/notification/do-not-disturb-on.js | mtsandeep/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationDoNotDisturbOn = (props) => (
<SvgIcon {...props}>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z"/>
</SvgIcon>
);
NotificationDoNotDisturbOn = pure(No... |
src/app/src/assets/utils/Table.js | istreight/eggbeatr | /**
* FILENAME: Table.js
* AUTHOR: Isaac Streight
* START DATE: May 31th, 2018
*
* This file contains the Table class, a utility class for
* table tags in the application.
*/
import React from 'react';
import PropTypes from 'prop-types';
import TableRow from 'utils/TableRow';
class Table extends Re... |
To share/bower_components/modernizr/test/caniuse_files/jquery.min.js | conorluddy/bringyourfriends | /*!
* jQuery JavaScript Library v1.6.1
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
ajax/libs/react-data-grid/0.12.7/react-data-grid.js | x112358/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["ReactDataGrid"] = f... |
static/bootstrap3.3/js/jquery.min.js | hilarry/mvpn | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
src/components/Provide/IntlProvider.js | fkenk/Majsternia | import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import { IntlProvider } from 'react-intl';
function ProvideIntl({ intl, children }) {
return (
<IntlProvider
{...intl}
messages={intl.messages[intl.locale]}
>
{children}
</IntlProvider>... |
assets/jqwidgets/demos/react/app/scrollbar/defaultfunctionality/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxScrollBar from '../../../jqwidgets-react/react_jqxscrollbar.js';
class App extends React.Component {
componentDidMount() {
this.refs.myScrollBar.on('valueChanged', (event) => {
document.getElementById('HorizontalDiv').inner... |
actor-apps/app-web/src/app/components/modals/CreateGroup.react.js | mitchellporter/actor-platform | import React from 'react';
import CreateGroupActionCreators from 'actions/CreateGroupActionCreators';
import CreateGroupStore from 'stores/CreateGroupStore';
import CreateGroupForm from './create-group/Form.react';
import Modal from 'react-modal';
import { KeyCodes } from 'constants/ActorAppConstants';
const appEl... |
tests/lib/rules/vars-on-top.js | ipanasenko/eslint | /**
* @fileoverview Tests for vars-on-top rule.
* @author Danny Fritz
* @author Gyandeep Singh
* @copyright 2014 Danny Fritz. All rights reserved.
* @copyright 2014 Gyandeep Singh. All rights reserved.
*/
"use strict";
//------------------------------------------------------------------------------
// Requiremen... |
examples/counter/containers/App.js | oliverturner/redux-devtools | import React, { Component } from 'react';
import CounterApp from './CounterApp';
import { createStore, applyMiddleware, combineReducers, compose } from 'redux';
import { devTools, persistState } from 'redux-devtools';
import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react';
import thunk from 'redux-... |
src/Parser/Hunter/Marksmanship/Modules/Spells/MarkingTargets.js | hasseboulen/WoWAnalyzer | import React from 'react';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
import SPELLS from 'common/SPELLS';
import Wrapper from 'common/Wrapper';
import StatisticBox from 'Main/StatisticBox';
import SpellIcon from 'common/SpellIcon';
/**
* Your next Sidewinders... |
app/pages/CataloguePage.js | Byte-Code/lm-digital-store-private-test | import React from 'react';
import PropTypes from 'prop-types';
import Page from '../components/Page';
import Catalogue from '../containers/Catalogue';
import Footer from '../components/Footer';
import SideMenu from '../components/SideMenu';
export default function CataloguePage(props) {
return (
<Page backgroun... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.