(componentId: IComponent['id'])
| 22 | state.components.present.selectedId |
| 23 | |
| 24 | export const getIsSelectedComponent = (componentId: IComponent['id']) => ( |
| 25 | state: RootState, |
| 26 | ) => state.components.present.selectedId === componentId |
| 27 | |
| 28 | export const getSelectedComponentChildren = (state: RootState) => { |
| 29 | return getSelectedComponent(state).children.map(child => |