Created
          July 28, 2017 15:29 
        
      - 
      
- 
        Save jwaldrip/0fd722f55350dce971e9208a636318ee to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or 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
    
  
  
    
  | <style ref='stylized'> | |
| #stylized-785246 > span { | |
| color: black; | |
| } | |
| #stylized-785246 > span:hover { | |
| color: blue; | |
| } | |
| #stylized-785246:hover { | |
| background-color: blue; | |
| } | |
| </style> | |
| <div id="stylized-785246"> | |
| <span>Hello There</span> | |
| </div> | 
  
    
      This file contains hidden or 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 from 'react': | |
| import Stylized from 'stylized'; | |
| @Stylized | |
| class SampleComponent extends React.Component { | |
| style () { | |
| return { | |
| '> span': { | |
| color: 'black', | |
| ':hover': { | |
| 'background-color': 'blue' | |
| } | |
| } | |
| }, | |
| ':hover': { | |
| 'background-color': 'blue' | |
| } | |
| } | |
| } | |
| render () { | |
| <div> | |
| <span>Hello There</span> | |
| </div> | |
| } | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment