alleyinteractive / alley-scripts

A collection of scripts and utilities for Alley projects.
https://alley-scripts.alley.dev/
6 stars 1 forks source link

PostPicker Allow developer to specify post lookup function #629

Open mogmarsh opened 5 months ago

mogmarsh commented 5 months ago

Description

I would like to be able to provide a custom function to look up post data to be used in the preview component.

Use Case

If a post cannot be accessed by usePostById we need to specify another function that can access it.