From dc5cd78f5032a94b67ff798dc76dce5bf69ae055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 16 Jun 2017 23:34:30 +0100 Subject: [PATCH] test(joyent-ui-toolkit): format with prettier --- packages/ui-toolkit/src/close-button/index.js | 5 ++--- packages/ui-toolkit/src/form/number-input.js | 5 ++--- packages/ui-toolkit/src/icon-button/index.js | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/packages/ui-toolkit/src/close-button/index.js b/packages/ui-toolkit/src/close-button/index.js index 35334d8f..f71afdaa 100644 --- a/packages/ui-toolkit/src/close-button/index.js +++ b/packages/ui-toolkit/src/close-button/index.js @@ -26,10 +26,9 @@ const StyledCloseButton = Button.extend` /** * @example ./usage.md */ -const CloseButton = props => ( +const CloseButton = props => - -); + ; export default CloseButton; diff --git a/packages/ui-toolkit/src/form/number-input.js b/packages/ui-toolkit/src/form/number-input.js index 0735ddb8..e37f1fc7 100644 --- a/packages/ui-toolkit/src/form/number-input.js +++ b/packages/ui-toolkit/src/form/number-input.js @@ -22,7 +22,7 @@ const StyledNumberInput = styled(Baseline(BaseInput(Stylable('input'))))` * @example ./usage-number-input.md */ const NumberInput = ({ value, ...rest }) => { - const render = value => ( + const render = value => {}}> @@ -31,8 +31,7 @@ const NumberInput = ({ value, ...rest }) => { {}}> - - ); + ; return ( diff --git a/packages/ui-toolkit/src/icon-button/index.js b/packages/ui-toolkit/src/icon-button/index.js index 70e28b3d..b6a0c661 100644 --- a/packages/ui-toolkit/src/icon-button/index.js +++ b/packages/ui-toolkit/src/icon-button/index.js @@ -74,13 +74,12 @@ const StyledDiv = styled.div` /** * @example ./usage.md */ -const IconButton = ({ children, onClick }) => ( +const IconButton = ({ children, onClick }) => {children} - -); + ; IconButton.propTypes = { children: PropTypes.node,