Skip to content

Commit 7274036

Browse files
mihar-22claude
andcommitted
docs(core): add JSDoc to CastButtonState interface
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dfa78df commit 7274036

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packages/core/src/core/ui/cast-button/cast-button-core.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ export interface CastButtonProps {
1515
}
1616

1717
export interface CastButtonState extends ButtonState {
18+
/** Current cast connection state. */
1819
castState: CastState;
20+
/** Whether casting can be requested on this platform. */
1921
availability: MediaFeatureAvailability;
22+
/** Whether casting is available (`availability === 'available'`). */
2023
available: boolean;
2124
}
2225

0 commit comments

Comments
 (0)