Create AnTeks component
This commit is contained in:
@@ -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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user