Skip to content

Mark argument of the hook as optional #62

@marlonmarcello

Description

@marlonmarcello

All parameters of the argument as optional so the argument itself should too so that users of the package don't have to pass an empty object.

export function useModal(props: UseModalOptions) {

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions