UNPKG

@atlaskit/button

Version:

A button triggers an event or action. They let users know what will happen next.

3 lines (2 loc) 193 B
import { type BaseProps } from '../types'; export default function getIsOnlySingleIcon({ children, iconBefore, iconAfter, }: Pick<BaseProps, 'children' | 'iconBefore' | 'iconAfter'>): boolean;