UNPKG

@rdsaude/pulso-react-components

Version:

Biblioteca de componentes React do Pulso Design System da RD Saúde oferece componentes consistentes e de alto desempenho, alinhados com os padrões da RDSaúde. Ideal para desenvolver aplicações modernas e acessíveis.

36 lines (29 loc) 1.3 kB
import * as react_jsx_runtime from 'react/jsx-runtime'; import { Tour } from '@ark-ui/react/tour'; export { useTour as useCoachmarkTour } from '@ark-ui/react/tour'; type CoachmarkRootProps = React.ComponentProps<typeof Tour.Root>; declare function CoachmarkRoot({ children, ...props }: CoachmarkRootProps): react_jsx_runtime.JSX.Element; type CoachmarkContentProps = React.ComponentProps<typeof Tour.Content>; declare function CoachmarkContent({ children, ...props }: CoachmarkContentProps): react_jsx_runtime.JSX.Element; type CoachmarkTitleProps = { /** * Tag opcional exibindo um rótulo ao lado do título. */ tag?: { /** * Texto que será exibido dentro da tag. */ label: string; }; /** * Define se o botão de fechar deve ser renderizado. * @default true */ hasCloseButton?: boolean; }; declare function CoachmarkTitle({ tag, hasCloseButton, }: CoachmarkTitleProps): react_jsx_runtime.JSX.Element; declare function CoachmarkDescription(): react_jsx_runtime.JSX.Element; declare namespace namespace { export { CoachmarkContent as Content, CoachmarkDescription as Description, CoachmarkRoot as Root, CoachmarkTitle as Title }; } export { namespace as Coachmark, type CoachmarkRootProps as CoachmarkProps };