props.ts 495 B

12345678910111213141516171819202122
  1. import type { PassThroughProps } from "../../types";
  2. import type { ClIconProps } from "../cl-icon/props";
  3. export type ClTopbarPassThrough = {
  4. classNames?: string;
  5. title?: PassThroughProps;
  6. back?: ClIconProps;
  7. };
  8. export type ClTopbarProps = {
  9. className?: string;
  10. pt?: ClTopbarPassThrough;
  11. title?: string;
  12. color?: string;
  13. backgroundColor?: string;
  14. showBack?: boolean;
  15. backPath?: string;
  16. backIcon?: string;
  17. safeAreaTop?: boolean;
  18. fixed?: boolean;
  19. height?: number | string | any;
  20. };