Files
wdi-dashboard/node_modules/@chakra-ui/modal/dist/modal-close-button.d.ts
2024-08-16 15:06:52 +05:30

14 lines
473 B
TypeScript

import * as _chakra_ui_system from '@chakra-ui/system';
import { CloseButtonProps } from '@chakra-ui/close-button';
type ModalCloseButtonProps = CloseButtonProps;
/**
* ModalCloseButton is used closes the modal.
*
* You don't need to pass the `onClick` to it, it reads the
* `onClose` action from the modal context.
*/
declare const ModalCloseButton: _chakra_ui_system.ComponentWithAs<"button", CloseButtonProps>;
export { ModalCloseButton, ModalCloseButtonProps };