UNPKG

consensys-ui

Version:

Consensys UI component library and design system

9 lines (7 loc) 257 B
import * as React from 'react'; export const TextClassContext = React.createContext<string | undefined>(undefined); // todo: consistent naming export const useTextClass = () => { const context = React.useContext(TextClassContext); return context; };