Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@OrangeJuiced
Copy link
Contributor

#7 added support for the customization of the options and descriptions. This PR extends that work by adding support for customization of the parent card element.

An example use case for this additional customization of the cards is to customize the rounding, ring width, etc.

A new trait named 'HasExtraCardAttributes' has been added for the RadioDeck component. This trait allows for the addition of extra attributes to a card element using an array or a closure. Changes have also been made in the radio-deck.blade.php to utilize these extra card attributes.
The trait and associated methods 'HasExtraCardAttributes' have been renamed to 'HasExtraCardsAttributes' to better reflect their purpose. This naming change is propagated throughout the codebase, including the 'RadioDeck' component and the 'radio-deck.blade.php' view file.
@199ocero
Copy link
Owner

Hey @OrangeJuiced nice work and I'll gladly accept this PR but before I merge it could you also add in the read me how this pr will be use so that new users will know this feature is existing. Thank you!

The README.md has been updated to include the use of the 'extraCardsAttributes' property in the instructions for users. This property allows users to add extra class attributes to the card HTML element in the customizable radio deck implementation using TailwindCSS utilities.
@OrangeJuiced
Copy link
Contributor Author

Done! @199ocero :)

@199ocero 199ocero merged commit 86f7adb into 199ocero:main Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants