'use strict'; import React from 'react'; import { FormattedMessage } from 'react-intl'; import { Widget, Stack } from 'soapbox/components/ui'; import type { Account } from 'soapbox/types/entities'; interface IProfileFieldsPanel { account: Account, } /** Custom profile fields for sidebar. */ const ProfileFieldsPanel: React.FC = ({ account }) => { return ( }> {account.fields.map(field => (
{field.name_emojified}
{field.value_emojified}
))}
); }; export default ProfileFieldsPanel;