UNPKG

@yamada-ui/react

Version:

React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion

20 lines (19 loc) 1.16 kB
import { ThemeProps, WithoutThemeProps } from "../../core/system/index.types.js"; import { Component, HTMLProps } from "../../core/components/index.types.js"; import "../../core/index.js"; import { IconButtonProps } from "../button/icon-button.js"; import { CloseButtonStyle } from "./close-button.style.js"; import "../../index.js"; import * as react915 from "react"; //#region src/components/close-button/close-button.d.ts interface CloseButtonProps extends Omit<WithoutThemeProps<IconButtonProps, CloseButtonStyle>, "aria-label">, Pick<HTMLProps<"button">, "aria-label">, ThemeProps<CloseButtonStyle> {} declare const CloseButtonPropsContext: react915.Context<Partial<CloseButtonProps> | undefined>, useCloseButtonPropsContext: () => Partial<CloseButtonProps> | undefined; /** * `CloseButton` is a component used primarily to trigger the close functionality of a component. * * @see https://yamada-ui.com/docs/components/close-button */ declare const CloseButton: Component<"button", CloseButtonProps>; //#endregion export { CloseButton, CloseButtonProps, CloseButtonPropsContext, useCloseButtonPropsContext }; //# sourceMappingURL=close-button.d.ts.map