Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Button as styledButton } from 'component-library'
- import React, { PropTypes } from "react";
- import cx from 'classNames';
- import { Button as styledButton } from 'component-library';
- export default class Button extends React.Component {
- constructor(props){
- super(props)
- }
- render() {
- return (
- <styledButton {...this.props}></styledButton>
- )
- }
- }
- import {default as StyledButton} from "component-library";
- import * as componentLibrary from "component-library";
- import React, { PropTypes } from "react";
- import * as StyledLibrary from 'component-library';
- export default class Button extends React.Component {
- constructor(props){
- super(props)
- }
- render() {
- return (
- <StyledLibrary.Button {...this.props}></StyledLibrary.Button>
- )
- }
- }
Add Comment
Please, Sign In to add comment