Skip to content

Commit

Permalink
fix: extend HTMLAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaugh authored Sep 5, 2021
1 parent f69005a commit e18c3a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/react-split/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import { Options } from 'split.js'

export interface SplitProps {
export interface SplitProps extends React.HTMLAttributes<HTMLDivElement> {
sizes?: Options["sizes"]
minSize?: Options["minSize"]
maxSize?: Options["maxSize"]
Expand All @@ -19,7 +19,6 @@ export interface SplitProps {
onDragStart?: Options["onDragStart"]
onDragEnd?: Options["onDragEnd"]
collapsed?: Number
className?: string
}

declare class Split extends React.Component<SplitProps, any> {}
Expand Down

0 comments on commit e18c3a0

Please sign in to comment.