Skip to content

Version 4.3.0

Compare
Choose a tag to compare
@bluebill1049 bluebill1049 released this 08 Dec 11:20
· 5 commits to master since this release
  • allow styles overwrite
export interface DevtoolUIProps {
  control: Control<any>;
  placement?: PLACEMENT;
  /** Custom styles for the "show/hide panel" button and for the panel div */
  styles?: {
    /** Custom styles for the "show/hide panel" button */
    button?: React.HTMLAttributes<HTMLButtonElement>['style'];
    /** Custom styles for the panel div */
    panel?: React.HTMLAttributes<HTMLDivElement>['style'];
  };
}

thanks to @cvolant