Skip to content

Commit

Permalink
Update BorderRadiusControl README with correct prop requirements and …
Browse files Browse the repository at this point in the history
…defaults
  • Loading branch information
Sukhendu2002 committed Dec 16, 2024
1 parent f842b6f commit cc88c00
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ The component accepts the following props:

An object containing the border radius values for each corner.

- Type: `Object`
- Required: No
- **Type:** `Object`
- **Required:** No
- **Default:** `{ topLeft: undefined, topRight: undefined, bottomLeft: undefined, bottomRight: undefined }`

The values object has the following schema:

Expand All @@ -58,8 +59,9 @@ Each value should be a valid CSS border radius value (e.g., '10px', '1em').

Callback function that is called when any border radius value changes.

- Type: `Function`
- Required: Yes
- **Type:** `Function`
- **Required:** Yes
- **Default:** `() => {}`

The function receives the updated values object as its argument.

Expand Down

0 comments on commit cc88c00

Please sign in to comment.