Last active
August 26, 2015 21:45
-
-
Save DrBoolean/2851c36c3a70eebad40a to your computer and use it in GitHub Desktop.
Blog post about salesforce design system + react 5
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
| render: function() { | |
| return ( | |
| <div className="slds-notify-container"> | |
| <div className="slds-notify slds-notify--alert" role="alert"> | |
| <span className="slds-assistive-text">info</span> | |
| <button className="slds-button slds-notify__close slds-icon--small"> | |
| <svg aria-hidden="true" className="slds-button__icon slds-button__icon--inverse" dangerouslySetInnerHTML={{__html:'<use xlink:href="/assets/icons/action-sprite/svg/symbols.svg#close"></use>'}}> | |
| </svg> | |
| <span className="slds-assistive-text">Close</span> | |
| </button> | |
| {this.props.children} | |
| </div> | |
| </div> | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment