useTheme()

useTheme is a hook that provides access to your application theme value inside component contexts.

Usage

useTheme returns the entire theme value. If a custom theme is passed to ComponentryProvider it will be returned.

const { fontSize } = useTheme()