childnode 형식으로 변경경
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function SearchDiv (props: { leftPart1: string }) {
|
||||
function SearchDiv ({children}:{ children: React.ReactNode; }) {
|
||||
return (
|
||||
<div>
|
||||
{props.leftPart1}
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user