This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useState, useEffect } from "react" | |
import { ChevronLeft, ChevronRight } from "react-feather" | |
export default function Carousel({ | |
children: slides, | |
autoSlide = false, | |
autoSlideInterval = 3000, | |
}) { | |
const [curr, setCurr] = useState(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
for this quest open your terminal. and write this on the current file : | |
npm init | |
npm install -g cowsay | |
after that create a file .js and put the code below and enjoy | |
*/ | |
const cowSay = require('cowsay') | |
console.log(cowSay.say({text : 'hello boy' })) |