Module: Shadcn::Empty

Extended by:
Parts
Defined in:
app/components/shadcn/empty.rb,
app/components/shadcn/empty/preview.rb,
app/components/shadcn/empty/component.rb,
app/components/shadcn/empty/media/component.rb

Overview

The parts of the Empty family that are just an element with a data-slot and a fixed set of classes. EmptyMedia has a variant, so it keeps its own component.rb.

EmptyDescription is typed React.ComponentProps<"p"> upstream but renders a <div>. The element is what the port follows.

Defined Under Namespace

Modules: Media Classes: Component, Preview

Method Summary

Methods included from Parts

part