Skip to content

Commit 2b73a42

Browse files
committed
add ->for() ->type() for TypeColumn, allow Translation Component
1 parent 08d29fb commit 2b73a42

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ you can use type column in your table like this
6363
```php
6464
use TomatoPHP\FilamentTypes\Components\TypeColumn;
6565

66-
TypeColumn::make('type')->searchable(),
66+
TypeColumn::make('type')
67+
->for('users')
68+
->type('status')
69+
->searchable(),
6770
```
6871

6972
## Auto Caching

0 commit comments

Comments
 (0)