message: Commented the prop typings
diff: @@ -19,10 +19,25 @@ declare module 'navigation' {
  * Defines the Shared Element Props contract
  */
  export interface SharedElementProps {
  + /**
  + * The Shared Element identifier
  + */
  name: string;
  + /**
  + * The Shared Element data
  + */
  data?: any;
  + /**
  + * Indicates whether to disable the sharing
  + */
  unshare?: boolean;
  + /**
  + * The State Navigator
  + */
  stateNavigator?: StateNavigator;
  + /**
  + * The HTML Element to share
  + */
  children: ReactElement<any>;
  }
  @@ -30,8 +45,17 @@ export interface SharedElementProps {
  * Holds Shared Elements and their data
  */
  export interface SharedItem {
  + /**
  + * The Shared Element identifier
  + */
  name: string;
  + /**
  + * The from HTML Element and data
  + */
  oldElement: {ref: HTMLElement; data: any};
  + /**
  + * The to HTML Element and data
  + */
  mountedElement: {ref: HTMLElement; data: any};
  }
  @@ -39,8 +63,17 @@ export interface SharedItem {
  * Defines the Shared Element Navigation Motion Props contract
  */
  export interface SharedElementNavigationMotionProps {
  + /**
  + * The Shared Elements
  + */
  sharedElements: SharedItem[];
  + /**
  + * The animation's initial progress
  + */
  progress: number;
  + /**
  + * The animation duration
  + */
  duration: number;
  }
  @@ -48,9 +81,21 @@ export interface SharedElementNavigationMotionProps {
  * Defines the Shared Element Motion Props contract
  */
  export interface SharedElementMotionProps {
  - onAnimated?: (name: string, ref: HTMLElement, data: any) => void;
  + /**
  + * Styles the HTML Element when the sharing begins
  + */
  onAnimating?: (name: string, ref: HTMLElement, data: any) => void;
  + /**
  + * Styles the HTML Element when the sharing ends
  + */
  + onAnimated?: (name: string, ref: HTMLElement, data: any) => void;
  + /**
  + * Turns the Shared Element data into styles
  + */
  elementStyle?: (name: string, ref: HTMLElement, data: any) => any;
  + /**
  + * Renders the Shared Element with the interpoated styles
  + */
  children: (style: any, name: string, oldElementData: any, mountedElementData: any) => ReactElement<any>;
  }
  @@ -58,12 +103,33 @@ export interface SharedElementMotionProps {
  * Defines the Navigation Motion Props contract
  */
  export interface NavigationMotionProps {
  + /**
  + * A Scene's unmounted style
  + */
  unmountedStyle?: any;
  + /**
  + * A Scene's mounted style
  + */
  mountedStyle?: any;
  + /**
  + * A Scene's crumb trail style
  + */
  crumbStyle?: any;
  + /**
  + * The animation duration
  + */
  duration?: number;
  + /**
  + * The Shared Element Motion component
  + */
  sharedElementMotion?: (props: SharedElementNavigationMotionProps) => ReactElement<SharedElementMotion>;
  + /**
  + * The State Navigator
  + */
  stateNavigator?: StateNavigator;
  + /**
  + * Renders the Scene with the interpoated styles
  + */
  children: (style: any, scene: ReactElement<any>, key: number, active: boolean, state: State, data: any) => ReactElement<any>;
  }
  