import React from 'react' ; import { WithVisibilityOption } from '@axa-fr/react-toolkit-core' ; export type LiPointProps = WithVisibilityOption & React . HTMLProps < HTMLAnchorElement > ; const LiPoint = ( props ) => { const { isVisible , children } = props ; if ( ! isVisible ) { return null ; } return ( < li className = "af-pager__item af-pager__item--disabled" > < span className = "af-pager__item-link" > { children } < /span> < /li>); } ; export default LiPoint ;