Files
ant-design/components/steps/context.ts
二货爱吃白萝卜 794b516e9c feat: Timeline support semantic structure (#53990)
* chore: init

* chore: fix progress margin

* chore: adjust style

* chore: back of style

* chore: component token

* docs: update doc

* chore: more warning

* docs: update doc

* chore: semantic style

* chore: all the style

* chore: fix style

* docs: add semantic usage demo

* docs: items semantic

* docs: stepsitems semantic

* chore: fix lint

* chore: fix lint

* test: fix timeline test case

* test: update snapshot

* test: update snapshot

* chore: fix style

* chore: adjust nest style

* chore: adjust label style

* test: coverage

* chore: update to fix comments

* docs: update doc

* chore: fix comment

* chore: adjust style

* docs: update doc

* test: update test

* chore: fix conflict

* chore: bump cssinjs version

* chore: rm override

* chore: clean up

---------

Co-authored-by: thinkasany <480968828@qq.com>
2025-06-09 13:03:39 +08:00

12 lines
308 B
TypeScript

import * as React from 'react';
export interface InternalContextProps {
rootComponent: string;
itemComponent: string;
}
/**
* When use this context. Will trade as sub component instead of root Steps component.
*/
export const InternalContext = React.createContext<InternalContextProps | null>(null);