summaryrefslogtreecommitdiff
path: root/app/components/bullet-item
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-20 21:24:52 +0300
committerKirill Rogovoy <[email protected]>2021-07-20 21:24:52 +0300
commit5f4611d65e40eae3ca6191a15f68d69ea5a1c4cb (patch)
tree273dfc086444533d86d580961c92ba8d14781a67 /app/components/bullet-item
parentf0bf4e7afdcd8b02a62be45ab3e7d047ed865a79 (diff)
WIP
Diffstat (limited to 'app/components/bullet-item')
-rw-r--r--app/components/bullet-item/bullet-item.tsx41
1 files changed, 0 insertions, 41 deletions
diff --git a/app/components/bullet-item/bullet-item.tsx b/app/components/bullet-item/bullet-item.tsx
deleted file mode 100644
index f6b2f17..0000000
--- a/app/components/bullet-item/bullet-item.tsx
+++ /dev/null
@@ -1,41 +0,0 @@
-import * as React from 'react'
-import { View, ViewStyle, ImageStyle, TextStyle } from 'react-native'
-import { Text } from '../text/text'
-import { Icon } from '../icon/icon'
-import { spacing, typography } from '../../theme'
-
-const BULLET_ITEM: ViewStyle = {
- flexDirection: 'row',
- marginTop: spacing[4],
- paddingBottom: spacing[4],
- borderBottomWidth: 1,
- borderBottomColor: '#3A3048',
-}
-const BULLET_CONTAINER: ViewStyle = {
- marginRight: spacing[4] - 1,
- marginTop: spacing[2],
-}
-const BULLET: ImageStyle = {
- width: 8,
- height: 8,
-}
-const BULLET_TEXT: TextStyle = {
- flex: 1,
- fontFamily: typography.primary,
- color: '#BAB6C8',
- fontSize: 15,
- lineHeight: 22,
-}
-
-export interface BulletItemProps {
- text: string
-}
-
-export function BulletItem(props: BulletItemProps) {
- return (
- <View style={BULLET_ITEM}>
- <Icon icon="bullet" containerStyle={BULLET_CONTAINER} style={BULLET} />
- <Text style={BULLET_TEXT} text={props.text} />
- </View>
- )
-}