props.ts 515 B

1234567891011121314151617181920212223
  1. import type { PassThroughProps } from "../../types";
  2. import type { ClIconProps } from "../cl-icon/props";
  3. export type ClTopbarPassThrough = {
  4. className?: 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. backable?: boolean;
  16. backPath?: string;
  17. backIcon?: string;
  18. safeAreaTop?: boolean;
  19. fixed?: boolean;
  20. height?: number | string | any;
  21. };