20 lines
340 B
JavaScript
20 lines
340 B
JavaScript
'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,
|
|
}
|