From c34897036e8cf896e6d0b3c7733ed9c739921f74 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 20 Jun 2018 16:05:19 -0700 Subject: Prevent prettier issue --- .../ts/components/onboarding/onboarding_tooltip.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'packages/website/ts/components/onboarding') diff --git a/packages/website/ts/components/onboarding/onboarding_tooltip.tsx b/packages/website/ts/components/onboarding/onboarding_tooltip.tsx index 74fc6f715..d8065625d 100644 --- a/packages/website/ts/components/onboarding/onboarding_tooltip.tsx +++ b/packages/website/ts/components/onboarding/onboarding_tooltip.tsx @@ -10,16 +10,14 @@ export interface OnboardingTooltipProps extends OnboardingCardProps { pointerDirection?: PointerDirection; } -export const OnboardingTooltip: React.StatelessComponent = ({ - pointerDirection, - className, - ...cardProps, -}) => ( - - - -); - +export const OnboardingTooltip: React.StatelessComponent = props => { + const { pointerDirection, className, ...cardProps } = props; + return ( + + + + ); +}; OnboardingTooltip.defaultProps = { pointerDirection: 'left', }; -- cgit