Skip to content

Adds @unlessfeature blade directive#140

Closed
inmanturbo wants to merge 1 commit intolaravel:1.xfrom
inmanturbo:patch-2
Closed

Adds @unlessfeature blade directive#140
inmanturbo wants to merge 1 commit intolaravel:1.xfrom
inmanturbo:patch-2

Conversation

@inmanturbo
Copy link

This adds @unlessfeature blade directive, which is exactly the inverse of @feature

... boolean

@unlessfeature('airline')
    <livewire:airlines.no-active-airline-callout />
@endunlessfeature

... value

@unlessfeature('airline', 'delta')
    <livewire:airlines.consider-delta-airline-callout />
@endunlessfeature

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@inmanturbo inmanturbo marked this pull request as ready for review April 26, 2025 01:26
@inmanturbo inmanturbo marked this pull request as draft April 26, 2025 03:17
@inmanturbo inmanturbo closed this Apr 29, 2025
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.

1 participant