Skip to content

Commit

Permalink
🏷️ Fix too strict Fill props type of children
Browse files Browse the repository at this point in the history
  • Loading branch information
exah committed Nov 21, 2020
1 parent 4f23a7a commit f3918ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export function Slot(props: SlotProps) {
return <>{state === undefined ? props.children : state}</>
}

export interface FillProps extends Required<SlotProps> {}
export interface FillProps extends SlotProps {}

export function Fill(props: FillProps) {
const emitter = useSlotsContext()
Expand Down

0 comments on commit f3918ce

Please sign in to comment.