You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
469 B
21 lines
469 B
<?php
|
|
|
|
return [
|
|
'props' => [
|
|
/**
|
|
* Changes the layout of the selected entries.
|
|
* Available layouts: `list`, `cardlets`, `cards`
|
|
*/
|
|
'layout' => function (string $layout = 'list') {
|
|
$layouts = ['list', 'cardlets', 'cards'];
|
|
return in_array($layout, $layouts) ? $layout : 'list';
|
|
},
|
|
|
|
/**
|
|
* Layout size for cards: `tiny`, `small`, `medium`, `large`, `huge`, `full`
|
|
*/
|
|
'size' => function (string $size = 'auto') {
|
|
return $size;
|
|
},
|
|
]
|
|
];
|
|
|