@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
13 lines (12 loc) • 464 B
TypeScript
import * as React from 'react';
export interface Props {
/** Join buttons as segmented group */
segmented?: boolean;
/** Buttons will stretch/shrink to occupy the full width */
fullWidth?: boolean;
/** Remove top left and right border radius */
connectedTop?: boolean;
/** Button components */
children?: React.ReactNode;
}
export default function ButtonGroup({ children, segmented, fullWidth, connectedTop, }: Props): JSX.Element;