import * as React from 'react'; import Hitu, { Shape } from '@ant-design/hitu'; import InteractiveIcon from './InteractiveIcon'; const CenterLeaf = () => ( ); CenterLeaf.width = 40; CenterLeaf.height = 52; const LeftLeaf = () => ( ); LeftLeaf.width = 38; LeftLeaf.height = 38; const RightLeaf = () => ( ); RightLeaf.width = 38; RightLeaf.height = 38; const shapes: Shape[] = [ { type: 'shape', source: CenterLeaf, frames: [ { frame: 0, originY: 1, x: 60, y: 62, rotate: 0 }, { frame: 20, rotate: -7 }, { frame: 40, rotate: 9 }, { frame: 60, rotate: -7 }, { frame: 80, rotate: 0 }, ], }, { type: 'shape', source: LeftLeaf, frames: [ { frame: 0, originX: 1, originY: 1, x: 56, y: 96, cubic: Hitu.CUBIC_EASE_IN_OUT, }, { frame: 20, rotate: 7, cubic: Hitu.CUBIC_EASE_IN_OUT, }, { frame: 40, rotate: -5, cubic: Hitu.CUBIC_EASE_IN_OUT, }, { frame: 60, rotate: 7, }, { frame: 80, rotate: 0, }, ], }, { type: 'shape', source: RightLeaf, frames: [ { frame: 0, originX: 0, originY: 1, x: 64, y: 96, }, { frame: 20, rotate: -5, cubic: Hitu.CUBIC_EASE_IN_OUT, }, { frame: 40, rotate: 7, cubic: Hitu.CUBIC_EASE_IN_OUT, }, { frame: 60, rotate: -5, }, { frame: 80, rotate: 0, }, ], }, ]; export default function Natural() { return ; }