UNPKG

@sanity/ui-workshop

Version:

An environment for designing, reviewing, and quality-testing React components.

12 lines (9 loc) 281 B
import {AxeResults} from 'axe-core' import {createContext} from 'react' /** @internal */ export interface A11yContextValue { error: {message: string} | null results: AxeResults | null } /** @internal */ export const A11yContext = createContext<A11yContextValue | null>(null)