Skip to main content

PanelSkeletonProps

The PanelSkeletonProps object is used to render a panel skeleton.

note

This type is deducted from Spotify's internal usage. It may not be accurate and may change in the future.

type PanelSkeletonProps = {
label?: string;
itemUri?: string;
className?: string;
style?: React.CSSProperties;
children?: React.ReactNode;
};

Properties

PropertyTypeDescription
labelstring | undefinedAria label for the panel. Does not set the panel header content.
itemUristring | undefinedItem URI of the panel. Used as reference for Spotify's internal Event Factory.
classNamestring | undefinedAdditional class name to apply to the panel. Deprecated: Since Spotify 1.2.12
styleReact.CSSProperties | undefinedAdditional styles to apply to the panel.
childrenReact.ReactNode | undefinedChildren to render inside the panel.