mirror of
https://github.com/maputnik/editor.git
synced 2026-01-24 06:10:02 +00:00
In this PR I have changed some of the jsx files to tsx file. I'm starting off with the "leafs" so that migration of the rest will be easier, hopefully. What I'm basically doing is taking a jsx file, copy paste it into: https://mskelton.dev/ratchet And after that I'm fixing the types as needed. It's not a very long process. Hopefully more PRs will follow and this will be over soon. I don't plan to migrate the storybook as I generally don't understand why is it useful, I'll open an issue to see if anyone thinks differently.
16 lines
686 B
TypeScript
16 lines
686 B
TypeScript
import React from 'react'
|
|
import IconBase from 'react-icon-base'
|
|
|
|
|
|
export default class IconFill extends React.Component {
|
|
render() {
|
|
return (
|
|
<IconBase viewBox="0 0 20 20" {...this.props}>
|
|
<path d="M 2.84978,9.763512 9.462149,4.7316391 16.47225,9.478015 9.859886,14.509879 2.84978,9.763512 m -1.028761,0.492069 7.414535,5.020197 c 0.372277,0.25206 0.958697,0.239771 1.30985,-0.02745 L 17.539255,9.926162 C 17.89041,9.658941 17.873288,9.238006 17.501015,8.985946 L 10.08648,3.9657402 C 9.714204,3.7136802 9.127782,3.7259703 8.776627,3.9931918 L 1.782775,9.315365 c -0.3511551,0.267221 -0.3340331,0.688156 0.03824,0.940216 l 0,0 z" />
|
|
</IconBase>
|
|
)
|
|
}
|
|
}
|
|
|
|
|