skip to Main Content

Reactjs – Text in not getting truncated even after adding classname truncate in tailwind css

screen shot of how the text is looking. The code: <div className='flex flex-col'> {/* {details.name} */} sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss <span className='text-muted-foreground'> <p className='truncate max-w-full'> {/* {details.address} */} ssssssssssssssssssssssssssssssssssssssssssssssssss </p> </span> </div> Even after using truncate , text-clip, the text is not getting…

VIEW QUESTION

Javascript – Difference between bracket notation property access and Pick utility in TypeScript

I have an interface like below export type CameraProps = Omit<React.HTMLProps<HTMLVideoElement>, "ref"> & { audio?: boolean; audioConstraints?: MediaStreamConstraints["audio"]; mirrored?: boolean; screenshotFormat?: "image/webp" | "image/png" | "image/jpeg"; //between 0 & 1 screenshotQuality?: number; videoConstraints?: MediaStreamConstraints["video"]; fullScreenRecord?: boolean; screenshotDimensions?: ScreenshotDimensions; setImageSrc?: Dispatch<SetStateAction<string>>;…

VIEW QUESTION
Back To Top
Search