Changeset View
Changeset View
Standalone View
Standalone View
landing/assets/matrix-logo.react.js
// @flow | // @flow | ||||
import * as React from 'react'; | import * as React from 'react'; | ||||
function MatrixLogo(): React.Node { | type Props = { | ||||
+size?: number, | |||||
}; | |||||
function MatrixLogo(props: Props): React.Node { | |||||
const { size } = props; | |||||
return ( | return ( | ||||
<svg | <svg | ||||
width="50" | width={size ?? 50} | ||||
height="50" | height={size ?? 50} | ||||
viewBox="0 0 50 50" | viewBox="0 0 50 50" | ||||
fill="none" | fill="none" | ||||
xmlns="http://www.w3.org/2000/svg" | xmlns="http://www.w3.org/2000/svg" | ||||
> | > | ||||
<g clipPath="url(#clip0_3611_40161)"> | <g clipPath="url(#clip0_3611_40161)"> | ||||
<path | <path | ||||
d="M42.894 45.3598V4.51161H39.9609V3.53125H44.0324V46.3884H39.9609V45.408L42.894 45.3598Z" | d="M42.894 45.3598V4.51161H39.9609V3.53125H44.0324V46.3884H39.9609V45.408L42.894 45.3598Z" | ||||
fill="white" | fill="white" | ||||
Show All 25 Lines |