UNPKG

softchatjs-react-native

Version:

React native UI SDK for softchatjs-core. Create a free account at: https://www.softchatjs.com

1 lines 1.15 kB
{"version":3,"sources":["../../../src/components/Draggable/DraggebleItem.tsx"],"sourcesContent":["import React from 'react'\r\nimport Animated from 'react-native-reanimated'\r\nimport { Children } from '../../types'\r\nimport { ViewStyle } from 'react-native';\r\n\r\ntype DraggebleItemProps = {\r\n children: Children;\r\n animatedStyles: ViewStyle\r\n}\r\n\r\nexport default function DraggebleItem(props: DraggebleItemProps) {\r\n\r\n const {\r\n children,\r\n animatedStyles\r\n } = props;\r\n\r\n return (\r\n <Animated.View\r\n style={[\r\n animatedStyles,\r\n {\r\n flex: 1,\r\n borderBottomWidth: 0,\r\n // borderColor: theme?.divider,\r\n // backgroundColor: theme?.background.primary\r\n },\r\n ]}\r\n >\r\n {children}\r\n </Animated.View>\r\n )\r\n}\r\n"],"mappings":";AAAA,OAAO,WAAW;AAClB,OAAO,cAAc;AASN,SAAR,cAA+B,OAA2B;AAE/D,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,EACF,IAAI;AAEJ,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACC,OAAO;AAAA,QACL;AAAA,QACA;AAAA,UACE,MAAM;AAAA,UACN,mBAAmB;AAAA;AAAA;AAAA,QAGrB;AAAA,MACF;AAAA;AAAA,IAEC;AAAA,EACH;AAEJ;","names":[]}