mirror of https://github.com/tooot-app/app
28 lines
609 B
TypeScript
28 lines
609 B
TypeScript
import { ParseHTML } from '@components/Parse'
|
|
import { StyleConstants } from '@utils/styles/constants'
|
|
import React from 'react'
|
|
import { StyleSheet, View } from 'react-native'
|
|
|
|
export interface Props {
|
|
account: Mastodon.Account
|
|
}
|
|
|
|
const AccountInformationNotes = React.memo(
|
|
({ account }: Props) => {
|
|
return (
|
|
<View style={styles.note}>
|
|
<ParseHTML content={account.note!} size={'M'} emojis={account.emojis} />
|
|
</View>
|
|
)
|
|
},
|
|
() => true
|
|
)
|
|
|
|
const styles = StyleSheet.create({
|
|
note: {
|
|
marginBottom: StyleConstants.Spacing.L
|
|
}
|
|
})
|
|
|
|
export default AccountInformationNotes
|