Skip to content

Commit

Permalink
Merge pull request #391 from AppQuality/develop
Browse files Browse the repository at this point in the history
Improved transcript + player
  • Loading branch information
marcbon authored Jun 11, 2024
2 parents c3f0c79 + b73c484 commit c45d349
Show file tree
Hide file tree
Showing 6 changed files with 434 additions and 452 deletions.
1 change: 0 additions & 1 deletion src/stories/highlight/_types.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export interface HighlightArgs {
isMonospace?: boolean;
/** Adjusts the font size. By default font size is medium */
size?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl";
handleSelection?: (part: { from: number; to: number; text: string }) => void;
search?: string;
onSelectionButtonClick?: (part: { from: number; to: number; text: string }) => void;
i18n?: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export const TDiarization = (
return (
<Highlight
{...args}
handleSelection={(part) => console.log("selected part:", part.text, part)}
>
{paragraphs.map((p, index) => (
<div style={{ marginBottom: "8px" }}>
Expand Down
Loading

0 comments on commit c45d349

Please sign in to comment.