import React from 'react'; import { Theme } from '@leafygreen-ui/lib'; // note: this cannot import from index file without causing circular dependency import { Size } from './SegmentedControl/SegmentedControl.types'; interface SCContext { size: Size; theme: Theme; name: string; followFocus: boolean; } export const SegmentedControlContext = React.createContext({ size: Size.Default, theme: Theme.Light, name: '', followFocus: true, });