Latest repo

This commit is contained in:
Marc
2025-06-02 16:42:16 +00:00
parent 53ddf1a329
commit cde5fae175
27907 changed files with 3875388 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import { customRender } from 'test/render';
import { IconRight } from './IconRight';
let root: HTMLElement;
beforeEach(() => {
const view = customRender(
<IconRight className="foo" style={{ color: 'red' }} />
);
root = view.container.firstChild as HTMLElement;
});
test('should add the class name', () => {
expect(root).toHaveClass('foo');
});
test('should apply the style', () => {
expect(root).toHaveStyle({ color: 'red' });
});

View File

@@ -0,0 +1,15 @@
import { StyledComponent } from 'types/Styles';
/**
* Render the "next month" button in the navigation.
*/
export function IconRight(props: StyledComponent): JSX.Element {
return (
<svg width="16px" height="16px" viewBox="0 0 120 120" {...props}>
<path
d="M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z"
fill="currentColor"
></path>
</svg>
);
}

View File

@@ -0,0 +1 @@
export * from './IconRight';