Skip to content

Commit

Permalink
Merge pull request #197 from dima-safin-2025/main
Browse files Browse the repository at this point in the history
Enhance ActionButton Component and Fix Typo in README
  • Loading branch information
Dominik1999 authored Sep 23, 2024
2 parents 0aa6341 + e172bf9 commit 1797858
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ There are several examples in our repo and we hope we get more in the future. Th

- **Collatz**: A program which executes an unbounded loop to compute a Collatz sequence which starts with the provided value; the output of the program is the number of steps needed to reach 1 - the end of the sequence.

- **Fibonnacci**: Elegant way to calculate the 1001st fibonacci number.
- **Fibonacci**: Elegant way to calculate the 1001st fibonacci number.

- **nPrime**: Program to calculate the n-th prime number. It will return all prime numbers up to the n-th prime number which is on top of the stack.

Expand Down
2 changes: 2 additions & 0 deletions playground/src/components/ActionButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ type ActionButtonProps = {
* This component renders a button with the specified label and calls the specified function when clicked.
* @param label defines the text of the button
* @param onClick provides a function to be called when the button is clicked
* @param disabled specifies whether the button should be disabled and not clickable
* @param fixedWidth specifies whether the button should have a fixed width or grow to fill the available space
* @returns a button whose text is the specified label and which calls the specified function when clicked
*/
const ActionButton = ({
Expand Down

0 comments on commit 1797858

Please sign in to comment.