Skip to content

Commit

Permalink
fix: change context types
Browse files Browse the repository at this point in the history
  • Loading branch information
im36-123 committed Nov 8, 2019
1 parent c65fa1f commit 74edb9a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/AccordionPanel/AccordionPanelItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ type Props = {
className?: string
}

type ContextType = Omit<Props, 'children'>

export const AccordionPanelItemContext = React.createContext<ContextType>({
export const AccordionPanelItemContext = React.createContext<{ name: string }>({
name: '',
})

Expand Down

0 comments on commit 74edb9a

Please sign in to comment.