import { createElement, forwardRef, HTMLAttributes, RefForwardingComponent, useContext } from 'rax'; import View from 'rax-view'; import Context from './context'; export interface FormFooterProps extends HTMLAttributes { } const FormFooter: RefForwardingComponent = (props, ref) => { const { children, style, ...others } = props; const { styles } = useContext(Context); return ( {children} ); }; export default forwardRef(FormFooter);