File tree Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Expand file tree Collapse file tree 4 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ import { StepsStyles } from './styles' ;
2+ import { RdStepsComponent } from './types' ;
3+
4+ export const Steps : RdStepsComponent = props => {
5+ return < StepsStyles { ...props } /> ;
6+ } ;
Original file line number Diff line number Diff line change 1+ export * from './Steps' ;
2+ export * from './types' ;
Original file line number Diff line number Diff line change 1+ import styled from '@emotion/styled' ;
2+ import { Steps } from 'antd' ;
3+
4+ export const StepsStyles = styled ( Steps ) `` ;
Original file line number Diff line number Diff line change 1+ import { GetProps , Steps } from 'antd' ;
2+ import { ComponentToken as StepsComponentTokenAntd } from 'antd/es/collapse/style' ;
3+
4+ //#region Define Ant Design types
5+ type StepsPropsAntd = GetProps < typeof Steps > ;
6+
7+ //#endregion
8+
9+ //#region Define extended component tokens
10+ type StepsComponentTokenExtend = { } ;
11+ //#endregion
12+
13+ //#region Define extended types
14+ type StepsPropsExtend = { } ;
15+ //#endregion
16+
17+ //#region Export types
18+ export type RdStepsProps = StepsPropsAntd & StepsPropsExtend ;
19+
20+ export type RdStepsComponentToken = StepsComponentTokenAntd & StepsComponentTokenExtend ;
21+ //#endregion
22+
23+ //#region Define component types
24+ export type RdStepsComponent = React . FC < RdStepsProps > ;
25+ //#endregion
You can’t perform that action at this time.
0 commit comments