Implement isHidden
This commit is contained in:
parent
9f58203c86
commit
c0a7a26874
2 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,7 @@ function HandleDragStart(event: React.DragEvent<HTMLButtonElement>): void {
|
|||
|
||||
export function Sidebar(props: ISidebarProps): JSX.Element {
|
||||
const listElements = props.componentOptions.map(componentOption =>
|
||||
componentOption.IsHidden !== true &&
|
||||
<button type="button"
|
||||
className='justify-center transition-all sidebar-component'
|
||||
key={componentOption.Type}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue