synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
9 lines • 375 B
TypeScript
export type FavoriteButtonProps = {
entityId: string;
};
/**
* Renders a button that indicates if an entity is favorited by the logged-in user. When clicked, the entity is
* added to/removed from their favorites
*/
export default function FavoriteButton(props: FavoriteButtonProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=FavoriteButton.d.ts.map