Allow passing props through to determine modal options
This commit is contained in:
parent
c28cba92e2
commit
e873c597bb
4 changed files with 39 additions and 26 deletions
|
@ -32,7 +32,7 @@ const ApiKeyModal = ({ apiKey }: Props) => {
|
|||
|
||||
ApiKeyModal.displayName = 'ApiKeyModal';
|
||||
|
||||
export default asModal({
|
||||
export default asModal<Props>({
|
||||
closeOnEscape: false,
|
||||
closeOnBackground: false,
|
||||
})(ApiKeyModal);
|
||||
|
|
Reference in a new issue