Skip to content

Instantly share code, notes, and snippets.

View anishtr4's full-sized avatar
💻
Back to Work

Anish anishtr4

💻
Back to Work
View GitHub Profile
@anishtr4
anishtr4 / designer.html
Last active August 29, 2015 14:09
designer
<link rel="import" href="../core-ajax/core-ajax.html">
<link rel="import" href="../paper-calculator/paper-calculator.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@anishtr4
anishtr4 / designer.html
Last active August 29, 2015 14:10
designer
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
@anishtr4
anishtr4 / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationStageLeft.html">
<link rel="import" href="../../salesforce/s1-elements/s1StagedNavigationNotifications.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorLightDefault.html">
<link rel="import" href="../../salesforce/s1-elements/s1ListWithLabels.html">
<link rel="import" href="../../salesforce/s1-elements/s1AnchorDark.html">
<link rel="import" href="../../salesforce/s1-elements/s1IndicatorDotsLightBackground.html">
<link rel="import" href="../../salesforce/s1-elements/s1ButtonGroups.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1DetailView.html">
import React, { Component } from "react";
function ParentComponent(props) {
return (
<ChildComponent value={props.value} />
);
}
function ChildComponent(props) {
return (
<GrandChildComponent value={props.value} />
import React, { Component } from "react";
import "./App.css";
import InputContext from "./context";
function ParentComponent() {
return (
<ChildComponent />
);
}