@abgov/react-components
Version:
Government of Alberta - UI components for React
23 lines (22 loc) • 783 B
TypeScript
import { GoabButtonGroupAlignment, GoabButtonGroupGap, Margins } from '@abgov/ui-components-common';
import { JSX } from 'react';
interface WCProps extends Margins {
alignment: GoabButtonGroupAlignment;
gap?: GoabButtonGroupGap;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-button-group": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabButtonGroupProps extends Margins {
alignment: GoabButtonGroupAlignment;
gap?: GoabButtonGroupGap;
testId?: string;
children?: React.ReactNode;
}
export declare function GoabButtonGroup({ alignment, gap, testId, children, mt, mr, mb, ml, }: GoabButtonGroupProps): JSX.Element;
export default GoabButtonGroup;