import { Modal } from 'antd' ; import React from 'react' ; export const GenericFigmaModal = ( { children , ... modalProps } ) => ( < Modal { ... modalProps } > { children } < /Modal>); interface GenericFigmaModalProps { children ? : any ; visible : boolean ; footer : any ; closable : boolean ; title : string | null ; } export default GenericFigmaModal ;