Skip to content

2.1.0

Latest
Compare
Choose a tag to compare
@pl12133 pl12133 released this 09 Jan 19:02
· 296 commits to master since this release

Add registerTab enhancer:

import { registerTab } from '@zimbra-client/enhancers';

// register a type with a "type", "id", and "title"
// existing types include "message", "conversation", and "search". 

@registerTab((props) => ({
  type: 'myType',    // Based on "type" and "id" a unique tab will be created or existing tab will be used
  id: 'uniqueId',
  title: 'My Title'  // The title displayed by the tab
}))