# In-line Required Component Values
It would be nice to be able to write
```rust
#[derive(Component)]
#[require(
FocusPolicy(FocusPolicy::Block)
)]
struct SomeComponent;
```
Instead of
```rust
#[derive(Component)]
#[require(
FocusPolicy(block_focus_policy)
)]
struct SomeComponent;
fn block_focus_policy() -> FocusPolicy {
FocusPolicy::Block
}
```