From bc4fa6b198557a7f3989eb0865e2c77ac7451d29 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Sun, 3 Dec 2017 23:26:40 -0800 Subject: Rename themes -> flavours ? ? --- .../flavours/glitch/components/display_name.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/javascript/flavours/glitch/components/display_name.js (limited to 'app/javascript/flavours/glitch/components/display_name.js') diff --git a/app/javascript/flavours/glitch/components/display_name.js b/app/javascript/flavours/glitch/components/display_name.js new file mode 100644 index 000000000..2cf84f8f4 --- /dev/null +++ b/app/javascript/flavours/glitch/components/display_name.js @@ -0,0 +1,20 @@ +import React from 'react'; +import ImmutablePropTypes from 'react-immutable-proptypes'; + +export default class DisplayName extends React.PureComponent { + + static propTypes = { + account: ImmutablePropTypes.map.isRequired, + }; + + render () { + const displayNameHtml = { __html: this.props.account.get('display_name_html') }; + + return ( + + @{this.props.account.get('acct')} + + ); + } + +} -- cgit