UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

25 lines (24 loc) 825 B
/** * Copyright IBM Corp. 2023, 2024 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import React, { ReactNode } from 'react'; import { ButtonProps } from '@carbon/react'; export interface InlineTipButtonProps { /** * Provide an optional class to be applied to the containing node. */ className?: string; /** * Provide the contents of the InlineTip. */ children: ReactNode; } /** * This is a standard Carbon button, styled specifically for use inside InlineTip. */ export declare let InlineTipButton: React.ForwardRefExoticComponent<InlineTipButtonProps & { children?: ReactNode | undefined; } & React.RefAttributes<ButtonProps<React.ElementType<any, keyof React.JSX.IntrinsicElements>>>>;