mirror of
https://github.com/fiatjaf/nak.git
synced 2024-10-30 09:09:08 -04:00
18 lines
308 B
JavaScript
18 lines
308 B
JavaScript
import React from 'react'
|
|
|
|
export default function Item({label, children}) {
|
|
return (
|
|
<div
|
|
style={{
|
|
marginBottom: '9px',
|
|
whiteSpace: 'pre-wrap',
|
|
wordWrap: 'break-word',
|
|
wordBreak: 'break-all'
|
|
}}
|
|
>
|
|
<b>{label}: </b>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|