Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32768860
thread-pill.react.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
506 B
Referenced Files
None
Subscribers
None
thread-pill.react.js
View Options
// @flow
import
*
as
React
from
'react'
;
import
type
{
ThreadInfo
}
from
'lib/types/thread-types'
;
import
Pill
from
'./pill.react'
;
type
Props
=
{
+
threadInfo
:
ThreadInfo
,
+
roundCorners
?:
{
+
left
:
boolean
,
+
right
:
boolean
},
};
function
ThreadPill
(
props
:
Props
)
:
React
.
Node
{
const
{
threadInfo
,
roundCorners
}
=
props
;
return
(
<
Pill
backgroundColor
=
{
`#
${
threadInfo
.
color
}
`
}
label
=
{
threadInfo
.
uiName
}
roundCorners
=
{
roundCorners
}
/>
);
}
export
default
ThreadPill
;
File Metadata
Details
Attached
Mime Type
text/x-java
Expires
Fri, Jan 9, 1:02 PM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5882757
Default Alt Text
thread-pill.react.js (506 B)
Attached To
Mode
rCOMM Comm
Attached
Detach File
Event Timeline
Log In to Comment