welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
17 lines (16 loc) • 698 B
TypeScript
import { ComponentProps, ComponentPropsWithRef, HTMLAttributes } from 'react';
import { IconProps } from '../Icon/types';
export type StickyNoteProps = ComponentPropsWithRef<'div'> & HTMLAttributes<HTMLDivElement> & StickyNoteOptions;
export type StickyNoteTitleProps = ComponentProps<'div'> & HTMLAttributes<HTMLDivElement> & StickyNoteTitleOptions;
interface StickyNoteOptions {
children: React.ReactNode;
handleClose?: () => void;
isFullWidth?: boolean;
shape?: 'rectangle' | 'square';
variant?: 'blue' | 'brand' | 'green' | 'orange' | 'pink' | 'teal' | 'violet';
}
interface StickyNoteTitleOptions {
children: React.ReactNode;
icon?: IconProps['name'];
}
export {};