This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import "./App.css"; | |
import InputContext from "./context"; | |
function ParentComponent() { | |
return ( | |
<ChildComponent /> | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
function ParentComponent(props) { | |
return ( | |
<ChildComponent value={props.value} /> | |
); | |
} | |
function ChildComponent(props) { | |
return ( | |
<GrandChildComponent value={props.value} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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%; |