Version: 3.0.6

useToken

useToken is a custom hook used to resolve design tokens from the theme.

Import#

import { useToken } from 'native-base';

Example#