-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(images) allow bulk select/delete images in a project #618
Signed-off-by: David Edler <[email protected]>
- Loading branch information
Showing
24 changed files
with
466 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import React, { FC, PropsWithChildren } from "react"; | ||
|
||
const Left: FC<PropsWithChildren> = ({ children }) => { | ||
return <div className="page-header__left">{children}</div>; | ||
}; | ||
|
||
const Title: FC<PropsWithChildren> = ({ children }) => { | ||
return <h1 className="p-heading--4 u-no-margin--bottom">{children}</h1>; | ||
}; | ||
|
||
const Search: FC<PropsWithChildren> = ({ children }) => { | ||
return ( | ||
<div className="page-header__search margin-right u-no-margin--bottom"> | ||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
const BaseActions: FC<PropsWithChildren> = ({ children }) => { | ||
return <div className="page-header__base-actions">{children}</div>; | ||
}; | ||
|
||
const Header: FC<PropsWithChildren> = ({ children }) => { | ||
return <div className="p-panel__header page-header">{children}</div>; | ||
}; | ||
|
||
type PageHeaderComponents = FC<PropsWithChildren> & { | ||
Left: FC<PropsWithChildren>; | ||
Title: FC<PropsWithChildren>; | ||
Search: FC<PropsWithChildren>; | ||
BaseActions: FC<PropsWithChildren>; | ||
}; | ||
|
||
const PageHeader = Header as PageHeaderComponents; | ||
PageHeader.Left = Left; | ||
PageHeader.Title = Title; | ||
PageHeader.Search = Search; | ||
PageHeader.BaseActions = BaseActions; | ||
|
||
export default PageHeader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.