@useloops/design-system 1.4.396 → 1.4.397

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1948,17 +1948,19 @@ interface AuthContainerSurfaceProps extends SurfaceProps {
1948
1948
  declare const AuthContainerSurface: FunctionComponent<AuthContainerSurfaceProps>;
1949
1949
 
1950
1950
  interface CommentCardProps {
1951
- comment: string;
1952
- sentimentScore: number;
1953
- commentAuthor: string;
1951
+ comment: {
1952
+ original: string;
1953
+ translation?: string;
1954
+ sentimentScore: number;
1955
+ author: string;
1956
+ error?: boolean;
1957
+ };
1954
1958
  isStarred?: boolean;
1955
1959
  isActive?: boolean;
1956
- isTranslatable?: boolean;
1957
- translationStatus?: 'original' | 'translated' | 'error';
1960
+ moreMenuItems?: MenuProps['menuItems'];
1958
1961
  onFavouritePress?: () => void;
1959
1962
  onCopyPress?: () => void;
1960
1963
  onMorePress?: () => void;
1961
- onTranslatePress?: () => void;
1962
1964
  onClick?: () => void;
1963
1965
  }
1964
1966
  declare const CommentCard: FunctionComponent<CommentCardProps>;