UNPKG

@dnanpm/styleguide

Version:

DNA Styleguide repository provides the set of components and theme object used in various DNA projects.

13 lines (12 loc) 518 B
import React from 'react'; import type { Props as ButtonProps } from '../Button/Button'; interface Props extends Pick<ButtonProps, 'id' | 'name' | 'children' | 'onClick' | 'onMouseDown' | 'className' | 'data-testid'> { /** * Allows to pass aria label for screen readers */ 'aria-label'?: string; } /** @visibleName Button Close */ declare const ButtonClose: ({ "data-testid": dataTestId, "aria-label": ariaLabel, ...props }: Props) => React.JSX.Element; /** @component */ export default ButtonClose;