Build main layout
Summary: This diff introduces the. main sections and restyled resizable panes according to the Figma design Reviewed By: cekkaewnumchai Differential Revision: D23758349 fbshipit-source-id: 7f09574f6b5fb54551141c13667c664e1769f09a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0100224833
commit
95638af321
@@ -144,10 +144,14 @@ function compileRegex(s: string): RegExp | null {
|
||||
}
|
||||
}
|
||||
|
||||
const Searchable = (
|
||||
/**
|
||||
* Higher-order-component that allows adding a searchbar on top of the wrapped
|
||||
* component. See SearchableManagedTable for usage with a table.
|
||||
*/
|
||||
export default function Searchable(
|
||||
Component: React.ComponentType<any>,
|
||||
): React.ComponentType<any> =>
|
||||
class extends PureComponent<Props, State> {
|
||||
): React.ComponentType<any> {
|
||||
return class extends PureComponent<Props, State> {
|
||||
static displayName = `Searchable(${Component.displayName})`;
|
||||
|
||||
static defaultProps = {
|
||||
@@ -544,9 +548,4 @@ const Searchable = (
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Higher-order-component that allows adding a searchbar on top of the wrapped
|
||||
* component. See SearchableManagedTable for usage with a table.
|
||||
*/
|
||||
export default Searchable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user