Add panel size constraints and size properties to board types.
- Add MIN_ROW_HEIGHT, MAX_ROW_HEIGHT, MIN_COLUMN_WIDTH, BUTTON_ROW_HEIGHT constants - Apply minSize/maxSize constraints to row and column panels - Add size property to BoardColumn and BoardRow types for future persistence - Add optional chaining for safer property access Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
30c3ba77cc
commit
30e48e3aaa
2 files changed
+14
-9
No files matched your search
@@ -153,11 +153,13 @@ export interface BoardComponent {
|
||||
export interface BoardColumn {
|
||||
id: string;
|
||||
component?: ReactElement;
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export interface BoardRow {
|
||||
id: string;
|
||||
columns: BoardColumn[];
|
||||
size?: number;
|
||||
}
|
||||
|
||||
export interface BoardParameters {
|
||||
|
||||
Reference in new issue
Block a user