Skip to content

Commit 81ea9cb

Browse files
authored
Update README.md
1 parent 7625fb7 commit 81ea9cb

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -54,33 +54,33 @@ MML React components could be divided in four categories:
5454

5555
> Always host other components, can be themable
5656
57-
- [`Card`](/components/card)
58-
- [`CardHeader`](/components/card-header)
59-
- [`CardBody`](/components/card-body)
57+
- [`Card`](src/components/Card.mdx)
58+
- [`CardHeader`](src/components/CardHeader.mdx)
59+
- [`CardBody`](src/components/CardBody.mdx)
6060

6161
### Core Components
6262

6363
> Basic components that can be composed and themed
6464
65-
- [`Text`](/components/text): a block of text
66-
- [`Button`](/components/button): a simple button
67-
- [`Image`](/components/image): a simple responsive image
68-
- [`Input`](/components/input): an input field
69-
- [`MD`](/components/md): renders markdown
70-
- [`Icon`](/components/icon): simply displays an icon from material design icons
71-
- [`Loading`](/components/loading): signals a _loading_ temporary state with a circular spinner
72-
- [`Error`](/components/error): display an _error_ message
73-
- [`Success`](/components/success): display a _success_ message
65+
- [`Text`](src/components/Text.mdx): a block of text
66+
- [`Button`](src/components/Button.mdx): a simple button
67+
- [`Image`](src/components/Image.mdx): a simple responsive image
68+
- [`Input`](src/components/Input.mdx): an input field
69+
- [`MD`](src/components/MD.mdx): renders markdown
70+
- [`Icon`](src/components/Icon.mdx): simply displays an icon from material design icons
71+
- [`Loading`](src/components/Loading.mdx): signals a _loading_ temporary state with a circular spinner
72+
- [`Error`](src/components/Error.mdx): display an _error_ message
73+
- [`Success`](src/components/Success.mdx): display a _success_ message
7474

7575
### Structured Components
7676

7777
> More complex components composed of other components, certainly themable
7878
79-
- [`AddToCalendar`](/components/add-to-calendar): wrapped in a [`Card`](/components/card)
80-
- [`Scheduler`](/components/scheduler): wrapped in a [`Card`](/components/card)
81-
- [`ButtonList`](/components/button-list): a list of [`Button`](/components/button)
82-
- [`Carousel`](/components/carousel): a series of [`CarouselItem`](/components/carousel-item) typically containing [`Image`](/components/image), [`Text`](/components/text) and [`Button`](/components/button)
83-
- [`Number`](/components/number): input spinner composed of two [`Button`](/components/button) and a counter
79+
- [`AddToCalendar`](src/components/AddToCalendar.mdx): wrapped in a [`Card`](src/components/Card.mdx)
80+
- [`Scheduler`](src/components/Scheduler.mdx): wrapped in a [`Card`](src/components/Card.mdx)
81+
- [`ButtonList`](src/components/ButtonList.mdx): a list of [`Button`](src/components/Button.mdx)
82+
- [`Carousel`](src/components/Carousel.mdx): a series of [`CarouselItem`](src/components/CarouselItem.mdx) typically containing [`Image`](src/components/Image.mdx), [`Text`](src/components/Text.mdx) and [`Button`](src/components/Button.mdx)
83+
- [`Number`](src/components/Number.mdx): input spinner composed of two [`Button`](src/components/Button.mdx) and a counter
8484

8585
## Styles customization
8686

@@ -162,7 +162,7 @@ MML attachments always have two wrapping elements with the following two classes
162162
The class `.mml-container` is responsible for some very basic styling that other components inherit, like `border-box` and `font-family`.
163163
The class `.mml-wrap` instead takes care of contextual styling, like `border-radius` and `margin`s, that are most likely dependent on the differentiation between _me_ and _other_ messages [seen above](#differentiations-between-mine-and-others-messages).
164164

165-
Inside `mml-wrap` you could have as immediate children either the components as they are or the components automatically wrapped in a `<div class="mml-card">...</div>` when `<mml type="card">` is used (see the [`MML` docs](/mml#with-card-type)). Note that the `mml-card` class (and its `Card` React component) is also used internally in various components like [`Scheduler`](/components/scheduler) and [`AddToCalendar`](/components/add-to-calendar).
165+
Inside `mml-wrap` you could have as immediate children either the components as they are or the components automatically wrapped in a `<div class="mml-card">...</div>` when `<mml type="card">` is used (see the [`MML` docs](src/mml/MML.mdx#with-card-type)). Note that the `mml-card` class (and its `Card` React component) is also used internally in various components like [`Scheduler`](src/components/Scheduler.mdx) and [`AddToCalendar`](src/components/AddToCalendar.mdx).
166166

167167
## Development & Contributions
168168

0 commit comments

Comments
 (0)