Small tweaks
This commit is contained in:
@@ -174,11 +174,13 @@ export function TagInput({
|
|||||||
|
|
||||||
<Sheet.Content>
|
<Sheet.Content>
|
||||||
<View style={styles.outer}>
|
<View style={styles.outer}>
|
||||||
<FontAwesomeIcon
|
{tags.length < 1 && (
|
||||||
icon="tags"
|
<FontAwesomeIcon
|
||||||
size={14}
|
icon="tags"
|
||||||
style={pal.textLight as FontAwesomeIconStyle}
|
size={14}
|
||||||
/>
|
style={pal.textLight as FontAwesomeIconStyle}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
|
||||||
{tags.map(tag => (
|
{tags.map(tag => (
|
||||||
<TagButton key={tag} value={tag} onClick={removeTag} />
|
<TagButton key={tag} value={tag} onClick={removeTag} />
|
||||||
@@ -250,8 +252,8 @@ const styles = StyleSheet.create({
|
|||||||
web: 20,
|
web: 20,
|
||||||
native: 18,
|
native: 18,
|
||||||
}),
|
}),
|
||||||
paddingTop: 4,
|
paddingTop: 6,
|
||||||
paddingBottom: 4,
|
paddingBottom: 6,
|
||||||
},
|
},
|
||||||
suggestions: {
|
suggestions: {
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
|||||||
@@ -236,8 +236,6 @@ export const TextInput = forwardRef(function TextInputImpl(
|
|||||||
})
|
})
|
||||||
}, [richtext, pal.link, pal.text])
|
}, [richtext, pal.link, pal.text])
|
||||||
|
|
||||||
console.log('render')
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={styles.container}>
|
<View style={styles.container}>
|
||||||
<PasteInput
|
<PasteInput
|
||||||
|
|||||||
Reference in New Issue
Block a user