Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support to pass any extraAttributes #14

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

atmonshi
Copy link
Contributor

now we can add custom classes like

ActivitySection::make('activities')
    ->extraAttributes(['class'=>'my-new-class'])

this useful if I am overwriting the default classes and using the component in multiple area of my app

@199ocero 199ocero self-requested a review January 20, 2024 12:44
@199ocero 199ocero added the enhancement New feature or request label Jan 20, 2024
@199ocero 199ocero self-assigned this Jan 20, 2024
@199ocero 199ocero merged commit 14a3641 into 199ocero:main Jan 20, 2024
@atmonshi atmonshi deleted the support-section-extra-attributes branch January 20, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants