mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2.git
synced 2026-09-21 16:52:01 -07:00
34 lines
642 B
JavaScript
34 lines
642 B
JavaScript
/*
|
|
Component for posting nostr information.
|
|
*/
|
|
|
|
// Global npm libraries
|
|
import React from 'react'
|
|
import { Container } from 'react-bootstrap'
|
|
|
|
// Local libraries
|
|
import ProfilePost from './profile-post'
|
|
import PublicPost from './public-post'
|
|
|
|
function NostrPost (props) {
|
|
return (
|
|
<>
|
|
<Container>
|
|
<h2 style={{
|
|
textAlign: 'center',
|
|
margin: '20px 0',
|
|
padding: '10px',
|
|
borderBottom: '2px solid #ccc'
|
|
}}
|
|
>
|
|
Nostr Post
|
|
</h2>
|
|
<ProfilePost {...props} />
|
|
<PublicPost {...props} />
|
|
</Container>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default NostrPost
|