Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
better support for object parameters (#62)
If a SimpleModalComponent has defaults set on it, which are then partially overwritten, or added two, this alteration will allow this. Previously the object would be completely overwritten by the incoming parameters. Potentially worth extending further for deep copy, rather than one-level... eg. config: Partial<ModalParams> = { enableBackgroundClicks: true, confirmationButton: true, }; can now be partially overwridden, or extended by creators
- Loading branch information