Home
last modified time | relevance | path

Searched refs:defaultProps (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/typescript/tests/baselines/reference/
DjsDeclarationsReactComponents.types10 … JSX.Element; propTypes: { version: PropTypes.Requireable<number>; }; defaultProps: { tabs: undefi…
11 … JSX.Element; propTypes: { version: PropTypes.Requireable<number>; }; defaultProps: { tabs: undefi…
27 … JSX.Element; propTypes: { version: PropTypes.Requireable<number>; }; defaultProps: { tabs: undefi…
39 TabbedShowLayout.defaultProps = {
40 >TabbedShowLayout.defaultProps = { tabs: undefined} : { tabs: undefined; }
41 >TabbedShowLayout.defaultProps : { tabs: undefined; }
42 … JSX.Element; propTypes: { version: PropTypes.Requireable<number>; }; defaultProps: { tabs: undefi…
43 >defaultProps : { tabs: undefined; }
53 … JSX.Element; propTypes: { version: PropTypes.Requireable<number>; }; defaultProps: { tabs: undefi…
64 …me="" key=""> ok </div> );} : { (): JSX.Element; defaultProps: Partial<{}> | …
[all …]
DexpandoFunctionContextualTypesJs.types6 * @typedef {{ (): any; defaultProps?: Partial<P> }} StatelessComponent */
13 >() => /* @type {any} */(null) : { (): any; defaultProps: Partial<MyComponentProps>; }
17 MyComponent.defaultProps = {
18 >MyComponent.defaultProps = { color: "red"} : { color: "red"; }
19 >MyComponent.defaultProps : Partial<MyComponentProps>
21 >defaultProps : Partial<MyComponentProps>
31 >MyComponent2 : { (): any; defaultProps: MyComponentProps; }
32 >() => null : { (): any; defaultProps: MyComponentProps; }
38 MyComponent2.defaultProps = {
39 >MyComponent2.defaultProps = { color: "red"} : { color: "red"; }
[all …]
DjsDeclarationsReactComponents.js20 TabbedShowLayout.defaultProps = {
39 TabbedShowLayout.defaultProps = {
58 TabbedShowLayout.defaultProps = {
74 TabbedShowLayout.defaultProps = {
91 Tree.defaultProps = {
113 TabbedShowLayout.defaultProps = {
130 TabbedShowLayout.defaultProps = {
147 TabbedShowLayout.defaultProps = {
161 TabbedShowLayout.defaultProps = {
180 Tree.defaultProps = {
[all …]
DjsDeclarationsReactComponents.symbols33 TabbedShowLayout.defaultProps = {
34 >TabbedShowLayout.defaultProps : Symbol(TabbedShowLayout.defaultProps, Decl(jsDeclarationsReactComp…
36 >defaultProps : Symbol(TabbedShowLayout.defaultProps, Decl(jsDeclarationsReactComponents1.jsx, 14, …
70 TabbedShowLayout.defaultProps = {
71 >TabbedShowLayout.defaultProps : Symbol(React.StatelessComponent.defaultProps, Decl(react16.d.ts, 4…
73 >defaultProps : Symbol(React.StatelessComponent.defaultProps, Decl(react16.d.ts, 410, 46))
88 * @type {{defaultProps: {tabs: string}} & ((props?: {elem: string}) => JSX.Element)}
106 TabbedShowLayout.defaultProps = {
107 >TabbedShowLayout.defaultProps : Symbol(defaultProps, Decl(jsDeclarationsReactComponents3.jsx, 2, 1…
109 >defaultProps : Symbol(defaultProps, Decl(jsDeclarationsReactComponents3.jsx, 2, 11))
[all …]
DjsxDeclarationsWithEsModuleInteropNoCrash.symbols20 const defaultProps = {
21 >defaultProps : Symbol(defaultProps, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 8, 5))
44 Foo.defaultProps = defaultProps;
45 >Foo.defaultProps : Symbol(Foo.defaultProps, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 16…
47 >defaultProps : Symbol(Foo.defaultProps, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 16, 26…
48 >defaultProps : Symbol(defaultProps, Decl(jsxDeclarationsWithEsModuleInteropNoCrash.jsx, 8, 5))
DexpandoFunctionContextualTypes.types9 defaultProps?: Partial<P>;
10 >defaultProps : Partial<P>
15 >() => null as any : { (): any; defaultProps: Partial<MyComponentProps>; }
19 MyComponent.defaultProps = {
20 >MyComponent.defaultProps = { color: "red"} : { color: "red"; }
21 >MyComponent.defaultProps : Partial<MyComponentProps>
23 >defaultProps : Partial<MyComponentProps>
DjsxDeclarationsWithEsModuleInteropNoCrash.types21 const defaultProps = {
22 >defaultProps : { bar: boolean; }
49 Foo.defaultProps = defaultProps;
50 >Foo.defaultProps = defaultProps : { bar: boolean; }
51 >Foo.defaultProps : { bar: boolean; }
53 >defaultProps : { bar: boolean; }
54 >defaultProps : { bar: boolean; }
DexpandoFunctionContextualTypes.symbols14 defaultProps?: Partial<P>;
15 >defaultProps : Symbol(StatelessComponent.defaultProps, Decl(expandoFunctionContextualTypes.ts, 5, …
25 MyComponent.defaultProps = {
26 >MyComponent.defaultProps : Symbol(StatelessComponent.defaultProps, Decl(expandoFunctionContextualT…
28 >defaultProps : Symbol(StatelessComponent.defaultProps, Decl(expandoFunctionContextualTypes.ts, 5, …
DexpandoFunctionContextualTypesJs.symbols6 * @typedef {{ (): any; defaultProps?: Partial<P> }} StatelessComponent */
14 MyComponent.defaultProps = {
15 >MyComponent.defaultProps : Symbol(defaultProps, Decl(input.js, 4, 23))
17 >defaultProps : Symbol(defaultProps, Decl(input.js, 4, 23))
30 MyComponent2.defaultProps = {
31 >MyComponent2.defaultProps : Symbol(MyComponent2.defaultProps, Decl(input.js, 15, 32))
33 >defaultProps : Symbol(MyComponent2.defaultProps, Decl(input.js, 15, 32))
DjsxDeclarationsWithEsModuleInteropNoCrash.js10 const defaultProps = { variable
19 Foo.defaultProps = defaultProps;
33 export { defaultProps };
38 declare namespace defaultProps {
DtsxStatelessComponentDefaultProps.symbols22 BackButton.defaultProps = {
23 >BackButton.defaultProps : Symbol(BackButton.defaultProps, Decl(tsxStatelessComponentDefaultProps.t…
25 >defaultProps : Symbol(BackButton.defaultProps, Decl(tsxStatelessComponentDefaultProps.tsx, 9, 1))
DtsxStatelessComponentDefaultProps.types20 BackButton.defaultProps = {
21 >BackButton.defaultProps = { text: 'Go Back',} : { text: string; }
22 >BackButton.defaultProps : { text: string; }
24 >defaultProps : { text: string; }
DtsxLibraryManagedAttributes.js35 TComponent extends { defaultProps: infer D; propTypes: infer P; }
37 : TComponent extends { defaultProps: infer D }
50 static defaultProps = { field in Component
75 static defaultProps = { field in JustDefaultProps
94 static defaultProps = { field in BothWithSpecifiedGeneric
117 static defaultProps = { field in JustDefaultPropsWithSpecifiedGeneric
155 Component.defaultProps = {
186 JustDefaultProps.defaultProps = {
204 BothWithSpecifiedGeneric.defaultProps = {
235 JustDefaultPropsWithSpecifiedGeneric.defaultProps = {
DexpandoFunctionContextualTypes.js8 defaultProps?: Partial<P>;
13 MyComponent.defaultProps = {
20 MyComponent.defaultProps = {
DreactDefaultPropsInferenceSuccess.js15 static defaultProps = { field in FieldFeedback
31 static defaultProps: BaseProps = {
51 static defaultProps = { field in FieldFeedback2
102 FieldFeedback.defaultProps = {
119 FieldFeedbackBeta.defaultProps = {
137 FieldFeedback2.defaultProps = {
DreactDefaultPropsInferenceSuccess.symbols33 static defaultProps = {
34 >defaultProps : Symbol(FieldFeedback.defaultProps, Decl(reactDefaultPropsInferenceSuccess.tsx, 12, …
79 static defaultProps: BaseProps = {
80 >defaultProps : Symbol(FieldFeedbackBeta.defaultProps, Decl(reactDefaultPropsInferenceSuccess.tsx, …
137 static defaultProps = {
138 >defaultProps : Symbol(FieldFeedback2.defaultProps, Decl(reactDefaultPropsInferenceSuccess.tsx, 48,…
DtsxStatelessComponentDefaultProps.js12 BackButton.defaultProps = {
29 BackButton.defaultProps = {
DtsxLibraryManagedAttributes.symbols134 TComponent extends { defaultProps: infer D; propTypes: infer P; }
136 >defaultProps : Symbol(defaultProps, Decl(tsxLibraryManagedAttributes.tsx, 33, 28))
148 : TComponent extends { defaultProps: infer D }
150 >defaultProps : Symbol(defaultProps, Decl(tsxLibraryManagedAttributes.tsx, 35, 34))
200 static defaultProps = {
201 >defaultProps : Symbol(Component.defaultProps, Decl(tsxLibraryManagedAttributes.tsx, 47, 6))
298 static defaultProps = {
299 >defaultProps : Symbol(JustDefaultProps.defaultProps, Decl(tsxLibraryManagedAttributes.tsx, 72, 47))
359 static defaultProps = {
360 >defaultProps : Symbol(BothWithSpecifiedGeneric.defaultProps, Decl(tsxLibraryManagedAttributes.tsx,…
[all …]
/third_party/typescript/tests/cases/conformance/jsdoc/declarations/
DjsDeclarationsReactComponents.ts27 TabbedShowLayout.defaultProps = {
46 TabbedShowLayout.defaultProps = {
65 TabbedShowLayout.defaultProps = {
81 TabbedShowLayout.defaultProps = {
98 Tree.defaultProps = {
/third_party/typescript/tests/cases/compiler/
DjsxDeclarationsWithEsModuleInteropNoCrash.tsx18 const defaultProps = {
27 Foo.defaultProps = defaultProps;
DexpandoFunctionContextualTypes.ts7 defaultProps?: Partial<P>; property
12 MyComponent.defaultProps = {
DexpandoFunctionContextualTypesJs.ts17 MyComponent.defaultProps = {
26 MyComponent2.defaultProps = {
DreactDefaultPropsInferenceSuccess.tsx17 static defaultProps = {
33 static defaultProps: BaseProps = {
53 static defaultProps = {
/third_party/skia/infra/bots/recipe_modules/build/examples/
Dfull.py87 defaultProps = lambda buildername: dict( function
100 api.properties(**defaultProps(buildername))
108 api.properties(**defaultProps('Build-Unix-GCC-x86_64-Release-Docker')) +
/third_party/typescript/tests/cases/conformance/jsx/
DtsxLibraryManagedAttributes.tsx37 TComponent extends { defaultProps: infer D; propTypes: infer P; }
39 : TComponent extends { defaultProps: infer D }
52 static defaultProps = {
77 static defaultProps = {
96 static defaultProps = {
119 static defaultProps = {

1234