FaveStar
FaveStar component for marking items as favorites
Live Example
Loading component...
Try It
Edit the code below to experiment with the component:
Live Editor
function Demo() { return ( <FaveStar itemId={1} showTooltip /> ); }
Result
Loading...
Props
| Prop | Type | Default | Description |
|---|---|---|---|
itemId | number | 1 | Unique identifier for the item |
isStarred | boolean | false | Whether the item is currently starred. |
showTooltip | boolean | true | Show tooltip on hover. |
Import
import { FaveStar } from '@superset/components';
Improve this page
This documentation is auto-generated from the component's Storybook story. Help improve it by editing the story file.