Create AnTeks component

This commit is contained in:
2023-07-22 13:56:37 +04:00
parent 32dfd92579
commit 0008899bcf
+19
View File
@@ -0,0 +1,19 @@
'use client'
import PropTypes from 'prop-types'
import Teks from './teks'
export default function AnTeks({parole, paroleId}) {
return (
<Teks
parole={parole}
paroleId={paroleId}
commentaires={parole?.commentaires.data}
/>
)
}
AnTeks.propTypes = {
parole: PropTypes.object,
paroleId: PropTypes.string,
}