Skip to content

Commit

Permalink
fix ButtonGroupContextType
Browse files Browse the repository at this point in the history
  • Loading branch information
lhilgert9 committed Nov 7, 2023
1 parent 85c4db1 commit 5697536
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import type { ButtonGroupProps } from './ButtonGroup';

interface ButtonGroupContext {
interface ButtonGroupContextType {
className?: string;
color?: ButtonGroupProps['color'];
disabled?: boolean;
Expand All @@ -16,7 +16,7 @@ interface ButtonGroupContext {
/**
* @ignore - internal component.
*/
const ButtonGroupContext = React.createContext<IButtonGroupContext>({});
const ButtonGroupContext = React.createContext<ButtonGroupContextType>({});

if (process.env.NODE_ENV !== 'production') {
ButtonGroupContext.displayName = 'ButtonGroupContext';
Expand Down

0 comments on commit 5697536

Please sign in to comment.