mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 20:56:49 +08:00
Fabric: Enabling clang-format for half of Fabric modules
Summary: All code styles are terribly ugly. We have the only choise - choise something and embrace it. This particular code style was borrowed from a neibour Fabric-friendly project because it follows established Facebook guides and respects client-side traditions. Reviewed By: mdvacca Differential Revision: D10218598 fbshipit-source-id: 8c4cf6713c07768566dadef479191661c79988f0
This commit is contained in:
committed by
Facebook Github Bot
parent
3d31bebbeb
commit
3ad5c9e016
@@ -20,21 +20,18 @@ class RootProps;
|
||||
|
||||
using SharedRootProps = std::shared_ptr<const RootProps>;
|
||||
|
||||
class RootProps final:
|
||||
public ViewProps {
|
||||
|
||||
public:
|
||||
class RootProps final : public ViewProps {
|
||||
public:
|
||||
RootProps() = default;
|
||||
RootProps(
|
||||
const RootProps &sourceProps,
|
||||
const LayoutConstraints &layoutConstraints,
|
||||
const LayoutContext &layoutContext
|
||||
);
|
||||
const RootProps &sourceProps,
|
||||
const LayoutConstraints &layoutConstraints,
|
||||
const LayoutContext &layoutContext);
|
||||
|
||||
#pragma mark - Props
|
||||
|
||||
const LayoutConstraints layoutConstraints {};
|
||||
const LayoutContext layoutContext {};
|
||||
const LayoutConstraints layoutConstraints{};
|
||||
const LayoutContext layoutContext{};
|
||||
};
|
||||
|
||||
} // namespace react
|
||||
|
||||
Reference in New Issue
Block a user