UNPKG

@tanstack/charts

Version:

<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/charts.png?theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/

15 lines (14 loc) 216 B
function whenFocused(mark, options = {}) { return { ...mark, initialize(context) { return { ...mark.initialize(context), focus: options }; } }; } export { whenFocused };