We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2279b73 commit bf1eef4Copy full SHA for bf1eef4
src/Illuminate/Pagination/AbstractPaginator.php
@@ -552,6 +552,17 @@ public static function defaultSimpleView($view)
552
static::$defaultSimpleView = $view;
553
}
554
555
+ /**
556
+ * Indicate that Tailwind styling should be used for generated links.
557
+ *
558
+ * @return void
559
+ */
560
+ public static function useTailwind()
561
+ {
562
+ static::defaultView('pagination::tailwind');
563
+ static::defaultSimpleView('pagination::simple-tailwind');
564
+ }
565
+
566
/**
567
* Indicate that Bootstrap 3 styling should be used for generated links.
568
*
0 commit comments