Skip to content

Commit 7260286

Browse files
committed
Add license headers for new files added.
1 parent 4d9bb72 commit 7260286

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed

examples/scroll-into-view/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import React from 'react';
28
import {render} from '../../src/index.js';
39
import ScrollIntoView from './scroll-into-view.js';

examples/scroll-into-view/scroll-into-view.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import React, {
28
useState,
39
useLayoutEffect,

examples/scroll/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import React from 'react';
28
import {render} from '../../src/index.js';
39
import ScrollableContent from './scroll.js';

examples/scroll/scroll.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import process from 'node:process';
28
import React, {useState, useRef, useEffect, useLayoutEffect} from 'react';
39
import {

src/scroll.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import Yoga from 'yoga-layout';
28
import {type DOMElement} from './dom.js';
39
import {getScrollHeight, getScrollWidth} from './measure-element.js';

test/scroll.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
import EventEmitter from 'node:events';
28
import React, {useState} from 'react';
39
import test from 'ava';

0 commit comments

Comments
 (0)