Skip to content

Slots for styling #34

@stephenwf

Description

@stephenwf

At the top level, we could have slots that map components if you want to provide custom ones.

function MyCustomThumbnailWrapper({ children }) {
  //...
  return <div className="my-classname">{children}</div>
}

<ThumbnailPanel 
  slots={{
    thumbnailWrapper: MyCustomThumbnailWrapper,
    // ..
  }}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions