Skip to content

Conversation

@yajra
Copy link
Owner

@yajra yajra commented Aug 31, 2024

Usage

        Button::macro('icon', function (string $icon) {
            /** @var Button $this */
            $this->text("<i class='{$icon}'></i><span>".$this->get('text')."</span>");

            return $this;
        });
            CreateButton::makeIfCan('manage-members')
                ->text('Register Member')
                ->icon('ki-outline ki-plus')
                ->formTitle('Register Member')
                ->editor('registration'),

@sonarqubecloud
Copy link

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.

3 participants