Skip to content

Commit

Permalink
fix: padding
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Sep 14, 2024
1 parent b41a297 commit ad4da8d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/ondevice-controls/src/NoControlsWarning.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { styled } from '@storybook/react-native-theming';
import React from 'react';
import { Linking } from 'react-native';
import { Linking, View } from 'react-native';

const Paragraph = styled.Text(({ theme }) => ({
marginBottom: theme.tokens.spacing3,
Expand All @@ -13,7 +12,7 @@ const LinkText = styled.Text(({ theme }) => ({

const NoControlsWarning = () => {
return (
<>
<View style={{ padding: 10 }}>
<Paragraph>This story is not configured to handle controls.</Paragraph>
<Paragraph>
<LinkText
Expand All @@ -32,7 +31,7 @@ const NoControlsWarning = () => {
examples in the Storybook React Native repository.
</LinkText>
</Paragraph>
</>
</View>
);
};

Expand Down

0 comments on commit ad4da8d

Please sign in to comment.