Skip to content

Commit

Permalink
direct export
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 8, 2019
1 parent 93e4503 commit 97e2457
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions docs/src/pages/customization/components/Component.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React from 'react';
import ClassNames from 'docs/src/pages/customization/components/ClassNames';

// We can use ClassNames over and over.
function Component() {
export default function Component() {
return <ClassNames>Component</ClassNames>;
}

export default Component;
4 changes: 1 addition & 3 deletions docs/src/pages/customization/components/Component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import React from 'react';
import ClassNames from 'docs/src/pages/customization/components/ClassNames';

// We can use ClassNames over and over.
function Component() {
export default function Component() {
return <ClassNames>Component</ClassNames>;
}

export default Component;
4 changes: 1 addition & 3 deletions docs/src/pages/customization/components/InlineStyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const style = {
boxShadow: '0 3px 5px 2px rgba(255, 105, 135, .3)',
};

function InlineStyle() {
export default function InlineStyle() {
return <Button style={style}>inline-style</Button>;
}

export default InlineStyle;
4 changes: 1 addition & 3 deletions docs/src/pages/customization/components/InlineStyle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const style = {
boxShadow: '0 3px 5px 2px rgba(255, 105, 135, .3)',
};

function InlineStyle() {
export default function InlineStyle() {
return <Button style={style}>inline-style</Button>;
}

export default InlineStyle;

0 comments on commit 97e2457

Please sign in to comment.