Kvaser CanKing GUI Extensions SDK v7.4.0
Kvaser CanKing GUI Extensions SDK / hooks
hooks
This module includes React hooks for getting/setting data from/to CanKing.
To be able to use these hooks the CanKingDataProvider component must be present in the component tree above your component. Normally the CanKingDataProvider is added at the root of the component tree.
Example
import { useUserSettings } from '@kvaser/canking-api/hooks';
...
const userSettings = useUserSettings();