Merge pull request #50 from lyonsbp/create-user-part
Add UserPart component
This commit was merged in pull request #50.
This commit is contained in:
17
web/src/components/UserPart/UserPart.js
Normal file
17
web/src/components/UserPart/UserPart.js
Normal file
@@ -0,0 +1,17 @@
|
||||
function UserPart({ userName, partName }) {
|
||||
return (
|
||||
<h3 className="text-xl font-roboto">
|
||||
<span className="border-2 border-indigo-800 mr-1"></span>
|
||||
<span className="text-gray-500">
|
||||
{userName}
|
||||
</span>
|
||||
<span className="border-2 border-gray-400 mx-1 transform -skew-x-12">
|
||||
</span>
|
||||
<span className="text-indigo-800">
|
||||
{partName}
|
||||
</span>
|
||||
</h3>
|
||||
)
|
||||
}
|
||||
|
||||
export default UserPart
|
||||
Reference in New Issue
Block a user