import React from 'react' ; import DeleteDialog from './DeleteConnectorDialog' ; export default { title : 'Teleport/AuthConnectors/Delete' , } ; export const Loaded = ( ) => < DeleteDialog { ... props } / > ; const props = { name : 'sample-connector-role' , onDelete : ( ) => { return Promise . reject ( new Error ( 'server error' ) ) ; } , onClose : ( ) => null , } ;