Skip to content

blocks/composer

@fungi.computer/caps


@fungi.computer/caps / blocks/composer

ComposerProps = HTMLAttributes<HTMLDivElement> > & object

Props accepted by Composer.

input: ReactNode

The caller-owned primary input control.

optional action?: ReactNode

The caller-owned action control. Its disabled state and accessible name stay on that control.

optional leading?: ReactNode

Optional caller-owned leading slot, such as an avatar.

optional rowClassName?: string

Classes for the joined row; useful when the host exposes a busy state.

const Composer: ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> > & object & RefAttributes<HTMLDivElement>>>>

Layout and slots only. It never assigns action-control semantics.