Guest User

Untitled

a guest
Apr 25th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. import { Button as styledButton } from 'component-library'
  2.  
  3. import React, { PropTypes } from "react";
  4. import cx from 'classNames';
  5.  
  6. import { Button as styledButton } from 'component-library';
  7.  
  8. export default class Button extends React.Component {
  9. constructor(props){
  10. super(props)
  11. }
  12. render() {
  13. return (
  14. <styledButton {...this.props}></styledButton>
  15. )
  16. }
  17. }
  18.  
  19. import {default as StyledButton} from "component-library";
  20.  
  21. import * as componentLibrary from "component-library";
  22.  
  23. import React, { PropTypes } from "react";
  24. import * as StyledLibrary from 'component-library';
  25.  
  26. export default class Button extends React.Component {
  27. constructor(props){
  28. super(props)
  29. }
  30. render() {
  31. return (
  32. <StyledLibrary.Button {...this.props}></StyledLibrary.Button>
  33. )
  34. }
  35. }
Add Comment
Please, Sign In to add comment