Compactable enforces consistent use of the compact property across components.
import { DaffCompactableDirective } from '@daffodil/design'
Enforces consistent use of the compact property.
@Directive()
class DaffCompactableDirective {
@Input() compact: boolean = false
}
boolean| Default | false |
|---|---|
| Description | Whether the component is compact. |
import { DaffCompactable } from '@daffodil/design'
interface DaffCompactable {
compact: boolean
}