ban interface usage for component props and state
Summary: another eslint rule for flipper codebase Reviewed By: passy Differential Revision: D33917213 fbshipit-source-id: e60b867d359ef5b94a481edf0eda318ecff17eee
This commit is contained in:
committed by
Facebook GitHub Bot
parent
59b11c5f12
commit
f2abbf63db
@@ -213,12 +213,12 @@ export const DataList: (<T extends object>(
|
||||
enableArrow: true,
|
||||
};
|
||||
|
||||
interface DataListItemProps {
|
||||
type DataListItemProps = {
|
||||
// TODO: add icon support
|
||||
title?: string | React.ReactElement;
|
||||
description?: string | React.ReactElement;
|
||||
enableArrow?: boolean;
|
||||
}
|
||||
};
|
||||
|
||||
const ArrowWrapper = styled.div({
|
||||
flex: 0,
|
||||
|
||||
Reference in New Issue
Block a user