1
import * as React from 'react';
2 4
import { createHostComponent } from '@remax/shared';
3

4
export interface ContactButtonProps {
5
  readonly dataset?: DOMStringMap;
6
  tntInstId: string;
7
  scene: string;
8
  size?: string | number;
9
  color?: string;
10
  icon?: string;
11
  alipayCardNo?: string;
12
}
13

14 4
export const ContactButton: React.ComponentType<ContactButtonProps> = createHostComponent<ContactButtonProps>(
15
  'contact-button'
16
);

Read our documentation on viewing source code .

Loading