Sha256: 1ec8ac0849ab4d3a1e3f09e8ced75f743bdca7274d518ed2dbbfa49b5a68eec8

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

import React from 'react'

const noop = (): void => void 0

type DrawerContextType = {
  onClose: () => void
}

export const DrawerContext = React.createContext<DrawerContextType>({
  onClose: noop,
})

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY17445539 app/pb_kits/playbook/pb_drawer/context.ts